diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath new file mode 100644 index 00000000..89b4f8c0 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.project b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.project new file mode 100644 index 00000000..95c939d7 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.project @@ -0,0 +1,48 @@ + + + schedulatore-portos-pratiche-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.apache.ivyde.eclipse.ivynature + org.eclipse.wst.jsdt.core.jsNature + + + + 1683013922482 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.tern-project b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.tern-project new file mode 100644 index 00000000..a185ba0d --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.tern-project @@ -0,0 +1 @@ +{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/build.xml new file mode 100644 index 00000000..0696ac47 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/build.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/META-INF/MANIFEST.MF b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/META-INF/MANIFEST.MF new file mode 100644 index 00000000..254272e1 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/.gitignore b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/.gitignore new file mode 100644 index 00000000..840e7d31 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/.gitignore @@ -0,0 +1 @@ +/classes/ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/commons-logging.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/commons-logging.jar new file mode 100644 index 00000000..8758a96b Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/commons-logging.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-api.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-api.jar new file mode 100644 index 00000000..80a5737f Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-api.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-impl.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-impl.jar new file mode 100644 index 00000000..e5a9342f Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-impl.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/log4j.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/log4j.jar new file mode 100644 index 00000000..068867eb Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/log4j.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-bridges.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-bridges.jar new file mode 100644 index 00000000..7d7435fe Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-bridges.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-taglib.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-taglib.jar new file mode 100644 index 00000000..6d182ade Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-taglib.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-display.xml new file mode 100644 index 00000000..8996aa5a --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-display.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-plugin-package.properties new file mode 100644 index 00000000..6ff39069 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-plugin-package.properties @@ -0,0 +1,15 @@ +name=Schedulatore Portos Pratiche +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=\ + jstl-api.jar,\ + jstl-impl.jar + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-portlet.xml new file mode 100644 index 00000000..d41a98de --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-portlet.xml @@ -0,0 +1,48 @@ + + + + + + + schedulatore-portos-pratiche + /icon.png + + dati pratiche + integratore.IntegratoreSchedulato + + + 30 + second + + + + /css/main.css + /js/main.js + schedulatore-portos-pratiche-portlet + + + pratica + /icon.png + /css/main.css + + /js/main.js + + pratica-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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/portlet.xml new file mode 100644 index 00000000..f2567bda --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/portlet.xml @@ -0,0 +1,65 @@ + + + + + schedulatore-portos-pratiche + Schedulatore Portos Pratiche + com.liferay.util.bridges.mvc.MVCPortlet + + view-template + /view.jsp + + 0 + + text/html + + + Schedulatore Portos Pratiche + Schedulatore Portos Pratiche + Schedulatore Portos Pratiche + + + administrator + + + guest + + + power-user + + + user + + + + pratica + Pratica + pratica.PraticaPortlet + + view-template + /html/pratica/view.jsp + + 0 + + text/html + view + + + Pratica + Pratica + + + + administrator + + + guest + + + power-user + + + user + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml new file mode 100644 index 00000000..e51e061c --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml @@ -0,0 +1,36 @@ + + + + ebusu + portos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Foo.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Foo.java new file mode 100644 index 00000000..e158d80f --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Foo.java @@ -0,0 +1,34 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model; + +import com.liferay.portal.model.PersistedModel; + +/** + * The extended model interface for the Foo service. Represents a row in the "portos_Foo" database table, with each column mapped to a property of this class. + * + * @author ebusu + * @see FooModel + * @see potos.nextmind.model.impl.FooImpl + * @see potos.nextmind.model.impl.FooModelImpl + * @generated + */ +public interface Foo extends FooModel, PersistedModel { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify this interface directly. Add methods to {@link potos.nextmind.model.impl.FooImpl} 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooClp.java new file mode 100644 index 00000000..b1ece2e4 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooClp.java @@ -0,0 +1,698 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 potos.nextmind.service.ClpSerializer; +import potos.nextmind.service.FooLocalServiceUtil; + +import java.io.Serializable; + +import java.lang.reflect.Method; + +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +/** + * @author ebusu + */ +public class FooClp extends BaseModelImpl implements Foo { + public FooClp() { + } + + @Override + public Class getModelClass() { + return Foo.class; + } + + @Override + public String getModelClassName() { + return Foo.class.getName(); + } + + @Override + public long getPrimaryKey() { + return _fooId; + } + + @Override + public void setPrimaryKey(long primaryKey) { + setFooId(primaryKey); + } + + @Override + public Serializable getPrimaryKeyObj() { + return _fooId; + } + + @Override + public void setPrimaryKeyObj(Serializable primaryKeyObj) { + setPrimaryKey(((Long)primaryKeyObj).longValue()); + } + + @Override + public Map getModelAttributes() { + Map attributes = new HashMap(); + + attributes.put("fooId", getFooId()); + 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("field1", getField1()); + attributes.put("field2", getField2()); + attributes.put("field3", getField3()); + attributes.put("field4", getField4()); + attributes.put("field5", getField5()); + + return attributes; + } + + @Override + public void setModelAttributes(Map attributes) { + Long fooId = (Long)attributes.get("fooId"); + + if (fooId != null) { + setFooId(fooId); + } + + 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 field1 = (String)attributes.get("field1"); + + if (field1 != null) { + setField1(field1); + } + + Boolean field2 = (Boolean)attributes.get("field2"); + + if (field2 != null) { + setField2(field2); + } + + Integer field3 = (Integer)attributes.get("field3"); + + if (field3 != null) { + setField3(field3); + } + + Date field4 = (Date)attributes.get("field4"); + + if (field4 != null) { + setField4(field4); + } + + String field5 = (String)attributes.get("field5"); + + if (field5 != null) { + setField5(field5); + } + } + + @Override + public long getFooId() { + return _fooId; + } + + @Override + public void setFooId(long fooId) { + _fooId = fooId; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setFooId", long.class); + + method.invoke(_fooRemoteModel, fooId); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public long getGroupId() { + return _groupId; + } + + @Override + public void setGroupId(long groupId) { + _groupId = groupId; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setGroupId", long.class); + + method.invoke(_fooRemoteModel, groupId); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public long getCompanyId() { + return _companyId; + } + + @Override + public void setCompanyId(long companyId) { + _companyId = companyId; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setCompanyId", long.class); + + method.invoke(_fooRemoteModel, companyId); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public long getUserId() { + return _userId; + } + + @Override + public void setUserId(long userId) { + _userId = userId; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setUserId", long.class); + + method.invoke(_fooRemoteModel, 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 (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setUserName", String.class); + + method.invoke(_fooRemoteModel, userName); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getCreateDate() { + return _createDate; + } + + @Override + public void setCreateDate(Date createDate) { + _createDate = createDate; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setCreateDate", Date.class); + + method.invoke(_fooRemoteModel, createDate); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getModifiedDate() { + return _modifiedDate; + } + + @Override + public void setModifiedDate(Date modifiedDate) { + _modifiedDate = modifiedDate; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setModifiedDate", Date.class); + + method.invoke(_fooRemoteModel, modifiedDate); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getField1() { + return _field1; + } + + @Override + public void setField1(String field1) { + _field1 = field1; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setField1", String.class); + + method.invoke(_fooRemoteModel, field1); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public boolean getField2() { + return _field2; + } + + @Override + public boolean isField2() { + return _field2; + } + + @Override + public void setField2(boolean field2) { + _field2 = field2; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setField2", boolean.class); + + method.invoke(_fooRemoteModel, field2); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public int getField3() { + return _field3; + } + + @Override + public void setField3(int field3) { + _field3 = field3; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setField3", int.class); + + method.invoke(_fooRemoteModel, field3); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getField4() { + return _field4; + } + + @Override + public void setField4(Date field4) { + _field4 = field4; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setField4", Date.class); + + method.invoke(_fooRemoteModel, field4); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getField5() { + return _field5; + } + + @Override + public void setField5(String field5) { + _field5 = field5; + + if (_fooRemoteModel != null) { + try { + Class clazz = _fooRemoteModel.getClass(); + + Method method = clazz.getMethod("setField5", String.class); + + method.invoke(_fooRemoteModel, field5); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + public BaseModel getFooRemoteModel() { + return _fooRemoteModel; + } + + public void setFooRemoteModel(BaseModel fooRemoteModel) { + _fooRemoteModel = fooRemoteModel; + } + + 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 = _fooRemoteModel.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(_fooRemoteModel, + remoteParameterValues); + + if (returnValue != null) { + returnValue = ClpSerializer.translateOutput(returnValue); + } + + return returnValue; + } + + @Override + public void persist() throws SystemException { + if (this.isNew()) { + FooLocalServiceUtil.addFoo(this); + } + else { + FooLocalServiceUtil.updateFoo(this); + } + } + + @Override + public Foo toEscapedModel() { + return (Foo)ProxyUtil.newProxyInstance(Foo.class.getClassLoader(), + new Class[] { Foo.class }, new AutoEscapeBeanHandler(this)); + } + + @Override + public Object clone() { + FooClp clone = new FooClp(); + + clone.setFooId(getFooId()); + clone.setGroupId(getGroupId()); + clone.setCompanyId(getCompanyId()); + clone.setUserId(getUserId()); + clone.setUserName(getUserName()); + clone.setCreateDate(getCreateDate()); + clone.setModifiedDate(getModifiedDate()); + clone.setField1(getField1()); + clone.setField2(getField2()); + clone.setField3(getField3()); + clone.setField4(getField4()); + clone.setField5(getField5()); + + return clone; + } + + @Override + public int compareTo(Foo foo) { + int value = 0; + + value = getField1().compareTo(foo.getField1()); + + if (value != 0) { + return value; + } + + return 0; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + + if (!(obj instanceof FooClp)) { + return false; + } + + FooClp foo = (FooClp)obj; + + long primaryKey = foo.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("{fooId="); + sb.append(getFooId()); + 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(", field1="); + sb.append(getField1()); + sb.append(", field2="); + sb.append(getField2()); + sb.append(", field3="); + sb.append(getField3()); + sb.append(", field4="); + sb.append(getField4()); + sb.append(", field5="); + sb.append(getField5()); + sb.append("}"); + + return sb.toString(); + } + + @Override + public String toXmlString() { + StringBundler sb = new StringBundler(40); + + sb.append(""); + sb.append("potos.nextmind.model.Foo"); + sb.append(""); + + sb.append( + "fooId"); + sb.append( + "groupId"); + sb.append( + "companyId"); + sb.append( + "userId"); + sb.append( + "userName"); + sb.append( + "createDate"); + sb.append( + "modifiedDate"); + sb.append( + "field1"); + sb.append( + "field2"); + sb.append( + "field3"); + sb.append( + "field4"); + sb.append( + "field5"); + + sb.append(""); + + return sb.toString(); + } + + private long _fooId; + private long _groupId; + private long _companyId; + private long _userId; + private String _userUuid; + private String _userName; + private Date _createDate; + private Date _modifiedDate; + private String _field1; + private boolean _field2; + private int _field3; + private Date _field4; + private String _field5; + private BaseModel _fooRemoteModel; + private Class _clpSerializerClass = potos.nextmind.service.ClpSerializer.class; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooModel.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooModel.java new file mode 100644 index 00000000..caea3663 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooModel.java @@ -0,0 +1,327 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Foo service. Represents a row in the "portos_Foo" database table, with each column mapped to a property of this class. + * + *

+ * This interface and its corresponding implementation {@link potos.nextmind.model.impl.FooModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link potos.nextmind.model.impl.FooImpl}. + *

+ * + * @author ebusu + * @see Foo + * @see potos.nextmind.model.impl.FooImpl + * @see potos.nextmind.model.impl.FooModelImpl + * @generated + */ +public interface FooModel extends BaseModel, GroupedModel { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. All methods that expect a foo model instance should use the {@link Foo} interface instead. + */ + + /** + * Returns the primary key of this foo. + * + * @return the primary key of this foo + */ + public long getPrimaryKey(); + + /** + * Sets the primary key of this foo. + * + * @param primaryKey the primary key of this foo + */ + public void setPrimaryKey(long primaryKey); + + /** + * Returns the foo ID of this foo. + * + * @return the foo ID of this foo + */ + public long getFooId(); + + /** + * Sets the foo ID of this foo. + * + * @param fooId the foo ID of this foo + */ + public void setFooId(long fooId); + + /** + * Returns the group ID of this foo. + * + * @return the group ID of this foo + */ + @Override + public long getGroupId(); + + /** + * Sets the group ID of this foo. + * + * @param groupId the group ID of this foo + */ + @Override + public void setGroupId(long groupId); + + /** + * Returns the company ID of this foo. + * + * @return the company ID of this foo + */ + @Override + public long getCompanyId(); + + /** + * Sets the company ID of this foo. + * + * @param companyId the company ID of this foo + */ + @Override + public void setCompanyId(long companyId); + + /** + * Returns the user ID of this foo. + * + * @return the user ID of this foo + */ + @Override + public long getUserId(); + + /** + * Sets the user ID of this foo. + * + * @param userId the user ID of this foo + */ + @Override + public void setUserId(long userId); + + /** + * Returns the user uuid of this foo. + * + * @return the user uuid of this foo + * @throws SystemException if a system exception occurred + */ + @Override + public String getUserUuid() throws SystemException; + + /** + * Sets the user uuid of this foo. + * + * @param userUuid the user uuid of this foo + */ + @Override + public void setUserUuid(String userUuid); + + /** + * Returns the user name of this foo. + * + * @return the user name of this foo + */ + @AutoEscape + @Override + public String getUserName(); + + /** + * Sets the user name of this foo. + * + * @param userName the user name of this foo + */ + @Override + public void setUserName(String userName); + + /** + * Returns the create date of this foo. + * + * @return the create date of this foo + */ + @Override + public Date getCreateDate(); + + /** + * Sets the create date of this foo. + * + * @param createDate the create date of this foo + */ + @Override + public void setCreateDate(Date createDate); + + /** + * Returns the modified date of this foo. + * + * @return the modified date of this foo + */ + @Override + public Date getModifiedDate(); + + /** + * Sets the modified date of this foo. + * + * @param modifiedDate the modified date of this foo + */ + @Override + public void setModifiedDate(Date modifiedDate); + + /** + * Returns the field1 of this foo. + * + * @return the field1 of this foo + */ + @AutoEscape + public String getField1(); + + /** + * Sets the field1 of this foo. + * + * @param field1 the field1 of this foo + */ + public void setField1(String field1); + + /** + * Returns the field2 of this foo. + * + * @return the field2 of this foo + */ + public boolean getField2(); + + /** + * Returns true if this foo is field2. + * + * @return true if this foo is field2; false otherwise + */ + public boolean isField2(); + + /** + * Sets whether this foo is field2. + * + * @param field2 the field2 of this foo + */ + public void setField2(boolean field2); + + /** + * Returns the field3 of this foo. + * + * @return the field3 of this foo + */ + public int getField3(); + + /** + * Sets the field3 of this foo. + * + * @param field3 the field3 of this foo + */ + public void setField3(int field3); + + /** + * Returns the field4 of this foo. + * + * @return the field4 of this foo + */ + public Date getField4(); + + /** + * Sets the field4 of this foo. + * + * @param field4 the field4 of this foo + */ + public void setField4(Date field4); + + /** + * Returns the field5 of this foo. + * + * @return the field5 of this foo + */ + @AutoEscape + public String getField5(); + + /** + * Sets the field5 of this foo. + * + * @param field5 the field5 of this foo + */ + public void setField5(String field5); + + @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(potos.nextmind.model.Foo foo); + + @Override + public int hashCode(); + + @Override + public CacheModel toCacheModel(); + + @Override + public potos.nextmind.model.Foo toEscapedModel(); + + @Override + public potos.nextmind.model.Foo toUnescapedModel(); + + @Override + public String toString(); + + @Override + public String toXmlString(); +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooSoap.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooSoap.java new file mode 100644 index 00000000..126371c9 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooSoap.java @@ -0,0 +1,210 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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, specifically {@link potos.nextmind.service.http.FooServiceSoap}. + * + * @author ebusu + * @see potos.nextmind.service.http.FooServiceSoap + * @generated + */ +public class FooSoap implements Serializable { + public static FooSoap toSoapModel(Foo model) { + FooSoap soapModel = new FooSoap(); + + soapModel.setFooId(model.getFooId()); + 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.setField1(model.getField1()); + soapModel.setField2(model.getField2()); + soapModel.setField3(model.getField3()); + soapModel.setField4(model.getField4()); + soapModel.setField5(model.getField5()); + + return soapModel; + } + + public static FooSoap[] toSoapModels(Foo[] models) { + FooSoap[] soapModels = new FooSoap[models.length]; + + for (int i = 0; i < models.length; i++) { + soapModels[i] = toSoapModel(models[i]); + } + + return soapModels; + } + + public static FooSoap[][] toSoapModels(Foo[][] models) { + FooSoap[][] soapModels = null; + + if (models.length > 0) { + soapModels = new FooSoap[models.length][models[0].length]; + } + else { + soapModels = new FooSoap[0][0]; + } + + for (int i = 0; i < models.length; i++) { + soapModels[i] = toSoapModels(models[i]); + } + + return soapModels; + } + + public static FooSoap[] toSoapModels(List models) { + List soapModels = new ArrayList(models.size()); + + for (Foo model : models) { + soapModels.add(toSoapModel(model)); + } + + return soapModels.toArray(new FooSoap[soapModels.size()]); + } + + public FooSoap() { + } + + public long getPrimaryKey() { + return _fooId; + } + + public void setPrimaryKey(long pk) { + setFooId(pk); + } + + public long getFooId() { + return _fooId; + } + + public void setFooId(long fooId) { + _fooId = fooId; + } + + 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 getField1() { + return _field1; + } + + public void setField1(String field1) { + _field1 = field1; + } + + public boolean getField2() { + return _field2; + } + + public boolean isField2() { + return _field2; + } + + public void setField2(boolean field2) { + _field2 = field2; + } + + public int getField3() { + return _field3; + } + + public void setField3(int field3) { + _field3 = field3; + } + + public Date getField4() { + return _field4; + } + + public void setField4(Date field4) { + _field4 = field4; + } + + public String getField5() { + return _field5; + } + + public void setField5(String field5) { + _field5 = field5; + } + + private long _fooId; + private long _groupId; + private long _companyId; + private long _userId; + private String _userName; + private Date _createDate; + private Date _modifiedDate; + private String _field1; + private boolean _field2; + private int _field3; + private Date _field4; + private String _field5; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooWrapper.java new file mode 100644 index 00000000..b9bbdfbf --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooWrapper.java @@ -0,0 +1,576 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Foo}. + *

+ * + * @author ebusu + * @see Foo + * @generated + */ +public class FooWrapper implements Foo, ModelWrapper { + public FooWrapper(Foo foo) { + _foo = foo; + } + + @Override + public Class getModelClass() { + return Foo.class; + } + + @Override + public String getModelClassName() { + return Foo.class.getName(); + } + + @Override + public Map getModelAttributes() { + Map attributes = new HashMap(); + + attributes.put("fooId", getFooId()); + 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("field1", getField1()); + attributes.put("field2", getField2()); + attributes.put("field3", getField3()); + attributes.put("field4", getField4()); + attributes.put("field5", getField5()); + + return attributes; + } + + @Override + public void setModelAttributes(Map attributes) { + Long fooId = (Long)attributes.get("fooId"); + + if (fooId != null) { + setFooId(fooId); + } + + 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 field1 = (String)attributes.get("field1"); + + if (field1 != null) { + setField1(field1); + } + + Boolean field2 = (Boolean)attributes.get("field2"); + + if (field2 != null) { + setField2(field2); + } + + Integer field3 = (Integer)attributes.get("field3"); + + if (field3 != null) { + setField3(field3); + } + + Date field4 = (Date)attributes.get("field4"); + + if (field4 != null) { + setField4(field4); + } + + String field5 = (String)attributes.get("field5"); + + if (field5 != null) { + setField5(field5); + } + } + + /** + * Returns the primary key of this foo. + * + * @return the primary key of this foo + */ + @Override + public long getPrimaryKey() { + return _foo.getPrimaryKey(); + } + + /** + * Sets the primary key of this foo. + * + * @param primaryKey the primary key of this foo + */ + @Override + public void setPrimaryKey(long primaryKey) { + _foo.setPrimaryKey(primaryKey); + } + + /** + * Returns the foo ID of this foo. + * + * @return the foo ID of this foo + */ + @Override + public long getFooId() { + return _foo.getFooId(); + } + + /** + * Sets the foo ID of this foo. + * + * @param fooId the foo ID of this foo + */ + @Override + public void setFooId(long fooId) { + _foo.setFooId(fooId); + } + + /** + * Returns the group ID of this foo. + * + * @return the group ID of this foo + */ + @Override + public long getGroupId() { + return _foo.getGroupId(); + } + + /** + * Sets the group ID of this foo. + * + * @param groupId the group ID of this foo + */ + @Override + public void setGroupId(long groupId) { + _foo.setGroupId(groupId); + } + + /** + * Returns the company ID of this foo. + * + * @return the company ID of this foo + */ + @Override + public long getCompanyId() { + return _foo.getCompanyId(); + } + + /** + * Sets the company ID of this foo. + * + * @param companyId the company ID of this foo + */ + @Override + public void setCompanyId(long companyId) { + _foo.setCompanyId(companyId); + } + + /** + * Returns the user ID of this foo. + * + * @return the user ID of this foo + */ + @Override + public long getUserId() { + return _foo.getUserId(); + } + + /** + * Sets the user ID of this foo. + * + * @param userId the user ID of this foo + */ + @Override + public void setUserId(long userId) { + _foo.setUserId(userId); + } + + /** + * Returns the user uuid of this foo. + * + * @return the user uuid of this foo + * @throws SystemException if a system exception occurred + */ + @Override + public java.lang.String getUserUuid() + throws com.liferay.portal.kernel.exception.SystemException { + return _foo.getUserUuid(); + } + + /** + * Sets the user uuid of this foo. + * + * @param userUuid the user uuid of this foo + */ + @Override + public void setUserUuid(java.lang.String userUuid) { + _foo.setUserUuid(userUuid); + } + + /** + * Returns the user name of this foo. + * + * @return the user name of this foo + */ + @Override + public java.lang.String getUserName() { + return _foo.getUserName(); + } + + /** + * Sets the user name of this foo. + * + * @param userName the user name of this foo + */ + @Override + public void setUserName(java.lang.String userName) { + _foo.setUserName(userName); + } + + /** + * Returns the create date of this foo. + * + * @return the create date of this foo + */ + @Override + public java.util.Date getCreateDate() { + return _foo.getCreateDate(); + } + + /** + * Sets the create date of this foo. + * + * @param createDate the create date of this foo + */ + @Override + public void setCreateDate(java.util.Date createDate) { + _foo.setCreateDate(createDate); + } + + /** + * Returns the modified date of this foo. + * + * @return the modified date of this foo + */ + @Override + public java.util.Date getModifiedDate() { + return _foo.getModifiedDate(); + } + + /** + * Sets the modified date of this foo. + * + * @param modifiedDate the modified date of this foo + */ + @Override + public void setModifiedDate(java.util.Date modifiedDate) { + _foo.setModifiedDate(modifiedDate); + } + + /** + * Returns the field1 of this foo. + * + * @return the field1 of this foo + */ + @Override + public java.lang.String getField1() { + return _foo.getField1(); + } + + /** + * Sets the field1 of this foo. + * + * @param field1 the field1 of this foo + */ + @Override + public void setField1(java.lang.String field1) { + _foo.setField1(field1); + } + + /** + * Returns the field2 of this foo. + * + * @return the field2 of this foo + */ + @Override + public boolean getField2() { + return _foo.getField2(); + } + + /** + * Returns true if this foo is field2. + * + * @return true if this foo is field2; false otherwise + */ + @Override + public boolean isField2() { + return _foo.isField2(); + } + + /** + * Sets whether this foo is field2. + * + * @param field2 the field2 of this foo + */ + @Override + public void setField2(boolean field2) { + _foo.setField2(field2); + } + + /** + * Returns the field3 of this foo. + * + * @return the field3 of this foo + */ + @Override + public int getField3() { + return _foo.getField3(); + } + + /** + * Sets the field3 of this foo. + * + * @param field3 the field3 of this foo + */ + @Override + public void setField3(int field3) { + _foo.setField3(field3); + } + + /** + * Returns the field4 of this foo. + * + * @return the field4 of this foo + */ + @Override + public java.util.Date getField4() { + return _foo.getField4(); + } + + /** + * Sets the field4 of this foo. + * + * @param field4 the field4 of this foo + */ + @Override + public void setField4(java.util.Date field4) { + _foo.setField4(field4); + } + + /** + * Returns the field5 of this foo. + * + * @return the field5 of this foo + */ + @Override + public java.lang.String getField5() { + return _foo.getField5(); + } + + /** + * Sets the field5 of this foo. + * + * @param field5 the field5 of this foo + */ + @Override + public void setField5(java.lang.String field5) { + _foo.setField5(field5); + } + + @Override + public boolean isNew() { + return _foo.isNew(); + } + + @Override + public void setNew(boolean n) { + _foo.setNew(n); + } + + @Override + public boolean isCachedModel() { + return _foo.isCachedModel(); + } + + @Override + public void setCachedModel(boolean cachedModel) { + _foo.setCachedModel(cachedModel); + } + + @Override + public boolean isEscapedModel() { + return _foo.isEscapedModel(); + } + + @Override + public java.io.Serializable getPrimaryKeyObj() { + return _foo.getPrimaryKeyObj(); + } + + @Override + public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { + _foo.setPrimaryKeyObj(primaryKeyObj); + } + + @Override + public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { + return _foo.getExpandoBridge(); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portal.model.BaseModel baseModel) { + _foo.setExpandoBridgeAttributes(baseModel); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { + _foo.setExpandoBridgeAttributes(expandoBridge); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portal.service.ServiceContext serviceContext) { + _foo.setExpandoBridgeAttributes(serviceContext); + } + + @Override + public java.lang.Object clone() { + return new FooWrapper((Foo)_foo.clone()); + } + + @Override + public int compareTo(potos.nextmind.model.Foo foo) { + return _foo.compareTo(foo); + } + + @Override + public int hashCode() { + return _foo.hashCode(); + } + + @Override + public com.liferay.portal.model.CacheModel toCacheModel() { + return _foo.toCacheModel(); + } + + @Override + public potos.nextmind.model.Foo toEscapedModel() { + return new FooWrapper(_foo.toEscapedModel()); + } + + @Override + public potos.nextmind.model.Foo toUnescapedModel() { + return new FooWrapper(_foo.toUnescapedModel()); + } + + @Override + public java.lang.String toString() { + return _foo.toString(); + } + + @Override + public java.lang.String toXmlString() { + return _foo.toXmlString(); + } + + @Override + public void persist() + throws com.liferay.portal.kernel.exception.SystemException { + _foo.persist(); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + + if (!(obj instanceof FooWrapper)) { + return false; + } + + FooWrapper fooWrapper = (FooWrapper)obj; + + if (Validator.equals(_foo, fooWrapper._foo)) { + return true; + } + + return false; + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} + */ + public Foo getWrappedFoo() { + return _foo; + } + + @Override + public Foo getWrappedModel() { + return _foo; + } + + @Override + public void resetOriginalValues() { + _foo.resetOriginalValues(); + } + + private Foo _foo; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Sportello.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Sportello.java new file mode 100644 index 00000000..33cd1604 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Sportello.java @@ -0,0 +1,32 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model; + +/** + * The extended model interface for the Sportello service. Represents a row in the "sportello" database table, with each column mapped to a property of this class. + * + * @author ebusu + * @see SportelloModel + * @see potos.nextmind.model.impl.SportelloImpl + * @see potos.nextmind.model.impl.SportelloModelImpl + * @generated + */ +public interface Sportello extends SportelloModel { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify this interface directly. Add methods to {@link potos.nextmind.model.impl.SportelloImpl} 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloClp.java new file mode 100644 index 00000000..a64dafe5 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloClp.java @@ -0,0 +1,832 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model; + +import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; +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 potos.nextmind.service.ClpSerializer; + +import java.io.Serializable; + +import java.lang.reflect.Method; + +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +/** + * @author ebusu + */ +public class SportelloClp extends BaseModelImpl implements Sportello { + public SportelloClp() { + } + + @Override + public Class getModelClass() { + return Sportello.class; + } + + @Override + public String getModelClassName() { + return Sportello.class.getName(); + } + + @Override + public long getPrimaryKey() { + return _id; + } + + @Override + public void setPrimaryKey(long primaryKey) { + setId(primaryKey); + } + + @Override + public Serializable getPrimaryKeyObj() { + return _id; + } + + @Override + public void setPrimaryKeyObj(Serializable primaryKeyObj) { + setPrimaryKey(((Long)primaryKeyObj).longValue()); + } + + @Override + public Map getModelAttributes() { + Map attributes = new HashMap(); + + attributes.put("id", getId()); + attributes.put("application", getApplication()); + attributes.put("clientId", getClientId()); + attributes.put("context", getContext()); + attributes.put("instanceId", getInstanceId()); + attributes.put("ipaCode", getIpaCode()); + attributes.put("proceedingType", getProceedingType()); + attributes.put("url", getUrl()); + attributes.put("contentType", getContentType()); + attributes.put("operation", getOperation()); + attributes.put("cadastralCode", getCadastralCode()); + attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode()); + attributes.put("stato", getStato()); + attributes.put("creationDate", getCreationDate()); + attributes.put("lastUpdateDate", getLastUpdateDate()); + attributes.put("sentToPortosDate", getSentToPortosDate()); + + return attributes; + } + + @Override + public void setModelAttributes(Map attributes) { + Long id = (Long)attributes.get("id"); + + if (id != null) { + setId(id); + } + + String application = (String)attributes.get("application"); + + if (application != null) { + setApplication(application); + } + + String clientId = (String)attributes.get("clientId"); + + if (clientId != null) { + setClientId(clientId); + } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } + + String instanceId = (String)attributes.get("instanceId"); + + if (instanceId != null) { + setInstanceId(instanceId); + } + + String ipaCode = (String)attributes.get("ipaCode"); + + if (ipaCode != null) { + setIpaCode(ipaCode); + } + + String proceedingType = (String)attributes.get("proceedingType"); + + if (proceedingType != null) { + setProceedingType(proceedingType); + } + + String url = (String)attributes.get("url"); + + if (url != null) { + setUrl(url); + } + + String contentType = (String)attributes.get("contentType"); + + if (contentType != null) { + setContentType(contentType); + } + + String operation = (String)attributes.get("operation"); + + if (operation != null) { + setOperation(operation); + } + + String cadastralCode = (String)attributes.get("cadastralCode"); + + if (cadastralCode != null) { + setCadastralCode(cadastralCode); + } + + String digitalHolderTaxCode = (String)attributes.get( + "digitalHolderTaxCode"); + + if (digitalHolderTaxCode != null) { + setDigitalHolderTaxCode(digitalHolderTaxCode); + } + + Boolean stato = (Boolean)attributes.get("stato"); + + if (stato != null) { + setStato(stato); + } + + Date creationDate = (Date)attributes.get("creationDate"); + + if (creationDate != null) { + setCreationDate(creationDate); + } + + Date lastUpdateDate = (Date)attributes.get("lastUpdateDate"); + + if (lastUpdateDate != null) { + setLastUpdateDate(lastUpdateDate); + } + + Date sentToPortosDate = (Date)attributes.get("sentToPortosDate"); + + if (sentToPortosDate != null) { + setSentToPortosDate(sentToPortosDate); + } + } + + @Override + public long getId() { + return _id; + } + + @Override + public void setId(long id) { + _id = id; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setId", long.class); + + method.invoke(_sportelloRemoteModel, id); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getApplication() { + return _application; + } + + @Override + public void setApplication(String application) { + _application = application; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setApplication", String.class); + + method.invoke(_sportelloRemoteModel, application); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getClientId() { + return _clientId; + } + + @Override + public void setClientId(String clientId) { + _clientId = clientId; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setClientId", String.class); + + method.invoke(_sportelloRemoteModel, clientId); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getContext() { + return _context; + } + + @Override + public void setContext(String context) { + _context = context; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setContext", String.class); + + method.invoke(_sportelloRemoteModel, context); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getInstanceId() { + return _instanceId; + } + + @Override + public void setInstanceId(String instanceId) { + _instanceId = instanceId; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setInstanceId", String.class); + + method.invoke(_sportelloRemoteModel, instanceId); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getIpaCode() { + return _ipaCode; + } + + @Override + public void setIpaCode(String ipaCode) { + _ipaCode = ipaCode; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setIpaCode", String.class); + + method.invoke(_sportelloRemoteModel, ipaCode); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getProceedingType() { + return _proceedingType; + } + + @Override + public void setProceedingType(String proceedingType) { + _proceedingType = proceedingType; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setProceedingType", + String.class); + + method.invoke(_sportelloRemoteModel, proceedingType); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getUrl() { + return _url; + } + + @Override + public void setUrl(String url) { + _url = url; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setUrl", String.class); + + method.invoke(_sportelloRemoteModel, url); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getContentType() { + return _contentType; + } + + @Override + public void setContentType(String contentType) { + _contentType = contentType; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setContentType", String.class); + + method.invoke(_sportelloRemoteModel, contentType); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getOperation() { + return _operation; + } + + @Override + public void setOperation(String operation) { + _operation = operation; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setOperation", String.class); + + method.invoke(_sportelloRemoteModel, operation); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getCadastralCode() { + return _cadastralCode; + } + + @Override + public void setCadastralCode(String cadastralCode) { + _cadastralCode = cadastralCode; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setCadastralCode", String.class); + + method.invoke(_sportelloRemoteModel, cadastralCode); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public String getDigitalHolderTaxCode() { + return _digitalHolderTaxCode; + } + + @Override + public void setDigitalHolderTaxCode(String digitalHolderTaxCode) { + _digitalHolderTaxCode = digitalHolderTaxCode; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setDigitalHolderTaxCode", + String.class); + + method.invoke(_sportelloRemoteModel, digitalHolderTaxCode); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public boolean getStato() { + return _stato; + } + + @Override + public boolean isStato() { + return _stato; + } + + @Override + public void setStato(boolean stato) { + _stato = stato; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setStato", boolean.class); + + method.invoke(_sportelloRemoteModel, stato); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getCreationDate() { + return _creationDate; + } + + @Override + public void setCreationDate(Date creationDate) { + _creationDate = creationDate; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setCreationDate", Date.class); + + method.invoke(_sportelloRemoteModel, creationDate); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getLastUpdateDate() { + return _lastUpdateDate; + } + + @Override + public void setLastUpdateDate(Date lastUpdateDate) { + _lastUpdateDate = lastUpdateDate; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setLastUpdateDate", Date.class); + + method.invoke(_sportelloRemoteModel, lastUpdateDate); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + @Override + public Date getSentToPortosDate() { + return _sentToPortosDate; + } + + @Override + public void setSentToPortosDate(Date sentToPortosDate) { + _sentToPortosDate = sentToPortosDate; + + if (_sportelloRemoteModel != null) { + try { + Class clazz = _sportelloRemoteModel.getClass(); + + Method method = clazz.getMethod("setSentToPortosDate", + Date.class); + + method.invoke(_sportelloRemoteModel, sentToPortosDate); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + + public BaseModel getSportelloRemoteModel() { + return _sportelloRemoteModel; + } + + public void setSportelloRemoteModel(BaseModel sportelloRemoteModel) { + _sportelloRemoteModel = sportelloRemoteModel; + } + + 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 = _sportelloRemoteModel.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(_sportelloRemoteModel, + remoteParameterValues); + + if (returnValue != null) { + returnValue = ClpSerializer.translateOutput(returnValue); + } + + return returnValue; + } + + @Override + public Sportello toEscapedModel() { + return (Sportello)ProxyUtil.newProxyInstance(Sportello.class.getClassLoader(), + new Class[] { Sportello.class }, new AutoEscapeBeanHandler(this)); + } + + @Override + public Object clone() { + SportelloClp clone = new SportelloClp(); + + clone.setId(getId()); + clone.setApplication(getApplication()); + clone.setClientId(getClientId()); + clone.setContext(getContext()); + clone.setInstanceId(getInstanceId()); + clone.setIpaCode(getIpaCode()); + clone.setProceedingType(getProceedingType()); + clone.setUrl(getUrl()); + clone.setContentType(getContentType()); + clone.setOperation(getOperation()); + clone.setCadastralCode(getCadastralCode()); + clone.setDigitalHolderTaxCode(getDigitalHolderTaxCode()); + clone.setStato(getStato()); + clone.setCreationDate(getCreationDate()); + clone.setLastUpdateDate(getLastUpdateDate()); + clone.setSentToPortosDate(getSentToPortosDate()); + + return clone; + } + + @Override + public int compareTo(Sportello sportello) { + long primaryKey = sportello.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 SportelloClp)) { + return false; + } + + SportelloClp sportello = (SportelloClp)obj; + + long primaryKey = sportello.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("{id="); + sb.append(getId()); + sb.append(", application="); + sb.append(getApplication()); + sb.append(", clientId="); + sb.append(getClientId()); + sb.append(", context="); + sb.append(getContext()); + sb.append(", instanceId="); + sb.append(getInstanceId()); + sb.append(", ipaCode="); + sb.append(getIpaCode()); + sb.append(", proceedingType="); + sb.append(getProceedingType()); + sb.append(", url="); + sb.append(getUrl()); + sb.append(", contentType="); + sb.append(getContentType()); + sb.append(", operation="); + sb.append(getOperation()); + sb.append(", cadastralCode="); + sb.append(getCadastralCode()); + sb.append(", digitalHolderTaxCode="); + sb.append(getDigitalHolderTaxCode()); + sb.append(", stato="); + sb.append(getStato()); + sb.append(", creationDate="); + sb.append(getCreationDate()); + sb.append(", lastUpdateDate="); + sb.append(getLastUpdateDate()); + sb.append(", sentToPortosDate="); + sb.append(getSentToPortosDate()); + sb.append("}"); + + return sb.toString(); + } + + @Override + public String toXmlString() { + StringBundler sb = new StringBundler(52); + + sb.append(""); + sb.append("potos.nextmind.model.Sportello"); + sb.append(""); + + sb.append( + "id"); + sb.append( + "application"); + sb.append( + "clientId"); + sb.append( + "context"); + sb.append( + "instanceId"); + sb.append( + "ipaCode"); + sb.append( + "proceedingType"); + sb.append( + "url"); + sb.append( + "contentType"); + sb.append( + "operation"); + sb.append( + "cadastralCode"); + sb.append( + "digitalHolderTaxCode"); + sb.append( + "stato"); + sb.append( + "creationDate"); + sb.append( + "lastUpdateDate"); + sb.append( + "sentToPortosDate"); + + sb.append(""); + + return sb.toString(); + } + + private long _id; + private String _application; + private String _clientId; + private String _context; + private String _instanceId; + private String _ipaCode; + private String _proceedingType; + private String _url; + private String _contentType; + private String _operation; + private String _cadastralCode; + private String _digitalHolderTaxCode; + private boolean _stato; + private Date _creationDate; + private Date _lastUpdateDate; + private Date _sentToPortosDate; + private BaseModel _sportelloRemoteModel; + private Class _clpSerializerClass = potos.nextmind.service.ClpSerializer.class; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloModel.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloModel.java new file mode 100644 index 00000000..caf6fcd7 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloModel.java @@ -0,0 +1,360 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Sportello service. Represents a row in the "sportello" database table, with each column mapped to a property of this class. + * + *

+ * This interface and its corresponding implementation {@link potos.nextmind.model.impl.SportelloModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link potos.nextmind.model.impl.SportelloImpl}. + *

+ * + * @author ebusu + * @see Sportello + * @see potos.nextmind.model.impl.SportelloImpl + * @see potos.nextmind.model.impl.SportelloModelImpl + * @generated + */ +public interface SportelloModel extends BaseModel { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. All methods that expect a sportello model instance should use the {@link Sportello} interface instead. + */ + + /** + * Returns the primary key of this sportello. + * + * @return the primary key of this sportello + */ + public long getPrimaryKey(); + + /** + * Sets the primary key of this sportello. + * + * @param primaryKey the primary key of this sportello + */ + public void setPrimaryKey(long primaryKey); + + /** + * Returns the ID of this sportello. + * + * @return the ID of this sportello + */ + public long getId(); + + /** + * Sets the ID of this sportello. + * + * @param id the ID of this sportello + */ + public void setId(long id); + + /** + * Returns the application of this sportello. + * + * @return the application of this sportello + */ + @AutoEscape + public String getApplication(); + + /** + * Sets the application of this sportello. + * + * @param application the application of this sportello + */ + public void setApplication(String application); + + /** + * Returns the client ID of this sportello. + * + * @return the client ID of this sportello + */ + @AutoEscape + public String getClientId(); + + /** + * Sets the client ID of this sportello. + * + * @param clientId the client ID of this sportello + */ + public void setClientId(String clientId); + + /** + * Returns the context of this sportello. + * + * @return the context of this sportello + */ + @AutoEscape + public String getContext(); + + /** + * Sets the context of this sportello. + * + * @param context the context of this sportello + */ + public void setContext(String context); + + /** + * Returns the instance ID of this sportello. + * + * @return the instance ID of this sportello + */ + @AutoEscape + public String getInstanceId(); + + /** + * Sets the instance ID of this sportello. + * + * @param instanceId the instance ID of this sportello + */ + public void setInstanceId(String instanceId); + + /** + * Returns the ipa code of this sportello. + * + * @return the ipa code of this sportello + */ + @AutoEscape + public String getIpaCode(); + + /** + * Sets the ipa code of this sportello. + * + * @param ipaCode the ipa code of this sportello + */ + public void setIpaCode(String ipaCode); + + /** + * Returns the proceeding type of this sportello. + * + * @return the proceeding type of this sportello + */ + @AutoEscape + public String getProceedingType(); + + /** + * Sets the proceeding type of this sportello. + * + * @param proceedingType the proceeding type of this sportello + */ + public void setProceedingType(String proceedingType); + + /** + * Returns the url of this sportello. + * + * @return the url of this sportello + */ + @AutoEscape + public String getUrl(); + + /** + * Sets the url of this sportello. + * + * @param url the url of this sportello + */ + public void setUrl(String url); + + /** + * Returns the content type of this sportello. + * + * @return the content type of this sportello + */ + @AutoEscape + public String getContentType(); + + /** + * Sets the content type of this sportello. + * + * @param contentType the content type of this sportello + */ + public void setContentType(String contentType); + + /** + * Returns the operation of this sportello. + * + * @return the operation of this sportello + */ + @AutoEscape + public String getOperation(); + + /** + * Sets the operation of this sportello. + * + * @param operation the operation of this sportello + */ + public void setOperation(String operation); + + /** + * Returns the cadastral code of this sportello. + * + * @return the cadastral code of this sportello + */ + @AutoEscape + public String getCadastralCode(); + + /** + * Sets the cadastral code of this sportello. + * + * @param cadastralCode the cadastral code of this sportello + */ + public void setCadastralCode(String cadastralCode); + + /** + * Returns the digital holder tax code of this sportello. + * + * @return the digital holder tax code of this sportello + */ + @AutoEscape + public String getDigitalHolderTaxCode(); + + /** + * Sets the digital holder tax code of this sportello. + * + * @param digitalHolderTaxCode the digital holder tax code of this sportello + */ + public void setDigitalHolderTaxCode(String digitalHolderTaxCode); + + /** + * Returns the stato of this sportello. + * + * @return the stato of this sportello + */ + public boolean getStato(); + + /** + * Returns true if this sportello is stato. + * + * @return true if this sportello is stato; false otherwise + */ + public boolean isStato(); + + /** + * Sets whether this sportello is stato. + * + * @param stato the stato of this sportello + */ + public void setStato(boolean stato); + + /** + * Returns the creation date of this sportello. + * + * @return the creation date of this sportello + */ + public Date getCreationDate(); + + /** + * Sets the creation date of this sportello. + * + * @param creationDate the creation date of this sportello + */ + public void setCreationDate(Date creationDate); + + /** + * Returns the last update date of this sportello. + * + * @return the last update date of this sportello + */ + public Date getLastUpdateDate(); + + /** + * Sets the last update date of this sportello. + * + * @param lastUpdateDate the last update date of this sportello + */ + public void setLastUpdateDate(Date lastUpdateDate); + + /** + * Returns the sent to portos date of this sportello. + * + * @return the sent to portos date of this sportello + */ + public Date getSentToPortosDate(); + + /** + * Sets the sent to portos date of this sportello. + * + * @param sentToPortosDate the sent to portos date of this sportello + */ + public void setSentToPortosDate(Date sentToPortosDate); + + @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(potos.nextmind.model.Sportello sportello); + + @Override + public int hashCode(); + + @Override + public CacheModel toCacheModel(); + + @Override + public potos.nextmind.model.Sportello toEscapedModel(); + + @Override + public potos.nextmind.model.Sportello toUnescapedModel(); + + @Override + public String toString(); + + @Override + public String toXmlString(); +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloSoap.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloSoap.java new file mode 100644 index 00000000..d2e01604 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloSoap.java @@ -0,0 +1,250 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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, specifically {@link potos.nextmind.service.http.SportelloServiceSoap}. + * + * @author ebusu + * @see potos.nextmind.service.http.SportelloServiceSoap + * @generated + */ +public class SportelloSoap implements Serializable { + public static SportelloSoap toSoapModel(Sportello model) { + SportelloSoap soapModel = new SportelloSoap(); + + soapModel.setId(model.getId()); + soapModel.setApplication(model.getApplication()); + soapModel.setClientId(model.getClientId()); + soapModel.setContext(model.getContext()); + soapModel.setInstanceId(model.getInstanceId()); + soapModel.setIpaCode(model.getIpaCode()); + soapModel.setProceedingType(model.getProceedingType()); + soapModel.setUrl(model.getUrl()); + soapModel.setContentType(model.getContentType()); + soapModel.setOperation(model.getOperation()); + soapModel.setCadastralCode(model.getCadastralCode()); + soapModel.setDigitalHolderTaxCode(model.getDigitalHolderTaxCode()); + soapModel.setStato(model.getStato()); + soapModel.setCreationDate(model.getCreationDate()); + soapModel.setLastUpdateDate(model.getLastUpdateDate()); + soapModel.setSentToPortosDate(model.getSentToPortosDate()); + + return soapModel; + } + + public static SportelloSoap[] toSoapModels(Sportello[] models) { + SportelloSoap[] soapModels = new SportelloSoap[models.length]; + + for (int i = 0; i < models.length; i++) { + soapModels[i] = toSoapModel(models[i]); + } + + return soapModels; + } + + public static SportelloSoap[][] toSoapModels(Sportello[][] models) { + SportelloSoap[][] soapModels = null; + + if (models.length > 0) { + soapModels = new SportelloSoap[models.length][models[0].length]; + } + else { + soapModels = new SportelloSoap[0][0]; + } + + for (int i = 0; i < models.length; i++) { + soapModels[i] = toSoapModels(models[i]); + } + + return soapModels; + } + + public static SportelloSoap[] toSoapModels(List models) { + List soapModels = new ArrayList(models.size()); + + for (Sportello model : models) { + soapModels.add(toSoapModel(model)); + } + + return soapModels.toArray(new SportelloSoap[soapModels.size()]); + } + + public SportelloSoap() { + } + + public long getPrimaryKey() { + return _id; + } + + public void setPrimaryKey(long pk) { + setId(pk); + } + + public long getId() { + return _id; + } + + public void setId(long id) { + _id = id; + } + + public String getApplication() { + return _application; + } + + public void setApplication(String application) { + _application = application; + } + + public String getClientId() { + return _clientId; + } + + public void setClientId(String clientId) { + _clientId = clientId; + } + + public String getContext() { + return _context; + } + + public void setContext(String context) { + _context = context; + } + + public String getInstanceId() { + return _instanceId; + } + + public void setInstanceId(String instanceId) { + _instanceId = instanceId; + } + + public String getIpaCode() { + return _ipaCode; + } + + public void setIpaCode(String ipaCode) { + _ipaCode = ipaCode; + } + + public String getProceedingType() { + return _proceedingType; + } + + public void setProceedingType(String proceedingType) { + _proceedingType = proceedingType; + } + + public String getUrl() { + return _url; + } + + public void setUrl(String url) { + _url = url; + } + + public String getContentType() { + return _contentType; + } + + public void setContentType(String contentType) { + _contentType = contentType; + } + + public String getOperation() { + return _operation; + } + + public void setOperation(String operation) { + _operation = operation; + } + + public String getCadastralCode() { + return _cadastralCode; + } + + public void setCadastralCode(String cadastralCode) { + _cadastralCode = cadastralCode; + } + + public String getDigitalHolderTaxCode() { + return _digitalHolderTaxCode; + } + + public void setDigitalHolderTaxCode(String digitalHolderTaxCode) { + _digitalHolderTaxCode = digitalHolderTaxCode; + } + + public boolean getStato() { + return _stato; + } + + public boolean isStato() { + return _stato; + } + + public void setStato(boolean stato) { + _stato = stato; + } + + public Date getCreationDate() { + return _creationDate; + } + + public void setCreationDate(Date creationDate) { + _creationDate = creationDate; + } + + public Date getLastUpdateDate() { + return _lastUpdateDate; + } + + public void setLastUpdateDate(Date lastUpdateDate) { + _lastUpdateDate = lastUpdateDate; + } + + public Date getSentToPortosDate() { + return _sentToPortosDate; + } + + public void setSentToPortosDate(Date sentToPortosDate) { + _sentToPortosDate = sentToPortosDate; + } + + private long _id; + private String _application; + private String _clientId; + private String _context; + private String _instanceId; + private String _ipaCode; + private String _proceedingType; + private String _url; + private String _contentType; + private String _operation; + private String _cadastralCode; + private String _digitalHolderTaxCode; + private boolean _stato; + private Date _creationDate; + private Date _lastUpdateDate; + private Date _sentToPortosDate; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloWrapper.java new file mode 100644 index 00000000..68242927 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloWrapper.java @@ -0,0 +1,657 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Sportello}. + *

+ * + * @author ebusu + * @see Sportello + * @generated + */ +public class SportelloWrapper implements Sportello, ModelWrapper { + public SportelloWrapper(Sportello sportello) { + _sportello = sportello; + } + + @Override + public Class getModelClass() { + return Sportello.class; + } + + @Override + public String getModelClassName() { + return Sportello.class.getName(); + } + + @Override + public Map getModelAttributes() { + Map attributes = new HashMap(); + + attributes.put("id", getId()); + attributes.put("application", getApplication()); + attributes.put("clientId", getClientId()); + attributes.put("context", getContext()); + attributes.put("instanceId", getInstanceId()); + attributes.put("ipaCode", getIpaCode()); + attributes.put("proceedingType", getProceedingType()); + attributes.put("url", getUrl()); + attributes.put("contentType", getContentType()); + attributes.put("operation", getOperation()); + attributes.put("cadastralCode", getCadastralCode()); + attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode()); + attributes.put("stato", getStato()); + attributes.put("creationDate", getCreationDate()); + attributes.put("lastUpdateDate", getLastUpdateDate()); + attributes.put("sentToPortosDate", getSentToPortosDate()); + + return attributes; + } + + @Override + public void setModelAttributes(Map attributes) { + Long id = (Long)attributes.get("id"); + + if (id != null) { + setId(id); + } + + String application = (String)attributes.get("application"); + + if (application != null) { + setApplication(application); + } + + String clientId = (String)attributes.get("clientId"); + + if (clientId != null) { + setClientId(clientId); + } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } + + String instanceId = (String)attributes.get("instanceId"); + + if (instanceId != null) { + setInstanceId(instanceId); + } + + String ipaCode = (String)attributes.get("ipaCode"); + + if (ipaCode != null) { + setIpaCode(ipaCode); + } + + String proceedingType = (String)attributes.get("proceedingType"); + + if (proceedingType != null) { + setProceedingType(proceedingType); + } + + String url = (String)attributes.get("url"); + + if (url != null) { + setUrl(url); + } + + String contentType = (String)attributes.get("contentType"); + + if (contentType != null) { + setContentType(contentType); + } + + String operation = (String)attributes.get("operation"); + + if (operation != null) { + setOperation(operation); + } + + String cadastralCode = (String)attributes.get("cadastralCode"); + + if (cadastralCode != null) { + setCadastralCode(cadastralCode); + } + + String digitalHolderTaxCode = (String)attributes.get( + "digitalHolderTaxCode"); + + if (digitalHolderTaxCode != null) { + setDigitalHolderTaxCode(digitalHolderTaxCode); + } + + Boolean stato = (Boolean)attributes.get("stato"); + + if (stato != null) { + setStato(stato); + } + + Date creationDate = (Date)attributes.get("creationDate"); + + if (creationDate != null) { + setCreationDate(creationDate); + } + + Date lastUpdateDate = (Date)attributes.get("lastUpdateDate"); + + if (lastUpdateDate != null) { + setLastUpdateDate(lastUpdateDate); + } + + Date sentToPortosDate = (Date)attributes.get("sentToPortosDate"); + + if (sentToPortosDate != null) { + setSentToPortosDate(sentToPortosDate); + } + } + + /** + * Returns the primary key of this sportello. + * + * @return the primary key of this sportello + */ + @Override + public long getPrimaryKey() { + return _sportello.getPrimaryKey(); + } + + /** + * Sets the primary key of this sportello. + * + * @param primaryKey the primary key of this sportello + */ + @Override + public void setPrimaryKey(long primaryKey) { + _sportello.setPrimaryKey(primaryKey); + } + + /** + * Returns the ID of this sportello. + * + * @return the ID of this sportello + */ + @Override + public long getId() { + return _sportello.getId(); + } + + /** + * Sets the ID of this sportello. + * + * @param id the ID of this sportello + */ + @Override + public void setId(long id) { + _sportello.setId(id); + } + + /** + * Returns the application of this sportello. + * + * @return the application of this sportello + */ + @Override + public java.lang.String getApplication() { + return _sportello.getApplication(); + } + + /** + * Sets the application of this sportello. + * + * @param application the application of this sportello + */ + @Override + public void setApplication(java.lang.String application) { + _sportello.setApplication(application); + } + + /** + * Returns the client ID of this sportello. + * + * @return the client ID of this sportello + */ + @Override + public java.lang.String getClientId() { + return _sportello.getClientId(); + } + + /** + * Sets the client ID of this sportello. + * + * @param clientId the client ID of this sportello + */ + @Override + public void setClientId(java.lang.String clientId) { + _sportello.setClientId(clientId); + } + + /** + * Returns the context of this sportello. + * + * @return the context of this sportello + */ + @Override + public java.lang.String getContext() { + return _sportello.getContext(); + } + + /** + * Sets the context of this sportello. + * + * @param context the context of this sportello + */ + @Override + public void setContext(java.lang.String context) { + _sportello.setContext(context); + } + + /** + * Returns the instance ID of this sportello. + * + * @return the instance ID of this sportello + */ + @Override + public java.lang.String getInstanceId() { + return _sportello.getInstanceId(); + } + + /** + * Sets the instance ID of this sportello. + * + * @param instanceId the instance ID of this sportello + */ + @Override + public void setInstanceId(java.lang.String instanceId) { + _sportello.setInstanceId(instanceId); + } + + /** + * Returns the ipa code of this sportello. + * + * @return the ipa code of this sportello + */ + @Override + public java.lang.String getIpaCode() { + return _sportello.getIpaCode(); + } + + /** + * Sets the ipa code of this sportello. + * + * @param ipaCode the ipa code of this sportello + */ + @Override + public void setIpaCode(java.lang.String ipaCode) { + _sportello.setIpaCode(ipaCode); + } + + /** + * Returns the proceeding type of this sportello. + * + * @return the proceeding type of this sportello + */ + @Override + public java.lang.String getProceedingType() { + return _sportello.getProceedingType(); + } + + /** + * Sets the proceeding type of this sportello. + * + * @param proceedingType the proceeding type of this sportello + */ + @Override + public void setProceedingType(java.lang.String proceedingType) { + _sportello.setProceedingType(proceedingType); + } + + /** + * Returns the url of this sportello. + * + * @return the url of this sportello + */ + @Override + public java.lang.String getUrl() { + return _sportello.getUrl(); + } + + /** + * Sets the url of this sportello. + * + * @param url the url of this sportello + */ + @Override + public void setUrl(java.lang.String url) { + _sportello.setUrl(url); + } + + /** + * Returns the content type of this sportello. + * + * @return the content type of this sportello + */ + @Override + public java.lang.String getContentType() { + return _sportello.getContentType(); + } + + /** + * Sets the content type of this sportello. + * + * @param contentType the content type of this sportello + */ + @Override + public void setContentType(java.lang.String contentType) { + _sportello.setContentType(contentType); + } + + /** + * Returns the operation of this sportello. + * + * @return the operation of this sportello + */ + @Override + public java.lang.String getOperation() { + return _sportello.getOperation(); + } + + /** + * Sets the operation of this sportello. + * + * @param operation the operation of this sportello + */ + @Override + public void setOperation(java.lang.String operation) { + _sportello.setOperation(operation); + } + + /** + * Returns the cadastral code of this sportello. + * + * @return the cadastral code of this sportello + */ + @Override + public java.lang.String getCadastralCode() { + return _sportello.getCadastralCode(); + } + + /** + * Sets the cadastral code of this sportello. + * + * @param cadastralCode the cadastral code of this sportello + */ + @Override + public void setCadastralCode(java.lang.String cadastralCode) { + _sportello.setCadastralCode(cadastralCode); + } + + /** + * Returns the digital holder tax code of this sportello. + * + * @return the digital holder tax code of this sportello + */ + @Override + public java.lang.String getDigitalHolderTaxCode() { + return _sportello.getDigitalHolderTaxCode(); + } + + /** + * Sets the digital holder tax code of this sportello. + * + * @param digitalHolderTaxCode the digital holder tax code of this sportello + */ + @Override + public void setDigitalHolderTaxCode(java.lang.String digitalHolderTaxCode) { + _sportello.setDigitalHolderTaxCode(digitalHolderTaxCode); + } + + /** + * Returns the stato of this sportello. + * + * @return the stato of this sportello + */ + @Override + public boolean getStato() { + return _sportello.getStato(); + } + + /** + * Returns true if this sportello is stato. + * + * @return true if this sportello is stato; false otherwise + */ + @Override + public boolean isStato() { + return _sportello.isStato(); + } + + /** + * Sets whether this sportello is stato. + * + * @param stato the stato of this sportello + */ + @Override + public void setStato(boolean stato) { + _sportello.setStato(stato); + } + + /** + * Returns the creation date of this sportello. + * + * @return the creation date of this sportello + */ + @Override + public java.util.Date getCreationDate() { + return _sportello.getCreationDate(); + } + + /** + * Sets the creation date of this sportello. + * + * @param creationDate the creation date of this sportello + */ + @Override + public void setCreationDate(java.util.Date creationDate) { + _sportello.setCreationDate(creationDate); + } + + /** + * Returns the last update date of this sportello. + * + * @return the last update date of this sportello + */ + @Override + public java.util.Date getLastUpdateDate() { + return _sportello.getLastUpdateDate(); + } + + /** + * Sets the last update date of this sportello. + * + * @param lastUpdateDate the last update date of this sportello + */ + @Override + public void setLastUpdateDate(java.util.Date lastUpdateDate) { + _sportello.setLastUpdateDate(lastUpdateDate); + } + + /** + * Returns the sent to portos date of this sportello. + * + * @return the sent to portos date of this sportello + */ + @Override + public java.util.Date getSentToPortosDate() { + return _sportello.getSentToPortosDate(); + } + + /** + * Sets the sent to portos date of this sportello. + * + * @param sentToPortosDate the sent to portos date of this sportello + */ + @Override + public void setSentToPortosDate(java.util.Date sentToPortosDate) { + _sportello.setSentToPortosDate(sentToPortosDate); + } + + @Override + public boolean isNew() { + return _sportello.isNew(); + } + + @Override + public void setNew(boolean n) { + _sportello.setNew(n); + } + + @Override + public boolean isCachedModel() { + return _sportello.isCachedModel(); + } + + @Override + public void setCachedModel(boolean cachedModel) { + _sportello.setCachedModel(cachedModel); + } + + @Override + public boolean isEscapedModel() { + return _sportello.isEscapedModel(); + } + + @Override + public java.io.Serializable getPrimaryKeyObj() { + return _sportello.getPrimaryKeyObj(); + } + + @Override + public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { + _sportello.setPrimaryKeyObj(primaryKeyObj); + } + + @Override + public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { + return _sportello.getExpandoBridge(); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portal.model.BaseModel baseModel) { + _sportello.setExpandoBridgeAttributes(baseModel); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { + _sportello.setExpandoBridgeAttributes(expandoBridge); + } + + @Override + public void setExpandoBridgeAttributes( + com.liferay.portal.service.ServiceContext serviceContext) { + _sportello.setExpandoBridgeAttributes(serviceContext); + } + + @Override + public java.lang.Object clone() { + return new SportelloWrapper((Sportello)_sportello.clone()); + } + + @Override + public int compareTo(potos.nextmind.model.Sportello sportello) { + return _sportello.compareTo(sportello); + } + + @Override + public int hashCode() { + return _sportello.hashCode(); + } + + @Override + public com.liferay.portal.model.CacheModel toCacheModel() { + return _sportello.toCacheModel(); + } + + @Override + public potos.nextmind.model.Sportello toEscapedModel() { + return new SportelloWrapper(_sportello.toEscapedModel()); + } + + @Override + public potos.nextmind.model.Sportello toUnescapedModel() { + return new SportelloWrapper(_sportello.toUnescapedModel()); + } + + @Override + public java.lang.String toString() { + return _sportello.toString(); + } + + @Override + public java.lang.String toXmlString() { + return _sportello.toXmlString(); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + + if (!(obj instanceof SportelloWrapper)) { + return false; + } + + SportelloWrapper sportelloWrapper = (SportelloWrapper)obj; + + if (Validator.equals(_sportello, sportelloWrapper._sportello)) { + return true; + } + + return false; + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} + */ + public Sportello getWrappedSportello() { + return _sportello; + } + + @Override + public Sportello getWrappedModel() { + return _sportello; + } + + @Override + public void resetOriginalValues() { + _sportello.resetOriginalValues(); + } + + private Sportello _sportello; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalService.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalService.java new file mode 100644 index 00000000..3c6bbe17 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalService.java @@ -0,0 +1,248 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Foo. 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 ebusu + * @see FooLocalServiceUtil + * @see potos.nextmind.service.base.FooLocalServiceBaseImpl + * @see potos.nextmind.service.impl.FooLocalServiceImpl + * @generated + */ +@Transactional(isolation = Isolation.PORTAL, rollbackFor = { + PortalException.class, SystemException.class}) +public interface FooLocalService extends BaseLocalService, InvokableLocalService, + PersistedModelLocalService { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. Always use {@link FooLocalServiceUtil} to access the foo local service. Add custom service methods to {@link potos.nextmind.service.impl.FooLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. + */ + + /** + * Adds the foo to the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was added + * @throws SystemException if a system exception occurred + */ + @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) + public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Creates a new foo with the primary key. Does not add the foo to the database. + * + * @param fooId the primary key for the new foo + * @return the new foo + */ + public potos.nextmind.model.Foo createFoo(long fooId); + + /** + * Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param fooId the primary key of the foo + * @return the foo that was removed + * @throws PortalException if a foo 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 potos.nextmind.model.Foo deleteFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException; + + /** + * Deletes the foo from the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was removed + * @throws SystemException if a system exception occurred + */ + @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) + public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo) + 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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 potos.nextmind.model.Foo fetchFoo(long fooId) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the foo with the primary key. + * + * @param fooId the primary key of the foo + * @return the foo + * @throws PortalException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) + public potos.nextmind.model.Foo getFoo(long fooId) + 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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of foos + * @throws SystemException if a system exception occurred + */ + @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) + public java.util.List getFoos(int start, int end) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the number of foos. + * + * @return the number of foos + * @throws SystemException if a system exception occurred + */ + @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) + public int getFoosCount() + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was updated + * @throws SystemException if a system exception occurred + */ + @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) + public potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo) + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceClp.java new file mode 100644 index 00000000..84c9e092 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceClp.java @@ -0,0 +1,691 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.InvokableLocalService; + +/** + * @author ebusu + * @generated + */ +public class FooLocalServiceClp implements FooLocalService { + public FooLocalServiceClp(InvokableLocalService invokableLocalService) { + _invokableLocalService = invokableLocalService; + + _methodName0 = "addFoo"; + + _methodParameterTypes0 = new String[] { "potos.nextmind.model.Foo" }; + + _methodName1 = "createFoo"; + + _methodParameterTypes1 = new String[] { "long" }; + + _methodName2 = "deleteFoo"; + + _methodParameterTypes2 = new String[] { "long" }; + + _methodName3 = "deleteFoo"; + + _methodParameterTypes3 = new String[] { "potos.nextmind.model.Foo" }; + + _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 = "fetchFoo"; + + _methodParameterTypes10 = new String[] { "long" }; + + _methodName11 = "getFoo"; + + _methodParameterTypes11 = new String[] { "long" }; + + _methodName12 = "getPersistedModel"; + + _methodParameterTypes12 = new String[] { "java.io.Serializable" }; + + _methodName13 = "getFoos"; + + _methodParameterTypes13 = new String[] { "int", "int" }; + + _methodName14 = "getFoosCount"; + + _methodParameterTypes14 = new String[] { }; + + _methodName15 = "updateFoo"; + + _methodParameterTypes15 = new String[] { "potos.nextmind.model.Foo" }; + + _methodName16 = "getBeanIdentifier"; + + _methodParameterTypes16 = new String[] { }; + + _methodName17 = "setBeanIdentifier"; + + _methodParameterTypes17 = new String[] { "java.lang.String" }; + } + + @Override + public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName0, + _methodParameterTypes0, + new Object[] { ClpSerializer.translateInput(foo) }); + } + catch (Throwable t) { + t = ClpSerializer.translateThrowable(t); + + if (t instanceof com.liferay.portal.kernel.exception.SystemException) { + throw (com.liferay.portal.kernel.exception.SystemException)t; + } + + if (t instanceof RuntimeException) { + throw (RuntimeException)t; + } + else { + throw new RuntimeException(t.getClass().getName() + + " is not a valid exception"); + } + } + + return (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj); + } + + @Override + public potos.nextmind.model.Foo createFoo(long fooId) { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName1, + _methodParameterTypes1, new Object[] { fooId }); + } + 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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj); + } + + @Override + public potos.nextmind.model.Foo deleteFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName2, + _methodParameterTypes2, new Object[] { fooId }); + } + 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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj); + } + + @Override + public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName3, + _methodParameterTypes3, + new Object[] { ClpSerializer.translateInput(foo) }); + } + catch (Throwable t) { + t = ClpSerializer.translateThrowable(t); + + if (t instanceof com.liferay.portal.kernel.exception.SystemException) { + throw (com.liferay.portal.kernel.exception.SystemException)t; + } + + if (t instanceof RuntimeException) { + throw (RuntimeException)t; + } + else { + throw new RuntimeException(t.getClass().getName() + + " is not a valid exception"); + } + } + + return (potos.nextmind.model.Foo)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 potos.nextmind.model.Foo fetchFoo(long fooId) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName10, + _methodParameterTypes10, new Object[] { fooId }); + } + catch (Throwable t) { + t = ClpSerializer.translateThrowable(t); + + if (t instanceof com.liferay.portal.kernel.exception.SystemException) { + throw (com.liferay.portal.kernel.exception.SystemException)t; + } + + if (t instanceof RuntimeException) { + throw (RuntimeException)t; + } + else { + throw new RuntimeException(t.getClass().getName() + + " is not a valid exception"); + } + } + + return (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj); + } + + @Override + public potos.nextmind.model.Foo getFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName11, + _methodParameterTypes11, new Object[] { fooId }); + } + 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 (potos.nextmind.model.Foo)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 getFoos(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 getFoosCount() + 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 potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName15, + _methodParameterTypes15, + new Object[] { ClpSerializer.translateInput(foo) }); + } + catch (Throwable t) { + t = ClpSerializer.translateThrowable(t); + + if (t instanceof com.liferay.portal.kernel.exception.SystemException) { + throw (com.liferay.portal.kernel.exception.SystemException)t; + } + + if (t instanceof RuntimeException) { + throw (RuntimeException)t; + } + else { + throw new RuntimeException(t.getClass().getName() + + " is not a valid exception"); + } + } + + return (potos.nextmind.model.Foo)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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceUtil.java new file mode 100644 index 00000000..b729e8ec --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceUtil.java @@ -0,0 +1,302 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 Foo. This utility wraps + * {@link potos.nextmind.service.impl.FooLocalServiceImpl} 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 ebusu + * @see FooLocalService + * @see potos.nextmind.service.base.FooLocalServiceBaseImpl + * @see potos.nextmind.service.impl.FooLocalServiceImpl + * @generated + */ +public class FooLocalServiceUtil { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify this class directly. Add custom service methods to {@link potos.nextmind.service.impl.FooLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. + */ + + /** + * Adds the foo to the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was added + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return getService().addFoo(foo); + } + + /** + * Creates a new foo with the primary key. Does not add the foo to the database. + * + * @param fooId the primary key for the new foo + * @return the new foo + */ + public static potos.nextmind.model.Foo createFoo(long fooId) { + return getService().createFoo(fooId); + } + + /** + * Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param fooId the primary key of the foo + * @return the foo that was removed + * @throws PortalException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo deleteFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return getService().deleteFoo(fooId); + } + + /** + * Deletes the foo from the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was removed + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo deleteFoo( + potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return getService().deleteFoo(foo); + } + + 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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 potos.nextmind.model.Foo fetchFoo(long fooId) + throws com.liferay.portal.kernel.exception.SystemException { + return getService().fetchFoo(fooId); + } + + /** + * Returns the foo with the primary key. + * + * @param fooId the primary key of the foo + * @return the foo + * @throws PortalException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo getFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return getService().getFoo(fooId); + } + + 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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of foos + * @throws SystemException if a system exception occurred + */ + public static java.util.List getFoos(int start, + int end) throws com.liferay.portal.kernel.exception.SystemException { + return getService().getFoos(start, end); + } + + /** + * Returns the number of foos. + * + * @return the number of foos + * @throws SystemException if a system exception occurred + */ + public static int getFoosCount() + throws com.liferay.portal.kernel.exception.SystemException { + return getService().getFoosCount(); + } + + /** + * Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was updated + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo updateFoo( + potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return getService().updateFoo(foo); + } + + /** + * 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 FooLocalService getService() { + if (_service == null) { + InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), + FooLocalService.class.getName()); + + if (invokableLocalService instanceof FooLocalService) { + _service = (FooLocalService)invokableLocalService; + } + else { + _service = new FooLocalServiceClp(invokableLocalService); + } + + ReferenceRegistry.registerReference(FooLocalServiceUtil.class, + "_service"); + } + + return _service; + } + + /** + * @deprecated As of 6.2.0 + */ + public void setService(FooLocalService service) { + } + + private static FooLocalService _service; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceWrapper.java new file mode 100644 index 00000000..3f635e5a --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceWrapper.java @@ -0,0 +1,304 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.ServiceWrapper; + +/** + * Provides a wrapper for {@link FooLocalService}. + * + * @author ebusu + * @see FooLocalService + * @generated + */ +public class FooLocalServiceWrapper implements FooLocalService, + ServiceWrapper { + public FooLocalServiceWrapper(FooLocalService fooLocalService) { + _fooLocalService = fooLocalService; + } + + /** + * Adds the foo to the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was added + * @throws SystemException if a system exception occurred + */ + @Override + public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.addFoo(foo); + } + + /** + * Creates a new foo with the primary key. Does not add the foo to the database. + * + * @param fooId the primary key for the new foo + * @return the new foo + */ + @Override + public potos.nextmind.model.Foo createFoo(long fooId) { + return _fooLocalService.createFoo(fooId); + } + + /** + * Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param fooId the primary key of the foo + * @return the foo that was removed + * @throws PortalException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public potos.nextmind.model.Foo deleteFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.deleteFoo(fooId); + } + + /** + * Deletes the foo from the database. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was removed + * @throws SystemException if a system exception occurred + */ + @Override + public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.deleteFoo(foo); + } + + @Override + public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { + return _fooLocalService.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 _fooLocalService.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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 _fooLocalService.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 potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param dynamicQuery the dynamic query + * @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 _fooLocalService.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 _fooLocalService.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 _fooLocalService.dynamicQueryCount(dynamicQuery, projection); + } + + @Override + public potos.nextmind.model.Foo fetchFoo(long fooId) + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.fetchFoo(fooId); + } + + /** + * Returns the foo with the primary key. + * + * @param fooId the primary key of the foo + * @return the foo + * @throws PortalException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public potos.nextmind.model.Foo getFoo(long fooId) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.getFoo(fooId); + } + + @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 _fooLocalService.getPersistedModel(primaryKeyObj); + } + + /** + * Returns a range of all the foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of foos + * @throws SystemException if a system exception occurred + */ + @Override + public java.util.List getFoos(int start, int end) + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.getFoos(start, end); + } + + /** + * Returns the number of foos. + * + * @return the number of foos + * @throws SystemException if a system exception occurred + */ + @Override + public int getFoosCount() + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.getFoosCount(); + } + + /** + * Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. + * + * @param foo the foo + * @return the foo that was updated + * @throws SystemException if a system exception occurred + */ + @Override + public potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return _fooLocalService.updateFoo(foo); + } + + /** + * Returns the Spring bean ID for this bean. + * + * @return the Spring bean ID for this bean + */ + @Override + public java.lang.String getBeanIdentifier() { + return _fooLocalService.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) { + _fooLocalService.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 _fooLocalService.invokeMethod(name, parameterTypes, arguments); + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} + */ + public FooLocalService getWrappedFooLocalService() { + return _fooLocalService; + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} + */ + public void setWrappedFooLocalService(FooLocalService fooLocalService) { + _fooLocalService = fooLocalService; + } + + @Override + public FooLocalService getWrappedService() { + return _fooLocalService; + } + + @Override + public void setWrappedService(FooLocalService fooLocalService) { + _fooLocalService = fooLocalService; + } + + private FooLocalService _fooLocalService; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooService.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooService.java new file mode 100644 index 00000000..2a235abe --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooService.java @@ -0,0 +1,66 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.jsonwebservice.JSONWebService; +import com.liferay.portal.kernel.transaction.Isolation; +import com.liferay.portal.kernel.transaction.Transactional; +import com.liferay.portal.security.ac.AccessControlled; +import com.liferay.portal.service.BaseService; +import com.liferay.portal.service.InvokableService; + +/** + * Provides the remote service interface for Foo. Methods of this + * service are expected to have security checks based on the propagated JAAS + * credentials because this service can be accessed remotely. + * + * @author ebusu + * @see FooServiceUtil + * @see potos.nextmind.service.base.FooServiceBaseImpl + * @see potos.nextmind.service.impl.FooServiceImpl + * @generated + */ +@AccessControlled +@JSONWebService +@Transactional(isolation = Isolation.PORTAL, rollbackFor = { + PortalException.class, SystemException.class}) +public interface FooService extends BaseService, InvokableService { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. Always use {@link FooServiceUtil} to access the foo remote service. Add custom service methods to {@link potos.nextmind.service.impl.FooServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. + */ + + /** + * 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceClp.java new file mode 100644 index 00000000..0834372c --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceClp.java @@ -0,0 +1,91 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.InvokableService; + +/** + * @author ebusu + * @generated + */ +public class FooServiceClp implements FooService { + public FooServiceClp(InvokableService invokableService) { + _invokableService = invokableService; + + _methodName0 = "getBeanIdentifier"; + + _methodParameterTypes0 = new String[] { }; + + _methodName1 = "setBeanIdentifier"; + + _methodParameterTypes1 = new String[] { "java.lang.String" }; + } + + @Override + public java.lang.String getBeanIdentifier() { + Object returnObj = null; + + try { + returnObj = _invokableService.invokeMethod(_methodName0, + _methodParameterTypes0, 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 { + _invokableService.invokeMethod(_methodName1, + _methodParameterTypes1, + 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 InvokableService _invokableService; + private String _methodName0; + private String[] _methodParameterTypes0; + private String _methodName1; + private String[] _methodParameterTypes1; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceUtil.java new file mode 100644 index 00000000..69ec5628 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceUtil.java @@ -0,0 +1,95 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; +import com.liferay.portal.kernel.util.ReferenceRegistry; +import com.liferay.portal.service.InvokableService; + +/** + * Provides the remote service utility for Foo. This utility wraps + * {@link potos.nextmind.service.impl.FooServiceImpl} and is the + * primary access point for service operations in application layer code running + * on a remote server. Methods of this service are expected to have security + * checks based on the propagated JAAS credentials because this service can be + * accessed remotely. + * + * @author ebusu + * @see FooService + * @see potos.nextmind.service.base.FooServiceBaseImpl + * @see potos.nextmind.service.impl.FooServiceImpl + * @generated + */ +public class FooServiceUtil { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify this class directly. Add custom service methods to {@link potos.nextmind.service.impl.FooServiceImpl} and rerun ServiceBuilder to regenerate this class. + */ + + /** + * 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 FooService getService() { + if (_service == null) { + InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), + FooService.class.getName()); + + if (invokableService instanceof FooService) { + _service = (FooService)invokableService; + } + else { + _service = new FooServiceClp(invokableService); + } + + ReferenceRegistry.registerReference(FooServiceUtil.class, "_service"); + } + + return _service; + } + + /** + * @deprecated As of 6.2.0 + */ + public void setService(FooService service) { + } + + private static FooService _service; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceWrapper.java new file mode 100644 index 00000000..d7612b5a --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceWrapper.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.ServiceWrapper; + +/** + * Provides a wrapper for {@link FooService}. + * + * @author ebusu + * @see FooService + * @generated + */ +public class FooServiceWrapper implements FooService, + ServiceWrapper { + public FooServiceWrapper(FooService fooService) { + _fooService = fooService; + } + + /** + * Returns the Spring bean ID for this bean. + * + * @return the Spring bean ID for this bean + */ + @Override + public java.lang.String getBeanIdentifier() { + return _fooService.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) { + _fooService.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 _fooService.invokeMethod(name, parameterTypes, arguments); + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} + */ + public FooService getWrappedFooService() { + return _fooService; + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} + */ + public void setWrappedFooService(FooService fooService) { + _fooService = fooService; + } + + @Override + public FooService getWrappedService() { + return _fooService; + } + + @Override + public void setWrappedService(FooService fooService) { + _fooService = fooService; + } + + private FooService _fooService; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloService.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloService.java new file mode 100644 index 00000000..605ad898 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloService.java @@ -0,0 +1,66 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.jsonwebservice.JSONWebService; +import com.liferay.portal.kernel.transaction.Isolation; +import com.liferay.portal.kernel.transaction.Transactional; +import com.liferay.portal.security.ac.AccessControlled; +import com.liferay.portal.service.BaseService; +import com.liferay.portal.service.InvokableService; + +/** + * Provides the remote service interface for Sportello. Methods of this + * service are expected to have security checks based on the propagated JAAS + * credentials because this service can be accessed remotely. + * + * @author ebusu + * @see SportelloServiceUtil + * @see potos.nextmind.service.base.SportelloServiceBaseImpl + * @see potos.nextmind.service.impl.SportelloServiceImpl + * @generated + */ +@AccessControlled +@JSONWebService +@Transactional(isolation = Isolation.PORTAL, rollbackFor = { + PortalException.class, SystemException.class}) +public interface SportelloService extends BaseService, InvokableService { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. Always use {@link SportelloServiceUtil} to access the sportello remote service. Add custom service methods to {@link potos.nextmind.service.impl.SportelloServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. + */ + + /** + * 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceClp.java new file mode 100644 index 00000000..832214d9 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceClp.java @@ -0,0 +1,91 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.InvokableService; + +/** + * @author ebusu + * @generated + */ +public class SportelloServiceClp implements SportelloService { + public SportelloServiceClp(InvokableService invokableService) { + _invokableService = invokableService; + + _methodName0 = "getBeanIdentifier"; + + _methodParameterTypes0 = new String[] { }; + + _methodName1 = "setBeanIdentifier"; + + _methodParameterTypes1 = new String[] { "java.lang.String" }; + } + + @Override + public java.lang.String getBeanIdentifier() { + Object returnObj = null; + + try { + returnObj = _invokableService.invokeMethod(_methodName0, + _methodParameterTypes0, 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 { + _invokableService.invokeMethod(_methodName1, + _methodParameterTypes1, + 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 InvokableService _invokableService; + private String _methodName0; + private String[] _methodParameterTypes0; + private String _methodName1; + private String[] _methodParameterTypes1; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceUtil.java new file mode 100644 index 00000000..c3455871 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceUtil.java @@ -0,0 +1,96 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; +import com.liferay.portal.kernel.util.ReferenceRegistry; +import com.liferay.portal.service.InvokableService; + +/** + * Provides the remote service utility for Sportello. This utility wraps + * {@link potos.nextmind.service.impl.SportelloServiceImpl} and is the + * primary access point for service operations in application layer code running + * on a remote server. Methods of this service are expected to have security + * checks based on the propagated JAAS credentials because this service can be + * accessed remotely. + * + * @author ebusu + * @see SportelloService + * @see potos.nextmind.service.base.SportelloServiceBaseImpl + * @see potos.nextmind.service.impl.SportelloServiceImpl + * @generated + */ +public class SportelloServiceUtil { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify this class directly. Add custom service methods to {@link potos.nextmind.service.impl.SportelloServiceImpl} and rerun ServiceBuilder to regenerate this class. + */ + + /** + * 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 SportelloService getService() { + if (_service == null) { + InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), + SportelloService.class.getName()); + + if (invokableService instanceof SportelloService) { + _service = (SportelloService)invokableService; + } + else { + _service = new SportelloServiceClp(invokableService); + } + + ReferenceRegistry.registerReference(SportelloServiceUtil.class, + "_service"); + } + + return _service; + } + + /** + * @deprecated As of 6.2.0 + */ + public void setService(SportelloService service) { + } + + private static SportelloService _service; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceWrapper.java new file mode 100644 index 00000000..77502d43 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceWrapper.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service; + +import com.liferay.portal.service.ServiceWrapper; + +/** + * Provides a wrapper for {@link SportelloService}. + * + * @author ebusu + * @see SportelloService + * @generated + */ +public class SportelloServiceWrapper implements SportelloService, + ServiceWrapper { + public SportelloServiceWrapper(SportelloService sportelloService) { + _sportelloService = sportelloService; + } + + /** + * Returns the Spring bean ID for this bean. + * + * @return the Spring bean ID for this bean + */ + @Override + public java.lang.String getBeanIdentifier() { + return _sportelloService.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) { + _sportelloService.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 _sportelloService.invokeMethod(name, parameterTypes, arguments); + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} + */ + public SportelloService getWrappedSportelloService() { + return _sportelloService; + } + + /** + * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} + */ + public void setWrappedSportelloService(SportelloService sportelloService) { + _sportelloService = sportelloService; + } + + @Override + public SportelloService getWrappedService() { + return _sportelloService; + } + + @Override + public void setWrappedService(SportelloService sportelloService) { + _sportelloService = sportelloService; + } + + private SportelloService _sportelloService; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooActionableDynamicQuery.java new file mode 100644 index 00000000..ca88a369 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooActionableDynamicQuery.java @@ -0,0 +1,38 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.persistence; + +import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; +import com.liferay.portal.kernel.exception.SystemException; + +import potos.nextmind.model.Foo; + +import potos.nextmind.service.FooLocalServiceUtil; + +/** + * @author ebusu + * @generated + */ +public abstract class FooActionableDynamicQuery + extends BaseActionableDynamicQuery { + public FooActionableDynamicQuery() throws SystemException { + setBaseLocalService(FooLocalServiceUtil.getService()); + setClass(Foo.class); + + setClassLoader(potos.nextmind.service.ClpSerializer.class.getClassLoader()); + + setPrimaryKeyPropertyName("fooId"); + } +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooPersistence.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooPersistence.java new file mode 100644 index 00000000..26aef622 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooPersistence.java @@ -0,0 +1,289 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.persistence; + +import com.liferay.portal.service.persistence.BasePersistence; + +import potos.nextmind.model.Foo; + +/** + * The persistence interface for the foo service. + * + *

+ * Caching information and settings can be found in portal.properties + *

+ * + * @author ebusu + * @see FooPersistenceImpl + * @see FooUtil + * @generated + */ +public interface FooPersistence extends BasePersistence { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. Always use {@link FooUtil} to access the foo persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. + */ + + /** + * Returns all the foos where field2 = ?. + * + * @param field2 the field2 + * @return the matching foos + * @throws SystemException if a system exception occurred + */ + public java.util.List findByField2(boolean field2) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns a range of all the foos where field2 = ?. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param field2 the field2 + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of matching foos + * @throws SystemException if a system exception occurred + */ + public java.util.List findByField2( + boolean field2, int start, int end) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns an ordered range of all the foos where field2 = ?. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param field2 the field2 + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of matching foos + * @throws SystemException if a system exception occurred + */ + public java.util.List findByField2( + boolean field2, int start, int end, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the first foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the first matching foo + * @throws potos.nextmind.NoSuchFooException if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo findByField2_First(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException; + + /** + * Returns the first foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the first matching foo, or null if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo fetchByField2_First(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the last foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the last matching foo + * @throws potos.nextmind.NoSuchFooException if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo findByField2_Last(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException; + + /** + * Returns the last foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the last matching foo, or null if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo fetchByField2_Last(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the foos before and after the current foo in the ordered set where field2 = ?. + * + * @param fooId the primary key of the current foo + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the previous, current, and next foo + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo[] findByField2_PrevAndNext(long fooId, + boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException; + + /** + * Removes all the foos where field2 = ? from the database. + * + * @param field2 the field2 + * @throws SystemException if a system exception occurred + */ + public void removeByField2(boolean field2) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the number of foos where field2 = ?. + * + * @param field2 the field2 + * @return the number of matching foos + * @throws SystemException if a system exception occurred + */ + public int countByField2(boolean field2) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Caches the foo in the entity cache if it is enabled. + * + * @param foo the foo + */ + public void cacheResult(potos.nextmind.model.Foo foo); + + /** + * Caches the foos in the entity cache if it is enabled. + * + * @param foos the foos + */ + public void cacheResult(java.util.List foos); + + /** + * Creates a new foo with the primary key. Does not add the foo to the database. + * + * @param fooId the primary key for the new foo + * @return the new foo + */ + public potos.nextmind.model.Foo create(long fooId); + + /** + * Removes the foo with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param fooId the primary key of the foo + * @return the foo that was removed + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo remove(long fooId) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException; + + public potos.nextmind.model.Foo updateImpl(potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the foo with the primary key or throws a {@link potos.nextmind.NoSuchFooException} if it could not be found. + * + * @param fooId the primary key of the foo + * @return the foo + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo findByPrimaryKey(long fooId) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException; + + /** + * Returns the foo with the primary key or returns null if it could not be found. + * + * @param fooId the primary key of the foo + * @return the foo, or null if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Foo fetchByPrimaryKey(long fooId) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns all the foos. + * + * @return the foos + * @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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of foos + * @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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of foos + * @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 foos from the database. + * + * @throws SystemException if a system exception occurred + */ + public void removeAll() + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the number of foos. + * + * @return the number of foos + * @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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooUtil.java new file mode 100644 index 00000000..a1367a8e --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooUtil.java @@ -0,0 +1,429 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 potos.nextmind.model.Foo; + +import java.util.List; + +/** + * The persistence utility for the foo service. This utility wraps {@link FooPersistenceImpl} 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 ebusu + * @see FooPersistence + * @see FooPersistenceImpl + * @generated + */ +public class FooUtil { + /* + * 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(Foo foo) { + getPersistence().clearCache(foo); + } + + /** + * @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 Foo update(Foo foo) throws SystemException { + return getPersistence().update(foo); + } + + /** + * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) + */ + public static Foo update(Foo foo, ServiceContext serviceContext) + throws SystemException { + return getPersistence().update(foo, serviceContext); + } + + /** + * Returns all the foos where field2 = ?. + * + * @param field2 the field2 + * @return the matching foos + * @throws SystemException if a system exception occurred + */ + public static java.util.List findByField2( + boolean field2) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().findByField2(field2); + } + + /** + * Returns a range of all the foos where field2 = ?. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param field2 the field2 + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of matching foos + * @throws SystemException if a system exception occurred + */ + public static java.util.List findByField2( + boolean field2, int start, int end) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().findByField2(field2, start, end); + } + + /** + * Returns an ordered range of all the foos where field2 = ?. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param field2 the field2 + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of matching foos + * @throws SystemException if a system exception occurred + */ + public static java.util.List findByField2( + boolean field2, int start, int end, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence() + .findByField2(field2, start, end, orderByComparator); + } + + /** + * Returns the first foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the first matching foo + * @throws potos.nextmind.NoSuchFooException if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo findByField2_First(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException { + return getPersistence().findByField2_First(field2, orderByComparator); + } + + /** + * Returns the first foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the first matching foo, or null if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo fetchByField2_First(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().fetchByField2_First(field2, orderByComparator); + } + + /** + * Returns the last foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the last matching foo + * @throws potos.nextmind.NoSuchFooException if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo findByField2_Last(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException { + return getPersistence().findByField2_Last(field2, orderByComparator); + } + + /** + * Returns the last foo in the ordered set where field2 = ?. + * + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the last matching foo, or null if a matching foo could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo fetchByField2_Last(boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().fetchByField2_Last(field2, orderByComparator); + } + + /** + * Returns the foos before and after the current foo in the ordered set where field2 = ?. + * + * @param fooId the primary key of the current foo + * @param field2 the field2 + * @param orderByComparator the comparator to order the set by (optionally null) + * @return the previous, current, and next foo + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo[] findByField2_PrevAndNext( + long fooId, boolean field2, + com.liferay.portal.kernel.util.OrderByComparator orderByComparator) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException { + return getPersistence() + .findByField2_PrevAndNext(fooId, field2, orderByComparator); + } + + /** + * Removes all the foos where field2 = ? from the database. + * + * @param field2 the field2 + * @throws SystemException if a system exception occurred + */ + public static void removeByField2(boolean field2) + throws com.liferay.portal.kernel.exception.SystemException { + getPersistence().removeByField2(field2); + } + + /** + * Returns the number of foos where field2 = ?. + * + * @param field2 the field2 + * @return the number of matching foos + * @throws SystemException if a system exception occurred + */ + public static int countByField2(boolean field2) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().countByField2(field2); + } + + /** + * Caches the foo in the entity cache if it is enabled. + * + * @param foo the foo + */ + public static void cacheResult(potos.nextmind.model.Foo foo) { + getPersistence().cacheResult(foo); + } + + /** + * Caches the foos in the entity cache if it is enabled. + * + * @param foos the foos + */ + public static void cacheResult( + java.util.List foos) { + getPersistence().cacheResult(foos); + } + + /** + * Creates a new foo with the primary key. Does not add the foo to the database. + * + * @param fooId the primary key for the new foo + * @return the new foo + */ + public static potos.nextmind.model.Foo create(long fooId) { + return getPersistence().create(fooId); + } + + /** + * Removes the foo with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param fooId the primary key of the foo + * @return the foo that was removed + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo remove(long fooId) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException { + return getPersistence().remove(fooId); + } + + public static potos.nextmind.model.Foo updateImpl( + potos.nextmind.model.Foo foo) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().updateImpl(foo); + } + + /** + * Returns the foo with the primary key or throws a {@link potos.nextmind.NoSuchFooException} if it could not be found. + * + * @param fooId the primary key of the foo + * @return the foo + * @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo findByPrimaryKey(long fooId) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchFooException { + return getPersistence().findByPrimaryKey(fooId); + } + + /** + * Returns the foo with the primary key or returns null if it could not be found. + * + * @param fooId the primary key of the foo + * @return the foo, or null if a foo with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Foo fetchByPrimaryKey(long fooId) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().fetchByPrimaryKey(fooId); + } + + /** + * Returns all the foos. + * + * @return the foos + * @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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @return the range of foos + * @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 foos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.FooModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of foos + * @param end the upper bound of the range of foos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of foos + * @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 foos 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 foos. + * + * @return the number of foos + * @throws SystemException if a system exception occurred + */ + public static int countAll() + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().countAll(); + } + + public static FooPersistence getPersistence() { + if (_persistence == null) { + _persistence = (FooPersistence)PortletBeanLocatorUtil.locate(potos.nextmind.service.ClpSerializer.getServletContextName(), + FooPersistence.class.getName()); + + ReferenceRegistry.registerReference(FooUtil.class, "_persistence"); + } + + return _persistence; + } + + /** + * @deprecated As of 6.2.0 + */ + public void setPersistence(FooPersistence persistence) { + } + + private static FooPersistence _persistence; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloPersistence.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloPersistence.java new file mode 100644 index 00000000..7d5ebff9 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloPersistence.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.persistence; + +import com.liferay.portal.service.persistence.BasePersistence; + +import potos.nextmind.model.Sportello; + +/** + * The persistence interface for the sportello service. + * + *

+ * Caching information and settings can be found in portal.properties + *

+ * + * @author ebusu + * @see SportelloPersistenceImpl + * @see SportelloUtil + * @generated + */ +public interface SportelloPersistence extends BasePersistence { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this interface directly. Always use {@link SportelloUtil} to access the sportello persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. + */ + + /** + * Caches the sportello in the entity cache if it is enabled. + * + * @param sportello the sportello + */ + public void cacheResult(potos.nextmind.model.Sportello sportello); + + /** + * Caches the sportellos in the entity cache if it is enabled. + * + * @param sportellos the sportellos + */ + public void cacheResult( + java.util.List sportellos); + + /** + * Creates a new sportello with the primary key. Does not add the sportello to the database. + * + * @param id the primary key for the new sportello + * @return the new sportello + */ + public potos.nextmind.model.Sportello create(long id); + + /** + * Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param id the primary key of the sportello + * @return the sportello that was removed + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Sportello remove(long id) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchSportelloException; + + public potos.nextmind.model.Sportello updateImpl( + potos.nextmind.model.Sportello sportello) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Sportello findByPrimaryKey(long id) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchSportelloException; + + /** + * Returns the sportello with the primary key or returns null if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello, or null if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public potos.nextmind.model.Sportello fetchByPrimaryKey(long id) + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns all the sportellos. + * + * @return the sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @return the range of sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of sportellos + * @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 sportellos from the database. + * + * @throws SystemException if a system exception occurred + */ + public void removeAll() + throws com.liferay.portal.kernel.exception.SystemException; + + /** + * Returns the number of sportellos. + * + * @return the number of sportellos + * @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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloUtil.java new file mode 100644 index 00000000..69991de3 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloUtil.java @@ -0,0 +1,277 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 potos.nextmind.model.Sportello; + +import java.util.List; + +/** + * The persistence utility for the sportello service. This utility wraps {@link SportelloPersistenceImpl} 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 ebusu + * @see SportelloPersistence + * @see SportelloPersistenceImpl + * @generated + */ +public class SportelloUtil { + /* + * 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(Sportello sportello) { + getPersistence().clearCache(sportello); + } + + /** + * @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 Sportello update(Sportello sportello) + throws SystemException { + return getPersistence().update(sportello); + } + + /** + * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) + */ + public static Sportello update(Sportello sportello, + ServiceContext serviceContext) throws SystemException { + return getPersistence().update(sportello, serviceContext); + } + + /** + * Caches the sportello in the entity cache if it is enabled. + * + * @param sportello the sportello + */ + public static void cacheResult(potos.nextmind.model.Sportello sportello) { + getPersistence().cacheResult(sportello); + } + + /** + * Caches the sportellos in the entity cache if it is enabled. + * + * @param sportellos the sportellos + */ + public static void cacheResult( + java.util.List sportellos) { + getPersistence().cacheResult(sportellos); + } + + /** + * Creates a new sportello with the primary key. Does not add the sportello to the database. + * + * @param id the primary key for the new sportello + * @return the new sportello + */ + public static potos.nextmind.model.Sportello create(long id) { + return getPersistence().create(id); + } + + /** + * Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param id the primary key of the sportello + * @return the sportello that was removed + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Sportello remove(long id) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchSportelloException { + return getPersistence().remove(id); + } + + public static potos.nextmind.model.Sportello updateImpl( + potos.nextmind.model.Sportello sportello) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().updateImpl(sportello); + } + + /** + * Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Sportello findByPrimaryKey(long id) + throws com.liferay.portal.kernel.exception.SystemException, + potos.nextmind.NoSuchSportelloException { + return getPersistence().findByPrimaryKey(id); + } + + /** + * Returns the sportello with the primary key or returns null if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello, or null if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + public static potos.nextmind.model.Sportello fetchByPrimaryKey(long id) + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().fetchByPrimaryKey(id); + } + + /** + * Returns all the sportellos. + * + * @return the sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @return the range of sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of sportellos + * @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 sportellos 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 sportellos. + * + * @return the number of sportellos + * @throws SystemException if a system exception occurred + */ + public static int countAll() + throws com.liferay.portal.kernel.exception.SystemException { + return getPersistence().countAll(); + } + + public static SportelloPersistence getPersistence() { + if (_persistence == null) { + _persistence = (SportelloPersistence)PortletBeanLocatorUtil.locate(potos.nextmind.service.ClpSerializer.getServletContextName(), + SportelloPersistence.class.getName()); + + ReferenceRegistry.registerReference(SportelloUtil.class, + "_persistence"); + } + + return _persistence; + } + + /** + * @deprecated As of 6.2.0 + */ + public void setPersistence(SportelloPersistence persistence) { + } + + private static SportelloPersistence _persistence; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java new file mode 100644 index 00000000..f9d91982 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java @@ -0,0 +1,43 @@ +package integratore; + +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +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.model.Company; +import com.liferay.portal.model.Role; +import com.liferay.portal.model.RoleConstants; +import com.liferay.portal.model.User; +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.CompanyLocalServiceUtil; +import com.liferay.portal.service.RoleLocalServiceUtil; +import com.liferay.portal.service.UserLocalServiceUtil; + +public class IntegratoreSchedulato implements MessageListener { + + @Override + public void receive(Message arg0) throws MessageListenerException { + // TODO Auto-generated method stub + try { + getPraticaInformation(arg0); + } catch (SystemException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (PortalException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + public void getPraticaInformation(Message message) throws SystemException, PortalException, Exception { + + System.out.println("get information from db and create an obj"); + } + +} diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloBaseImpl.java new file mode 100644 index 00000000..cf22e330 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloBaseImpl.java @@ -0,0 +1,38 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model.impl; + +import potos.nextmind.model.Sportello; + +/** + * The extended model base implementation for the Sportello service. Represents a row in the "sportello" 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 SportelloImpl}. + *

+ * + * @author ebusu + * @see SportelloImpl + * @see potos.nextmind.model.Sportello + * @generated + */ +public abstract class SportelloBaseImpl extends SportelloModelImpl + implements Sportello { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this class directly. All methods that expect a sportello model instance should use the {@link Sportello} interface instead. + */ +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloCacheModel.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloCacheModel.java new file mode 100644 index 00000000..fb156c39 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloCacheModel.java @@ -0,0 +1,315 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model.impl; + +import com.liferay.portal.kernel.util.StringBundler; +import com.liferay.portal.kernel.util.StringPool; +import com.liferay.portal.model.CacheModel; + +import potos.nextmind.model.Sportello; + +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 Sportello in entity cache. + * + * @author ebusu + * @see Sportello + * @generated + */ +public class SportelloCacheModel implements CacheModel, + Externalizable { + @Override + public String toString() { + StringBundler sb = new StringBundler(33); + + sb.append("{id="); + sb.append(id); + sb.append(", application="); + sb.append(application); + sb.append(", clientId="); + sb.append(clientId); + sb.append(", context="); + sb.append(context); + sb.append(", instanceId="); + sb.append(instanceId); + sb.append(", ipaCode="); + sb.append(ipaCode); + sb.append(", proceedingType="); + sb.append(proceedingType); + sb.append(", url="); + sb.append(url); + sb.append(", contentType="); + sb.append(contentType); + sb.append(", operation="); + sb.append(operation); + sb.append(", cadastralCode="); + sb.append(cadastralCode); + sb.append(", digitalHolderTaxCode="); + sb.append(digitalHolderTaxCode); + sb.append(", stato="); + sb.append(stato); + sb.append(", creationDate="); + sb.append(creationDate); + sb.append(", lastUpdateDate="); + sb.append(lastUpdateDate); + sb.append(", sentToPortosDate="); + sb.append(sentToPortosDate); + sb.append("}"); + + return sb.toString(); + } + + @Override + public Sportello toEntityModel() { + SportelloImpl sportelloImpl = new SportelloImpl(); + + sportelloImpl.setId(id); + + if (application == null) { + sportelloImpl.setApplication(StringPool.BLANK); + } + else { + sportelloImpl.setApplication(application); + } + + if (clientId == null) { + sportelloImpl.setClientId(StringPool.BLANK); + } + else { + sportelloImpl.setClientId(clientId); + } + + if (context == null) { + sportelloImpl.setContext(StringPool.BLANK); + } + else { + sportelloImpl.setContext(context); + } + + if (instanceId == null) { + sportelloImpl.setInstanceId(StringPool.BLANK); + } + else { + sportelloImpl.setInstanceId(instanceId); + } + + if (ipaCode == null) { + sportelloImpl.setIpaCode(StringPool.BLANK); + } + else { + sportelloImpl.setIpaCode(ipaCode); + } + + if (proceedingType == null) { + sportelloImpl.setProceedingType(StringPool.BLANK); + } + else { + sportelloImpl.setProceedingType(proceedingType); + } + + if (url == null) { + sportelloImpl.setUrl(StringPool.BLANK); + } + else { + sportelloImpl.setUrl(url); + } + + if (contentType == null) { + sportelloImpl.setContentType(StringPool.BLANK); + } + else { + sportelloImpl.setContentType(contentType); + } + + if (operation == null) { + sportelloImpl.setOperation(StringPool.BLANK); + } + else { + sportelloImpl.setOperation(operation); + } + + if (cadastralCode == null) { + sportelloImpl.setCadastralCode(StringPool.BLANK); + } + else { + sportelloImpl.setCadastralCode(cadastralCode); + } + + if (digitalHolderTaxCode == null) { + sportelloImpl.setDigitalHolderTaxCode(StringPool.BLANK); + } + else { + sportelloImpl.setDigitalHolderTaxCode(digitalHolderTaxCode); + } + + sportelloImpl.setStato(stato); + + if (creationDate == Long.MIN_VALUE) { + sportelloImpl.setCreationDate(null); + } + else { + sportelloImpl.setCreationDate(new Date(creationDate)); + } + + if (lastUpdateDate == Long.MIN_VALUE) { + sportelloImpl.setLastUpdateDate(null); + } + else { + sportelloImpl.setLastUpdateDate(new Date(lastUpdateDate)); + } + + if (sentToPortosDate == Long.MIN_VALUE) { + sportelloImpl.setSentToPortosDate(null); + } + else { + sportelloImpl.setSentToPortosDate(new Date(sentToPortosDate)); + } + + sportelloImpl.resetOriginalValues(); + + return sportelloImpl; + } + + @Override + public void readExternal(ObjectInput objectInput) throws IOException { + id = objectInput.readLong(); + application = objectInput.readUTF(); + clientId = objectInput.readUTF(); + context = objectInput.readUTF(); + instanceId = objectInput.readUTF(); + ipaCode = objectInput.readUTF(); + proceedingType = objectInput.readUTF(); + url = objectInput.readUTF(); + contentType = objectInput.readUTF(); + operation = objectInput.readUTF(); + cadastralCode = objectInput.readUTF(); + digitalHolderTaxCode = objectInput.readUTF(); + stato = objectInput.readBoolean(); + creationDate = objectInput.readLong(); + lastUpdateDate = objectInput.readLong(); + sentToPortosDate = objectInput.readLong(); + } + + @Override + public void writeExternal(ObjectOutput objectOutput) + throws IOException { + objectOutput.writeLong(id); + + if (application == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(application); + } + + if (clientId == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(clientId); + } + + if (context == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(context); + } + + if (instanceId == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(instanceId); + } + + if (ipaCode == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(ipaCode); + } + + if (proceedingType == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(proceedingType); + } + + if (url == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(url); + } + + if (contentType == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(contentType); + } + + if (operation == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(operation); + } + + if (cadastralCode == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(cadastralCode); + } + + if (digitalHolderTaxCode == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(digitalHolderTaxCode); + } + + objectOutput.writeBoolean(stato); + objectOutput.writeLong(creationDate); + objectOutput.writeLong(lastUpdateDate); + objectOutput.writeLong(sentToPortosDate); + } + + public long id; + public String application; + public String clientId; + public String context; + public String instanceId; + public String ipaCode; + public String proceedingType; + public String url; + public String contentType; + public String operation; + public String cadastralCode; + public String digitalHolderTaxCode; + public boolean stato; + public long creationDate; + public long lastUpdateDate; + public long sentToPortosDate; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloImpl.java new file mode 100644 index 00000000..53ebeca1 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloImpl.java @@ -0,0 +1,34 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model.impl; + +/** + * The extended model implementation for the Sportello service. Represents a row in the "sportello" 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 potos.nextmind.model.Sportello} interface. + *

+ * + * @author ebusu + */ +public class SportelloImpl extends SportelloBaseImpl { + /* + * NOTE FOR DEVELOPERS: + * + * Never reference this class directly. All methods that expect a sportello model instance should use the {@link potos.nextmind.model.Sportello} interface instead. + */ + public SportelloImpl() { + } +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloModelImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloModelImpl.java new file mode 100644 index 00000000..506fc2c0 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloModelImpl.java @@ -0,0 +1,910 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.model.impl; + +import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; +import com.liferay.portal.kernel.json.JSON; +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 potos.nextmind.model.Sportello; +import potos.nextmind.model.SportelloModel; +import potos.nextmind.model.SportelloSoap; + +import java.io.Serializable; + +import java.sql.Types; + +import java.util.ArrayList; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * The base model implementation for the Sportello service. Represents a row in the "sportello" database table, with each column mapped to a property of this class. + * + *

+ * This implementation and its corresponding interface {@link potos.nextmind.model.SportelloModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link SportelloImpl}. + *

+ * + * @author ebusu + * @see SportelloImpl + * @see potos.nextmind.model.Sportello + * @see potos.nextmind.model.SportelloModel + * @generated + */ +@JSON(strict = true) +public class SportelloModelImpl extends BaseModelImpl + implements SportelloModel { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this class directly. All methods that expect a sportello model instance should use the {@link potos.nextmind.model.Sportello} interface instead. + */ + public static final String TABLE_NAME = "sportello"; + public static final Object[][] TABLE_COLUMNS = { + { "id", Types.BIGINT }, + { "application", Types.VARCHAR }, + { "client_id", Types.VARCHAR }, + { "context", Types.VARCHAR }, + { "instance_id", Types.VARCHAR }, + { "ipa_code", Types.VARCHAR }, + { "proceeding_type", Types.VARCHAR }, + { "url", Types.VARCHAR }, + { "content_type", Types.VARCHAR }, + { "operation", Types.VARCHAR }, + { "cadastral_code", Types.VARCHAR }, + { "digital_holder_tax_code", Types.VARCHAR }, + { "stato", Types.BOOLEAN }, + { "creation_date", Types.TIMESTAMP }, + { "last_update_date", Types.TIMESTAMP }, + { "sent_to_portos_date", Types.TIMESTAMP } + }; + public static final String TABLE_SQL_CREATE = "create table sportello (id LONG not null primary key,application VARCHAR(75) null,client_id VARCHAR(75) null,context VARCHAR(75) null,instance_id VARCHAR(75) null,ipa_code VARCHAR(75) null,proceeding_type VARCHAR(75) null,url VARCHAR(75) null,content_type VARCHAR(75) null,operation VARCHAR(75) null,cadastral_code VARCHAR(75) null,digital_holder_tax_code VARCHAR(75) null,stato BOOLEAN,creation_date DATE null,last_update_date DATE null,sent_to_portos_date DATE null)"; + public static final String TABLE_SQL_DROP = "drop table sportello"; + public static final String ORDER_BY_JPQL = " ORDER BY sportello.id ASC"; + public static final String ORDER_BY_SQL = " ORDER BY sportello.id ASC"; + public static final String DATA_SOURCE = "sue-suap"; + 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.potos.nextmind.model.Sportello"), + true); + public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( + "value.object.finder.cache.enabled.potos.nextmind.model.Sportello"), + true); + public static final boolean COLUMN_BITMASK_ENABLED = false; + + /** + * Converts the soap model instance into a normal model instance. + * + * @param soapModel the soap model instance to convert + * @return the normal model instance + */ + public static Sportello toModel(SportelloSoap soapModel) { + if (soapModel == null) { + return null; + } + + Sportello model = new SportelloImpl(); + + model.setId(soapModel.getId()); + model.setApplication(soapModel.getApplication()); + model.setClientId(soapModel.getClientId()); + model.setContext(soapModel.getContext()); + model.setInstanceId(soapModel.getInstanceId()); + model.setIpaCode(soapModel.getIpaCode()); + model.setProceedingType(soapModel.getProceedingType()); + model.setUrl(soapModel.getUrl()); + model.setContentType(soapModel.getContentType()); + model.setOperation(soapModel.getOperation()); + model.setCadastralCode(soapModel.getCadastralCode()); + model.setDigitalHolderTaxCode(soapModel.getDigitalHolderTaxCode()); + model.setStato(soapModel.getStato()); + model.setCreationDate(soapModel.getCreationDate()); + model.setLastUpdateDate(soapModel.getLastUpdateDate()); + model.setSentToPortosDate(soapModel.getSentToPortosDate()); + + return model; + } + + /** + * Converts the soap model instances into normal model instances. + * + * @param soapModels the soap model instances to convert + * @return the normal model instances + */ + public static List toModels(SportelloSoap[] soapModels) { + if (soapModels == null) { + return null; + } + + List models = new ArrayList(soapModels.length); + + for (SportelloSoap soapModel : soapModels) { + models.add(toModel(soapModel)); + } + + return models; + } + + public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( + "lock.expiration.time.potos.nextmind.model.Sportello")); + + public SportelloModelImpl() { + } + + @Override + public long getPrimaryKey() { + return _id; + } + + @Override + public void setPrimaryKey(long primaryKey) { + setId(primaryKey); + } + + @Override + public Serializable getPrimaryKeyObj() { + return _id; + } + + @Override + public void setPrimaryKeyObj(Serializable primaryKeyObj) { + setPrimaryKey(((Long)primaryKeyObj).longValue()); + } + + @Override + public Class getModelClass() { + return Sportello.class; + } + + @Override + public String getModelClassName() { + return Sportello.class.getName(); + } + + @Override + public Map getModelAttributes() { + Map attributes = new HashMap(); + + attributes.put("id", getId()); + attributes.put("application", getApplication()); + attributes.put("clientId", getClientId()); + attributes.put("context", getContext()); + attributes.put("instanceId", getInstanceId()); + attributes.put("ipaCode", getIpaCode()); + attributes.put("proceedingType", getProceedingType()); + attributes.put("url", getUrl()); + attributes.put("contentType", getContentType()); + attributes.put("operation", getOperation()); + attributes.put("cadastralCode", getCadastralCode()); + attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode()); + attributes.put("stato", getStato()); + attributes.put("creationDate", getCreationDate()); + attributes.put("lastUpdateDate", getLastUpdateDate()); + attributes.put("sentToPortosDate", getSentToPortosDate()); + + return attributes; + } + + @Override + public void setModelAttributes(Map attributes) { + Long id = (Long)attributes.get("id"); + + if (id != null) { + setId(id); + } + + String application = (String)attributes.get("application"); + + if (application != null) { + setApplication(application); + } + + String clientId = (String)attributes.get("clientId"); + + if (clientId != null) { + setClientId(clientId); + } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } + + String instanceId = (String)attributes.get("instanceId"); + + if (instanceId != null) { + setInstanceId(instanceId); + } + + String ipaCode = (String)attributes.get("ipaCode"); + + if (ipaCode != null) { + setIpaCode(ipaCode); + } + + String proceedingType = (String)attributes.get("proceedingType"); + + if (proceedingType != null) { + setProceedingType(proceedingType); + } + + String url = (String)attributes.get("url"); + + if (url != null) { + setUrl(url); + } + + String contentType = (String)attributes.get("contentType"); + + if (contentType != null) { + setContentType(contentType); + } + + String operation = (String)attributes.get("operation"); + + if (operation != null) { + setOperation(operation); + } + + String cadastralCode = (String)attributes.get("cadastralCode"); + + if (cadastralCode != null) { + setCadastralCode(cadastralCode); + } + + String digitalHolderTaxCode = (String)attributes.get( + "digitalHolderTaxCode"); + + if (digitalHolderTaxCode != null) { + setDigitalHolderTaxCode(digitalHolderTaxCode); + } + + Boolean stato = (Boolean)attributes.get("stato"); + + if (stato != null) { + setStato(stato); + } + + Date creationDate = (Date)attributes.get("creationDate"); + + if (creationDate != null) { + setCreationDate(creationDate); + } + + Date lastUpdateDate = (Date)attributes.get("lastUpdateDate"); + + if (lastUpdateDate != null) { + setLastUpdateDate(lastUpdateDate); + } + + Date sentToPortosDate = (Date)attributes.get("sentToPortosDate"); + + if (sentToPortosDate != null) { + setSentToPortosDate(sentToPortosDate); + } + } + + @JSON + @Override + public long getId() { + return _id; + } + + @Override + public void setId(long id) { + _id = id; + } + + @JSON + @Override + public String getApplication() { + if (_application == null) { + return StringPool.BLANK; + } + else { + return _application; + } + } + + @Override + public void setApplication(String application) { + _application = application; + } + + @JSON + @Override + public String getClientId() { + if (_clientId == null) { + return StringPool.BLANK; + } + else { + return _clientId; + } + } + + @Override + public void setClientId(String clientId) { + _clientId = clientId; + } + + @JSON + @Override + public String getContext() { + if (_context == null) { + return StringPool.BLANK; + } + else { + return _context; + } + } + + @Override + public void setContext(String context) { + _context = context; + } + + @JSON + @Override + public String getInstanceId() { + if (_instanceId == null) { + return StringPool.BLANK; + } + else { + return _instanceId; + } + } + + @Override + public void setInstanceId(String instanceId) { + _instanceId = instanceId; + } + + @JSON + @Override + public String getIpaCode() { + if (_ipaCode == null) { + return StringPool.BLANK; + } + else { + return _ipaCode; + } + } + + @Override + public void setIpaCode(String ipaCode) { + _ipaCode = ipaCode; + } + + @JSON + @Override + public String getProceedingType() { + if (_proceedingType == null) { + return StringPool.BLANK; + } + else { + return _proceedingType; + } + } + + @Override + public void setProceedingType(String proceedingType) { + _proceedingType = proceedingType; + } + + @JSON + @Override + public String getUrl() { + if (_url == null) { + return StringPool.BLANK; + } + else { + return _url; + } + } + + @Override + public void setUrl(String url) { + _url = url; + } + + @JSON + @Override + public String getContentType() { + if (_contentType == null) { + return StringPool.BLANK; + } + else { + return _contentType; + } + } + + @Override + public void setContentType(String contentType) { + _contentType = contentType; + } + + @JSON + @Override + public String getOperation() { + if (_operation == null) { + return StringPool.BLANK; + } + else { + return _operation; + } + } + + @Override + public void setOperation(String operation) { + _operation = operation; + } + + @JSON + @Override + public String getCadastralCode() { + if (_cadastralCode == null) { + return StringPool.BLANK; + } + else { + return _cadastralCode; + } + } + + @Override + public void setCadastralCode(String cadastralCode) { + _cadastralCode = cadastralCode; + } + + @JSON + @Override + public String getDigitalHolderTaxCode() { + if (_digitalHolderTaxCode == null) { + return StringPool.BLANK; + } + else { + return _digitalHolderTaxCode; + } + } + + @Override + public void setDigitalHolderTaxCode(String digitalHolderTaxCode) { + _digitalHolderTaxCode = digitalHolderTaxCode; + } + + @JSON + @Override + public boolean getStato() { + return _stato; + } + + @Override + public boolean isStato() { + return _stato; + } + + @Override + public void setStato(boolean stato) { + _stato = stato; + } + + @JSON + @Override + public Date getCreationDate() { + return _creationDate; + } + + @Override + public void setCreationDate(Date creationDate) { + _creationDate = creationDate; + } + + @JSON + @Override + public Date getLastUpdateDate() { + return _lastUpdateDate; + } + + @Override + public void setLastUpdateDate(Date lastUpdateDate) { + _lastUpdateDate = lastUpdateDate; + } + + @JSON + @Override + public Date getSentToPortosDate() { + return _sentToPortosDate; + } + + @Override + public void setSentToPortosDate(Date sentToPortosDate) { + _sentToPortosDate = sentToPortosDate; + } + + @Override + public ExpandoBridge getExpandoBridge() { + return ExpandoBridgeFactoryUtil.getExpandoBridge(0, + Sportello.class.getName(), getPrimaryKey()); + } + + @Override + public void setExpandoBridgeAttributes(ServiceContext serviceContext) { + ExpandoBridge expandoBridge = getExpandoBridge(); + + expandoBridge.setAttributes(serviceContext); + } + + @Override + public Sportello toEscapedModel() { + if (_escapedModel == null) { + _escapedModel = (Sportello)ProxyUtil.newProxyInstance(_classLoader, + _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); + } + + return _escapedModel; + } + + @Override + public Object clone() { + SportelloImpl sportelloImpl = new SportelloImpl(); + + sportelloImpl.setId(getId()); + sportelloImpl.setApplication(getApplication()); + sportelloImpl.setClientId(getClientId()); + sportelloImpl.setContext(getContext()); + sportelloImpl.setInstanceId(getInstanceId()); + sportelloImpl.setIpaCode(getIpaCode()); + sportelloImpl.setProceedingType(getProceedingType()); + sportelloImpl.setUrl(getUrl()); + sportelloImpl.setContentType(getContentType()); + sportelloImpl.setOperation(getOperation()); + sportelloImpl.setCadastralCode(getCadastralCode()); + sportelloImpl.setDigitalHolderTaxCode(getDigitalHolderTaxCode()); + sportelloImpl.setStato(getStato()); + sportelloImpl.setCreationDate(getCreationDate()); + sportelloImpl.setLastUpdateDate(getLastUpdateDate()); + sportelloImpl.setSentToPortosDate(getSentToPortosDate()); + + sportelloImpl.resetOriginalValues(); + + return sportelloImpl; + } + + @Override + public int compareTo(Sportello sportello) { + long primaryKey = sportello.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 Sportello)) { + return false; + } + + Sportello sportello = (Sportello)obj; + + long primaryKey = sportello.getPrimaryKey(); + + if (getPrimaryKey() == primaryKey) { + return true; + } + else { + return false; + } + } + + @Override + public int hashCode() { + return (int)getPrimaryKey(); + } + + @Override + public void resetOriginalValues() { + } + + @Override + public CacheModel toCacheModel() { + SportelloCacheModel sportelloCacheModel = new SportelloCacheModel(); + + sportelloCacheModel.id = getId(); + + sportelloCacheModel.application = getApplication(); + + String application = sportelloCacheModel.application; + + if ((application != null) && (application.length() == 0)) { + sportelloCacheModel.application = null; + } + + sportelloCacheModel.clientId = getClientId(); + + String clientId = sportelloCacheModel.clientId; + + if ((clientId != null) && (clientId.length() == 0)) { + sportelloCacheModel.clientId = null; + } + + sportelloCacheModel.context = getContext(); + + String context = sportelloCacheModel.context; + + if ((context != null) && (context.length() == 0)) { + sportelloCacheModel.context = null; + } + + sportelloCacheModel.instanceId = getInstanceId(); + + String instanceId = sportelloCacheModel.instanceId; + + if ((instanceId != null) && (instanceId.length() == 0)) { + sportelloCacheModel.instanceId = null; + } + + sportelloCacheModel.ipaCode = getIpaCode(); + + String ipaCode = sportelloCacheModel.ipaCode; + + if ((ipaCode != null) && (ipaCode.length() == 0)) { + sportelloCacheModel.ipaCode = null; + } + + sportelloCacheModel.proceedingType = getProceedingType(); + + String proceedingType = sportelloCacheModel.proceedingType; + + if ((proceedingType != null) && (proceedingType.length() == 0)) { + sportelloCacheModel.proceedingType = null; + } + + sportelloCacheModel.url = getUrl(); + + String url = sportelloCacheModel.url; + + if ((url != null) && (url.length() == 0)) { + sportelloCacheModel.url = null; + } + + sportelloCacheModel.contentType = getContentType(); + + String contentType = sportelloCacheModel.contentType; + + if ((contentType != null) && (contentType.length() == 0)) { + sportelloCacheModel.contentType = null; + } + + sportelloCacheModel.operation = getOperation(); + + String operation = sportelloCacheModel.operation; + + if ((operation != null) && (operation.length() == 0)) { + sportelloCacheModel.operation = null; + } + + sportelloCacheModel.cadastralCode = getCadastralCode(); + + String cadastralCode = sportelloCacheModel.cadastralCode; + + if ((cadastralCode != null) && (cadastralCode.length() == 0)) { + sportelloCacheModel.cadastralCode = null; + } + + sportelloCacheModel.digitalHolderTaxCode = getDigitalHolderTaxCode(); + + String digitalHolderTaxCode = sportelloCacheModel.digitalHolderTaxCode; + + if ((digitalHolderTaxCode != null) && + (digitalHolderTaxCode.length() == 0)) { + sportelloCacheModel.digitalHolderTaxCode = null; + } + + sportelloCacheModel.stato = getStato(); + + Date creationDate = getCreationDate(); + + if (creationDate != null) { + sportelloCacheModel.creationDate = creationDate.getTime(); + } + else { + sportelloCacheModel.creationDate = Long.MIN_VALUE; + } + + Date lastUpdateDate = getLastUpdateDate(); + + if (lastUpdateDate != null) { + sportelloCacheModel.lastUpdateDate = lastUpdateDate.getTime(); + } + else { + sportelloCacheModel.lastUpdateDate = Long.MIN_VALUE; + } + + Date sentToPortosDate = getSentToPortosDate(); + + if (sentToPortosDate != null) { + sportelloCacheModel.sentToPortosDate = sentToPortosDate.getTime(); + } + else { + sportelloCacheModel.sentToPortosDate = Long.MIN_VALUE; + } + + return sportelloCacheModel; + } + + @Override + public String toString() { + StringBundler sb = new StringBundler(33); + + sb.append("{id="); + sb.append(getId()); + sb.append(", application="); + sb.append(getApplication()); + sb.append(", clientId="); + sb.append(getClientId()); + sb.append(", context="); + sb.append(getContext()); + sb.append(", instanceId="); + sb.append(getInstanceId()); + sb.append(", ipaCode="); + sb.append(getIpaCode()); + sb.append(", proceedingType="); + sb.append(getProceedingType()); + sb.append(", url="); + sb.append(getUrl()); + sb.append(", contentType="); + sb.append(getContentType()); + sb.append(", operation="); + sb.append(getOperation()); + sb.append(", cadastralCode="); + sb.append(getCadastralCode()); + sb.append(", digitalHolderTaxCode="); + sb.append(getDigitalHolderTaxCode()); + sb.append(", stato="); + sb.append(getStato()); + sb.append(", creationDate="); + sb.append(getCreationDate()); + sb.append(", lastUpdateDate="); + sb.append(getLastUpdateDate()); + sb.append(", sentToPortosDate="); + sb.append(getSentToPortosDate()); + sb.append("}"); + + return sb.toString(); + } + + @Override + public String toXmlString() { + StringBundler sb = new StringBundler(52); + + sb.append(""); + sb.append("potos.nextmind.model.Sportello"); + sb.append(""); + + sb.append( + "id"); + sb.append( + "application"); + sb.append( + "clientId"); + sb.append( + "context"); + sb.append( + "instanceId"); + sb.append( + "ipaCode"); + sb.append( + "proceedingType"); + sb.append( + "url"); + sb.append( + "contentType"); + sb.append( + "operation"); + sb.append( + "cadastralCode"); + sb.append( + "digitalHolderTaxCode"); + sb.append( + "stato"); + sb.append( + "creationDate"); + sb.append( + "lastUpdateDate"); + sb.append( + "sentToPortosDate"); + + sb.append(""); + + return sb.toString(); + } + + private static ClassLoader _classLoader = Sportello.class.getClassLoader(); + private static Class[] _escapedModelInterfaces = new Class[] { + Sportello.class + }; + private long _id; + private String _application; + private String _clientId; + private String _context; + private String _instanceId; + private String _ipaCode; + private String _proceedingType; + private String _url; + private String _contentType; + private String _operation; + private String _cadastralCode; + private String _digitalHolderTaxCode; + private boolean _stato; + private Date _creationDate; + private Date _lastUpdateDate; + private Date _sentToPortosDate; + private Sportello _escapedModel; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceBaseImpl.java new file mode 100644 index 00000000..8bb43d6c --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceBaseImpl.java @@ -0,0 +1,321 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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.exception.SystemException; +import com.liferay.portal.service.BaseServiceImpl; +import com.liferay.portal.service.persistence.UserPersistence; + +import potos.nextmind.model.Sportello; + +import potos.nextmind.service.SportelloService; +import potos.nextmind.service.persistence.SportelloHeaderPersistence; +import potos.nextmind.service.persistence.SportelloPersistence; + +import javax.sql.DataSource; + +/** + * Provides the base implementation for the sportello remote 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 potos.nextmind.service.impl.SportelloServiceImpl}. + *

+ * + * @author ebusu + * @see potos.nextmind.service.impl.SportelloServiceImpl + * @see potos.nextmind.service.SportelloServiceUtil + * @generated + */ +public abstract class SportelloServiceBaseImpl extends BaseServiceImpl + implements SportelloService, IdentifiableBean { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this class directly. Always use {@link potos.nextmind.service.SportelloServiceUtil} to access the sportello remote service. + */ + + /** + * Returns the sportello remote service. + * + * @return the sportello remote service + */ + public potos.nextmind.service.SportelloService getSportelloService() { + return sportelloService; + } + + /** + * Sets the sportello remote service. + * + * @param sportelloService the sportello remote service + */ + public void setSportelloService( + potos.nextmind.service.SportelloService sportelloService) { + this.sportelloService = sportelloService; + } + + /** + * Returns the sportello persistence. + * + * @return the sportello persistence + */ + public SportelloPersistence getSportelloPersistence() { + return sportelloPersistence; + } + + /** + * Sets the sportello persistence. + * + * @param sportelloPersistence the sportello persistence + */ + public void setSportelloPersistence( + SportelloPersistence sportelloPersistence) { + this.sportelloPersistence = sportelloPersistence; + } + + /** + * Returns the sportello header remote service. + * + * @return the sportello header remote service + */ + public potos.nextmind.service.SportelloHeaderService getSportelloHeaderService() { + return sportelloHeaderService; + } + + /** + * Sets the sportello header remote service. + * + * @param sportelloHeaderService the sportello header remote service + */ + public void setSportelloHeaderService( + potos.nextmind.service.SportelloHeaderService sportelloHeaderService) { + this.sportelloHeaderService = sportelloHeaderService; + } + + /** + * Returns the sportello header persistence. + * + * @return the sportello header persistence + */ + public SportelloHeaderPersistence getSportelloHeaderPersistence() { + return sportelloHeaderPersistence; + } + + /** + * Sets the sportello header persistence. + * + * @param sportelloHeaderPersistence the sportello header persistence + */ + public void setSportelloHeaderPersistence( + SportelloHeaderPersistence sportelloHeaderPersistence) { + this.sportelloHeaderPersistence = sportelloHeaderPersistence; + } + + /** + * 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(); + } + + public void destroy() { + } + + /** + * 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 Sportello.class; + } + + protected String getModelClassName() { + return Sportello.class.getName(); + } + + /** + * Performs an SQL query. + * + * @param sql the sql query + */ + protected void runSQL(String sql) throws SystemException { + try { + DataSource dataSource = sportelloPersistence.getDataSource(); + + SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, + sql, new int[0]); + + sqlUpdate.update(); + } + catch (Exception e) { + throw new SystemException(e); + } + } + + @BeanReference(type = potos.nextmind.service.SportelloService.class) + protected potos.nextmind.service.SportelloService sportelloService; + @BeanReference(type = SportelloPersistence.class) + protected SportelloPersistence sportelloPersistence; + @BeanReference(type = potos.nextmind.service.SportelloHeaderService.class) + protected potos.nextmind.service.SportelloHeaderService sportelloHeaderService; + @BeanReference(type = SportelloHeaderPersistence.class) + protected SportelloHeaderPersistence sportelloHeaderPersistence; + @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 SportelloServiceClpInvoker _clpInvoker = new SportelloServiceClpInvoker(); +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceClpInvoker.java new file mode 100644 index 00000000..f6d3d9aa --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceClpInvoker.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.base; + +import potos.nextmind.service.SportelloServiceUtil; + +import java.util.Arrays; + +/** + * @author ebusu + * @generated + */ +public class SportelloServiceClpInvoker { + public SportelloServiceClpInvoker() { + _methodName20 = "getBeanIdentifier"; + + _methodParameterTypes20 = new String[] { }; + + _methodName21 = "setBeanIdentifier"; + + _methodParameterTypes21 = new String[] { "java.lang.String" }; + } + + public Object invokeMethod(String name, String[] parameterTypes, + Object[] arguments) throws Throwable { + if (_methodName20.equals(name) && + Arrays.deepEquals(_methodParameterTypes20, parameterTypes)) { + return SportelloServiceUtil.getBeanIdentifier(); + } + + if (_methodName21.equals(name) && + Arrays.deepEquals(_methodParameterTypes21, parameterTypes)) { + SportelloServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); + + return null; + } + + throw new UnsupportedOperationException(); + } + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/http/SportelloServiceSoap.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/http/SportelloServiceSoap.java new file mode 100644 index 00000000..5b9fb3b0 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/http/SportelloServiceSoap.java @@ -0,0 +1,58 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.http; + +/** + * Provides the SOAP utility for the + * {@link potos.nextmind.service.SportelloServiceUtil} service utility. The + * static methods of this class calls the same methods of the service utility. + * However, the signatures are different because it is difficult for SOAP to + * support certain types. + * + *

+ * ServiceBuilder follows certain rules in translating the methods. For example, + * if the method in the service utility returns a {@link java.util.List}, that + * is translated to an array of {@link potos.nextmind.model.SportelloSoap}. + * If the method in the service utility returns a + * {@link potos.nextmind.model.Sportello}, that is translated to a + * {@link potos.nextmind.model.SportelloSoap}. Methods that SOAP cannot + * safely wire are skipped. + *

+ * + *

+ * The benefits of using the SOAP utility is that it is cross platform + * compatible. SOAP allows different languages like Java, .NET, C++, PHP, and + * even Perl, to call the generated services. One drawback of SOAP is that it is + * slow because it needs to serialize all calls into a text format (XML). + *

+ * + *

+ * You can see a list of services at http://localhost:8080/api/axis. Set the + * property axis.servlet.hosts.allowed in portal.properties to configure + * security. + *

+ * + *

+ * The SOAP utility is only generated for remote services. + *

+ * + * @author ebusu + * @see SportelloServiceHttp + * @see potos.nextmind.model.SportelloSoap + * @see potos.nextmind.service.SportelloServiceUtil + * @generated + */ +public class SportelloServiceSoap { +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/impl/SportelloServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/impl/SportelloServiceImpl.java new file mode 100644 index 00000000..05e5e869 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/impl/SportelloServiceImpl.java @@ -0,0 +1,39 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.service.impl; + +import potos.nextmind.service.base.SportelloServiceBaseImpl; + +/** + * The implementation of the sportello remote service. + * + *

+ * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link potos.nextmind.service.SportelloService} interface. + * + *

+ * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely. + *

+ * + * @author ebusu + * @see potos.nextmind.service.base.SportelloServiceBaseImpl + * @see potos.nextmind.service.SportelloServiceUtil + */ +public class SportelloServiceImpl extends SportelloServiceBaseImpl { + /* + * NOTE FOR DEVELOPERS: + * + * Never reference this interface directly. Always use {@link potos.nextmind.service.SportelloServiceUtil} to access the sportello remote service. + */ +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/persistence/SportelloPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/persistence/SportelloPersistenceImpl.java new file mode 100644 index 00000000..12d5cc46 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/persistence/SportelloPersistenceImpl.java @@ -0,0 +1,683 @@ +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + +package potos.nextmind.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 potos.nextmind.NoSuchSportelloException; + +import potos.nextmind.model.Sportello; +import potos.nextmind.model.impl.SportelloImpl; +import potos.nextmind.model.impl.SportelloModelImpl; + +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 sportello service. + * + *

+ * Caching information and settings can be found in portal.properties + *

+ * + * @author ebusu + * @see SportelloPersistence + * @see SportelloUtil + * @generated + */ +public class SportelloPersistenceImpl extends BasePersistenceImpl + implements SportelloPersistence { + /* + * NOTE FOR DEVELOPERS: + * + * Never modify or reference this class directly. Always use {@link SportelloUtil} to access the sportello persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. + */ + public static final String FINDER_CLASS_NAME_ENTITY = SportelloImpl.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(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloModelImpl.FINDER_CACHE_ENABLED, SportelloImpl.class, + FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); + public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloModelImpl.FINDER_CACHE_ENABLED, SportelloImpl.class, + FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); + public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloModelImpl.FINDER_CACHE_ENABLED, Long.class, + FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); + + public SportelloPersistenceImpl() { + setModelClass(Sportello.class); + } + + /** + * Caches the sportello in the entity cache if it is enabled. + * + * @param sportello the sportello + */ + @Override + public void cacheResult(Sportello sportello) { + EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, sportello.getPrimaryKey(), sportello); + + sportello.resetOriginalValues(); + } + + /** + * Caches the sportellos in the entity cache if it is enabled. + * + * @param sportellos the sportellos + */ + @Override + public void cacheResult(List sportellos) { + for (Sportello sportello : sportellos) { + if (EntityCacheUtil.getResult( + SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, sportello.getPrimaryKey()) == null) { + cacheResult(sportello); + } + else { + sportello.resetOriginalValues(); + } + } + } + + /** + * Clears the cache for all sportellos. + * + *

+ * 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(SportelloImpl.class.getName()); + } + + EntityCacheUtil.clearCache(SportelloImpl.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 sportello. + * + *

+ * 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(Sportello sportello) { + EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, sportello.getPrimaryKey()); + + FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); + FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); + } + + @Override + public void clearCache(List sportellos) { + FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); + FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); + + for (Sportello sportello : sportellos) { + EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, sportello.getPrimaryKey()); + } + } + + /** + * Creates a new sportello with the primary key. Does not add the sportello to the database. + * + * @param id the primary key for the new sportello + * @return the new sportello + */ + @Override + public Sportello create(long id) { + Sportello sportello = new SportelloImpl(); + + sportello.setNew(true); + sportello.setPrimaryKey(id); + + return sportello; + } + + /** + * Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param id the primary key of the sportello + * @return the sportello that was removed + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello remove(long id) + throws NoSuchSportelloException, SystemException { + return remove((Serializable)id); + } + + /** + * Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners. + * + * @param primaryKey the primary key of the sportello + * @return the sportello that was removed + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello remove(Serializable primaryKey) + throws NoSuchSportelloException, SystemException { + Session session = null; + + try { + session = openSession(); + + Sportello sportello = (Sportello)session.get(SportelloImpl.class, + primaryKey); + + if (sportello == null) { + if (_log.isWarnEnabled()) { + _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); + } + + throw new NoSuchSportelloException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + + primaryKey); + } + + return remove(sportello); + } + catch (NoSuchSportelloException nsee) { + throw nsee; + } + catch (Exception e) { + throw processException(e); + } + finally { + closeSession(session); + } + } + + @Override + protected Sportello removeImpl(Sportello sportello) + throws SystemException { + sportello = toUnwrappedModel(sportello); + + Session session = null; + + try { + session = openSession(); + + if (!session.contains(sportello)) { + sportello = (Sportello)session.get(SportelloImpl.class, + sportello.getPrimaryKeyObj()); + } + + if (sportello != null) { + session.delete(sportello); + } + } + catch (Exception e) { + throw processException(e); + } + finally { + closeSession(session); + } + + if (sportello != null) { + clearCache(sportello); + } + + return sportello; + } + + @Override + public Sportello updateImpl(potos.nextmind.model.Sportello sportello) + throws SystemException { + sportello = toUnwrappedModel(sportello); + + boolean isNew = sportello.isNew(); + + Session session = null; + + try { + session = openSession(); + + if (sportello.isNew()) { + session.save(sportello); + + sportello.setNew(false); + } + else { + session.merge(sportello); + } + } + 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(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, sportello.getPrimaryKey(), sportello); + + return sportello; + } + + protected Sportello toUnwrappedModel(Sportello sportello) { + if (sportello instanceof SportelloImpl) { + return sportello; + } + + SportelloImpl sportelloImpl = new SportelloImpl(); + + sportelloImpl.setNew(sportello.isNew()); + sportelloImpl.setPrimaryKey(sportello.getPrimaryKey()); + + sportelloImpl.setId(sportello.getId()); + sportelloImpl.setApplication(sportello.getApplication()); + sportelloImpl.setClientId(sportello.getClientId()); + sportelloImpl.setContext(sportello.getContext()); + sportelloImpl.setInstanceId(sportello.getInstanceId()); + sportelloImpl.setIpaCode(sportello.getIpaCode()); + sportelloImpl.setProceedingType(sportello.getProceedingType()); + sportelloImpl.setUrl(sportello.getUrl()); + sportelloImpl.setContentType(sportello.getContentType()); + sportelloImpl.setOperation(sportello.getOperation()); + sportelloImpl.setCadastralCode(sportello.getCadastralCode()); + sportelloImpl.setDigitalHolderTaxCode(sportello.getDigitalHolderTaxCode()); + sportelloImpl.setStato(sportello.isStato()); + sportelloImpl.setCreationDate(sportello.getCreationDate()); + sportelloImpl.setLastUpdateDate(sportello.getLastUpdateDate()); + sportelloImpl.setSentToPortosDate(sportello.getSentToPortosDate()); + + return sportelloImpl; + } + + /** + * Returns the sportello 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 sportello + * @return the sportello + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello findByPrimaryKey(Serializable primaryKey) + throws NoSuchSportelloException, SystemException { + Sportello sportello = fetchByPrimaryKey(primaryKey); + + if (sportello == null) { + if (_log.isWarnEnabled()) { + _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); + } + + throw new NoSuchSportelloException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + + primaryKey); + } + + return sportello; + } + + /** + * Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello + * @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello findByPrimaryKey(long id) + throws NoSuchSportelloException, SystemException { + return findByPrimaryKey((Serializable)id); + } + + /** + * Returns the sportello with the primary key or returns null if it could not be found. + * + * @param primaryKey the primary key of the sportello + * @return the sportello, or null if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello fetchByPrimaryKey(Serializable primaryKey) + throws SystemException { + Sportello sportello = (Sportello)EntityCacheUtil.getResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, primaryKey); + + if (sportello == _nullSportello) { + return null; + } + + if (sportello == null) { + Session session = null; + + try { + session = openSession(); + + sportello = (Sportello)session.get(SportelloImpl.class, + primaryKey); + + if (sportello != null) { + cacheResult(sportello); + } + else { + EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, primaryKey, _nullSportello); + } + } + catch (Exception e) { + EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, + SportelloImpl.class, primaryKey); + + throw processException(e); + } + finally { + closeSession(session); + } + } + + return sportello; + } + + /** + * Returns the sportello with the primary key or returns null if it could not be found. + * + * @param id the primary key of the sportello + * @return the sportello, or null if a sportello with the primary key could not be found + * @throws SystemException if a system exception occurred + */ + @Override + public Sportello fetchByPrimaryKey(long id) throws SystemException { + return fetchByPrimaryKey((Serializable)id); + } + + /** + * Returns all the sportellos. + * + * @return the sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @return the range of sportellos + * @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 sportellos. + * + *

+ * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link potos.nextmind.model.impl.SportelloModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. + *

+ * + * @param start the lower bound of the range of sportellos + * @param end the upper bound of the range of sportellos (not inclusive) + * @param orderByComparator the comparator to order the results by (optionally null) + * @return the ordered range of sportellos + * @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_SPORTELLO); + + appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, + orderByComparator); + + sql = query.toString(); + } + else { + sql = _SQL_SELECT_SPORTELLO; + + if (pagination) { + sql = sql.concat(SportelloModelImpl.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 sportellos from the database. + * + * @throws SystemException if a system exception occurred + */ + @Override + public void removeAll() throws SystemException { + for (Sportello sportello : findAll()) { + remove(sportello); + } + } + + /** + * Returns the number of sportellos. + * + * @return the number of sportellos + * @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_SPORTELLO); + + 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 sportello persistence. + */ + public void afterPropertiesSet() { + String[] listenerClassNames = StringUtil.split(GetterUtil.getString( + com.liferay.util.service.ServiceProps.get( + "value.object.listener.potos.nextmind.model.Sportello"))); + + 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(SportelloImpl.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_SPORTELLO = "SELECT sportello FROM Sportello sportello"; + private static final String _SQL_COUNT_SPORTELLO = "SELECT COUNT(sportello) FROM Sportello sportello"; + private static final String _ORDER_BY_ENTITY_ALIAS = "sportello."; + private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No Sportello 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(SportelloPersistenceImpl.class); + private static Set _badColumnNames = SetUtil.fromArray(new String[] { + "clientId", "instanceId", "ipaCode", "proceedingType", + "contentType", "cadastralCode", "digitalHolderTaxCode", + "creationDate", "lastUpdateDate", "sentToPortosDate" + }); + private static Sportello _nullSportello = new SportelloImpl() { + @Override + public Object clone() { + return this; + } + + @Override + public CacheModel toCacheModel() { + return _nullSportelloCacheModel; + } + }; + + private static CacheModel _nullSportelloCacheModel = new CacheModel() { + @Override + public Sportello toEntityModel() { + return _nullSportello; + } + }; +} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/pratica/PraticaPortlet.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/pratica/PraticaPortlet.java new file mode 100644 index 00000000..4594e077 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/pratica/PraticaPortlet.java @@ -0,0 +1,37 @@ +package pratica; + +import com.liferay.portal.kernel.language.LanguageUtil; +import com.liferay.portal.kernel.util.DateFormatFactoryUtil; +import com.liferay.portal.kernel.util.ParamUtil; +import com.liferay.util.bridges.mvc.MVCPortlet; + +import java.io.IOException; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.Locale; + +import javax.portlet.PortletException; +import javax.portlet.ResourceRequest; +import javax.portlet.ResourceResponse; + +/** + * Portlet implementation class PraticaPortlet + */ +public class PraticaPortlet extends MVCPortlet { + + public void serveResource(ResourceRequest req, ResourceResponse rep) throws IOException, PortletException { + req.getResourceID(); + /*Date dataInizioLavori = ParamUtil.getDate(req, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + Date dataFineLavori = ParamUtil.getDate(req, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + Locale loc = req.getLocale(); + LanguageUtil.get(loc, "tipo_procedura"); + LanguageUtil.get(loc, "stato_pratica"); + LanguageUtil.get(loc, "numero_pratiche"); + DateFormat formatter = new SimpleDateFormat("yyyyMMdd"); + formatter.format(dataInizioLavori); + formatter.format(dataFineLavori); + */ + super.serveResource(req, rep); + } +} diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/aui.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/aui.tld new file mode 100644 index 00000000..1eeac884 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/aui.tld @@ -0,0 +1,2568 @@ + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld new file mode 100644 index 00000000..7c046647 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld @@ -0,0 +1,538 @@ + + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet.tld new file mode 100644 index 00000000..a7cd2fdf --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet.tld @@ -0,0 +1,158 @@ + + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-security.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-security.tld new file mode 100644 index 00000000..f8e6f6dd --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-security.tld @@ -0,0 +1,106 @@ + + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-theme.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-theme.tld new file mode 100644 index 00000000..90ac81db --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-theme.tld @@ -0,0 +1,65 @@ + + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-ui.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-ui.tld new file mode 100644 index 00000000..daa2c534 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-ui.tld @@ -0,0 +1,4696 @@ + + + + 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 + + autoComplete + false + true + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-util.tld b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-util.tld new file mode 100644 index 00000000..72a4caf0 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-util.tld @@ -0,0 +1,141 @@ + + + + + 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/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/web.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/web.xml new file mode 100644 index 00000000..1aa8cdb8 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/web.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/css/main.css b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/css/main.css new file mode 100644 index 00000000..e69de29b diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/init.jsp b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/init.jsp new file mode 100644 index 00000000..1d5cb80e --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/init.jsp @@ -0,0 +1,20 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@page import="java.text.Format"%> +<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%> +<%@page import="com.liferay.portal.kernel.util.TimeZoneUtil"%> +<%@page import="com.liferay.portal.kernel.util.LocaleUtil"%> + +<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + +<%@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" %> + + + + + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/pratica/view.jsp b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/pratica/view.jsp new file mode 100644 index 00000000..625e819c --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/pratica/view.jsp @@ -0,0 +1,7 @@ +<%@ include file="/html/init.jsp"%> + +<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> + + + +This is the Pratica portlet in View mode. diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/icon.png b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/icon.png new file mode 100644 index 00000000..807b862c Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/icon.png differ diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/js/main.js b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/js/main.js new file mode 100644 index 00000000..e69de29b diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/view.jsp b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/view.jsp new file mode 100644 index 00000000..2717381c --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/view.jsp @@ -0,0 +1,22 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<% +/** + * Copyright (c) 2000-present Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ +%> + +<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> + + + +This is the Schedulatore Portos Pratiche portlet. \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml new file mode 100644 index 00000000..773bd909 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml.MD5 b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml.MD5 new file mode 100644 index 00000000..25b297e3 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml.MD5 @@ -0,0 +1 @@ +688a2ba771c5683c50abed4ca832bd42 diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/test/integration/arquillian.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/test/integration/arquillian.xml new file mode 100644 index 00000000..9413609b --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/test/integration/arquillian.xml @@ -0,0 +1,15 @@ + + + + + + 8099 + tomcat + tomcat + + + \ No newline at end of file