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 index df4ad34a..b05b6387 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath @@ -1,6 +1,7 @@ + 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/schedulatore-portos-pratiche-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/schedulatore-portos-pratiche-portlet-service.jar index e7e88671..6b35e030 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/schedulatore-portos-pratiche-portlet-service.jar and b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/schedulatore-portos-pratiche-portlet-service.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/service.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml index a0e53ccf..8a3a5799 100644 --- 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 @@ -26,9 +26,6 @@ - - - + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsClp.java index 7f55e87f..fb231c9b 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsClp.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsClp.java @@ -79,6 +79,7 @@ public class ScheduledActionsClp extends BaseModelImpl attributes.put("errorLog", getErrorLog()); attributes.put("errorFlag", getErrorFlag()); attributes.put("intPraticaId", getIntPraticaId()); + attributes.put("context", getContext()); return attributes; } @@ -120,6 +121,12 @@ public class ScheduledActionsClp extends BaseModelImpl if (intPraticaId != null) { setIntPraticaId(intPraticaId); } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } } @Override @@ -265,6 +272,29 @@ public class ScheduledActionsClp extends BaseModelImpl } } + @Override + public String getContext() { + return _context; + } + + @Override + public void setContext(String context) { + _context = context; + + if (_scheduledActionsRemoteModel != null) { + try { + Class clazz = _scheduledActionsRemoteModel.getClass(); + + Method method = clazz.getMethod("setContext", String.class); + + method.invoke(_scheduledActionsRemoteModel, context); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + public BaseModel getScheduledActionsRemoteModel() { return _scheduledActionsRemoteModel; } @@ -342,6 +372,7 @@ public class ScheduledActionsClp extends BaseModelImpl clone.setErrorLog(getErrorLog()); clone.setErrorFlag(getErrorFlag()); clone.setIntPraticaId(getIntPraticaId()); + clone.setContext(getContext()); return clone; } @@ -394,7 +425,7 @@ public class ScheduledActionsClp extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(13); + StringBundler sb = new StringBundler(15); sb.append("{shopId="); sb.append(getShopId()); @@ -408,6 +439,8 @@ public class ScheduledActionsClp extends BaseModelImpl sb.append(getErrorFlag()); sb.append(", intPraticaId="); sb.append(getIntPraticaId()); + sb.append(", context="); + sb.append(getContext()); sb.append("}"); return sb.toString(); @@ -415,7 +448,7 @@ public class ScheduledActionsClp extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(22); + StringBundler sb = new StringBundler(25); sb.append(""); sb.append("portos.nextmind.model.ScheduledActions"); @@ -445,6 +478,10 @@ public class ScheduledActionsClp extends BaseModelImpl "intPraticaId"); + sb.append( + "context"); sb.append(""); @@ -457,6 +494,7 @@ public class ScheduledActionsClp extends BaseModelImpl private String _errorLog; private boolean _errorFlag; private long _intPraticaId; + private String _context; private BaseModel _scheduledActionsRemoteModel; private Class _clpSerializerClass = portos.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/portos/nextmind/model/ScheduledActionsModel.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsModel.java index db81c4a4..0fe766e7 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsModel.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsModel.java @@ -150,6 +150,21 @@ public interface ScheduledActionsModel extends BaseModel { */ public void setIntPraticaId(long intPraticaId); + /** + * Returns the context of this scheduled actions. + * + * @return the context of this scheduled actions + */ + @AutoEscape + public String getContext(); + + /** + * Sets the context of this scheduled actions. + * + * @param context the context of this scheduled actions + */ + public void setContext(String context); + @Override public boolean isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsSoap.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsSoap.java index e03ff938..0a258ed5 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsSoap.java @@ -35,6 +35,7 @@ public class ScheduledActionsSoap implements Serializable { soapModel.setErrorLog(model.getErrorLog()); soapModel.setErrorFlag(model.getErrorFlag()); soapModel.setIntPraticaId(model.getIntPraticaId()); + soapModel.setContext(model.getContext()); return soapModel; } @@ -141,10 +142,19 @@ public class ScheduledActionsSoap implements Serializable { _intPraticaId = intPraticaId; } + public String getContext() { + return _context; + } + + public void setContext(String context) { + _context = context; + } + private long _shopId; private int _requestAction; private String _headers; private String _errorLog; private boolean _errorFlag; private long _intPraticaId; + private String _context; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsWrapper.java index a1eebc34..d7a9694c 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/ScheduledActionsWrapper.java @@ -55,6 +55,7 @@ public class ScheduledActionsWrapper implements ScheduledActions, attributes.put("errorLog", getErrorLog()); attributes.put("errorFlag", getErrorFlag()); attributes.put("intPraticaId", getIntPraticaId()); + attributes.put("context", getContext()); return attributes; } @@ -96,6 +97,12 @@ public class ScheduledActionsWrapper implements ScheduledActions, if (intPraticaId != null) { setIntPraticaId(intPraticaId); } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } } /** @@ -248,6 +255,26 @@ public class ScheduledActionsWrapper implements ScheduledActions, _scheduledActions.setIntPraticaId(intPraticaId); } + /** + * Returns the context of this scheduled actions. + * + * @return the context of this scheduled actions + */ + @Override + public java.lang.String getContext() { + return _scheduledActions.getContext(); + } + + /** + * Sets the context of this scheduled actions. + * + * @param context the context of this scheduled actions + */ + @Override + public void setContext(java.lang.String context) { + _scheduledActions.setContext(context); + } + @Override public boolean isNew() { return _scheduledActions.isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalService.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalService.java index 3b03ebeb..efd40098 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalService.java @@ -250,6 +250,7 @@ public interface SportelloLocalService extends BaseLocalService, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable; - public java.util.List findById(long id) - throws com.liferay.portal.kernel.exception.SystemException; + public portos.nextmind.model.Sportello findById(long id) + throws com.liferay.portal.kernel.exception.SystemException, + portos.nextmind.NoSuchSportelloException; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceClp.java index b2887743..2c78335f 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceClp.java @@ -660,8 +660,9 @@ public class SportelloLocalServiceClp implements SportelloLocalService { } @Override - public java.util.List findById(long id) - throws com.liferay.portal.kernel.exception.SystemException { + public portos.nextmind.model.Sportello findById(long id) + throws com.liferay.portal.kernel.exception.SystemException, + portos.nextmind.NoSuchSportelloException { Object returnObj = null; try { @@ -675,6 +676,10 @@ public class SportelloLocalServiceClp implements SportelloLocalService { throw (com.liferay.portal.kernel.exception.SystemException)t; } + if (t instanceof portos.nextmind.NoSuchSportelloException) { + throw (portos.nextmind.NoSuchSportelloException)t; + } + if (t instanceof RuntimeException) { throw (RuntimeException)t; } @@ -684,7 +689,7 @@ public class SportelloLocalServiceClp implements SportelloLocalService { } } - return (java.util.List)ClpSerializer.translateOutput(returnObj); + return (portos.nextmind.model.Sportello)ClpSerializer.translateOutput(returnObj); } private InvokableLocalService _invokableLocalService; diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceUtil.java index 8b0d6945..1a67a928 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceUtil.java @@ -271,8 +271,9 @@ public class SportelloLocalServiceUtil { return getService().invokeMethod(name, parameterTypes, arguments); } - public static java.util.List findById( - long id) throws com.liferay.portal.kernel.exception.SystemException { + public static portos.nextmind.model.Sportello findById(long id) + throws com.liferay.portal.kernel.exception.SystemException, + portos.nextmind.NoSuchSportelloException { return getService().findById(id); } diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceWrapper.java index bc773e92..49d2844c 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/SportelloLocalServiceWrapper.java @@ -283,8 +283,9 @@ public class SportelloLocalServiceWrapper implements SportelloLocalService, } @Override - public java.util.List findById(long id) - throws com.liferay.portal.kernel.exception.SystemException { + public portos.nextmind.model.Sportello findById(long id) + throws com.liferay.portal.kernel.exception.SystemException, + portos.nextmind.NoSuchSportelloException { return _sportelloLocalService.findById(id); } diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloPersistence.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloPersistence.java index e1dc7bb8..9a72112d 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloPersistence.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloPersistence.java @@ -37,61 +37,6 @@ public interface SportelloPersistence extends BasePersistence { * 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. */ - /** - * Returns the sportello where id = ? or throws a {@link portos.nextmind.NoSuchSportelloException} if it could not be found. - * - * @param id the ID - * @return the matching sportello - * @throws portos.nextmind.NoSuchSportelloException if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public portos.nextmind.model.Sportello findById(long id) - throws com.liferay.portal.kernel.exception.SystemException, - portos.nextmind.NoSuchSportelloException; - - /** - * Returns the sportello where id = ? or returns null if it could not be found. Uses the finder cache. - * - * @param id the ID - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public portos.nextmind.model.Sportello fetchById(long id) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the sportello where id = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param id the ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public portos.nextmind.model.Sportello fetchById(long id, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the sportello where id = ? from the database. - * - * @param id the ID - * @return the sportello that was removed - * @throws SystemException if a system exception occurred - */ - public portos.nextmind.model.Sportello removeById(long id) - throws com.liferay.portal.kernel.exception.SystemException, - portos.nextmind.NoSuchSportelloException; - - /** - * Returns the number of sportellos where id = ?. - * - * @param id the ID - * @return the number of matching sportellos - * @throws SystemException if a system exception occurred - */ - public int countById(long id) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Caches the sportello in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloUtil.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloUtil.java index 83b03d59..fc255b22 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/persistence/SportelloUtil.java @@ -110,71 +110,6 @@ public class SportelloUtil { return getPersistence().update(sportello, serviceContext); } - /** - * Returns the sportello where id = ? or throws a {@link portos.nextmind.NoSuchSportelloException} if it could not be found. - * - * @param id the ID - * @return the matching sportello - * @throws portos.nextmind.NoSuchSportelloException if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public static portos.nextmind.model.Sportello findById(long id) - throws com.liferay.portal.kernel.exception.SystemException, - portos.nextmind.NoSuchSportelloException { - return getPersistence().findById(id); - } - - /** - * Returns the sportello where id = ? or returns null if it could not be found. Uses the finder cache. - * - * @param id the ID - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public static portos.nextmind.model.Sportello fetchById(long id) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchById(id); - } - - /** - * Returns the sportello where id = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param id the ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - public static portos.nextmind.model.Sportello fetchById(long id, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchById(id, retrieveFromCache); - } - - /** - * Removes the sportello where id = ? from the database. - * - * @param id the ID - * @return the sportello that was removed - * @throws SystemException if a system exception occurred - */ - public static portos.nextmind.model.Sportello removeById(long id) - throws com.liferay.portal.kernel.exception.SystemException, - portos.nextmind.NoSuchSportelloException { - return getPersistence().removeById(id); - } - - /** - * Returns the number of sportellos where id = ?. - * - * @param id the ID - * @return the number of matching sportellos - * @throws SystemException if a system exception occurred - */ - public static int countById(long id) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countById(id); - } - /** * Caches the sportello in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml index 1f43d2a5..85fea60f 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml @@ -31,6 +31,7 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml index 346e954f..91acd1f1 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml @@ -21,6 +21,7 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml index 6280f0ce..1491564f 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml @@ -61,6 +61,7 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsCacheModel.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsCacheModel.java index 087cd683..406f1f64 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsCacheModel.java @@ -36,7 +36,7 @@ public class ScheduledActionsCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(13); + StringBundler sb = new StringBundler(15); sb.append("{shopId="); sb.append(shopId); @@ -50,6 +50,8 @@ public class ScheduledActionsCacheModel implements CacheModel, sb.append(errorFlag); sb.append(", intPraticaId="); sb.append(intPraticaId); + sb.append(", context="); + sb.append(context); sb.append("}"); return sb.toString(); @@ -79,6 +81,13 @@ public class ScheduledActionsCacheModel implements CacheModel, scheduledActionsImpl.setErrorFlag(errorFlag); scheduledActionsImpl.setIntPraticaId(intPraticaId); + if (context == null) { + scheduledActionsImpl.setContext(StringPool.BLANK); + } + else { + scheduledActionsImpl.setContext(context); + } + scheduledActionsImpl.resetOriginalValues(); return scheduledActionsImpl; @@ -92,6 +101,7 @@ public class ScheduledActionsCacheModel implements CacheModel, errorLog = objectInput.readUTF(); errorFlag = objectInput.readBoolean(); intPraticaId = objectInput.readLong(); + context = objectInput.readUTF(); } @Override @@ -116,6 +126,13 @@ public class ScheduledActionsCacheModel implements CacheModel, objectOutput.writeBoolean(errorFlag); objectOutput.writeLong(intPraticaId); + + if (context == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(context); + } } public long shopId; @@ -124,4 +141,5 @@ public class ScheduledActionsCacheModel implements CacheModel, public String errorLog; public boolean errorFlag; public long intPraticaId; + public String context; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsModelImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsModelImpl.java index 0cd8603c..2f6992ba 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsModelImpl.java @@ -63,9 +63,10 @@ public class ScheduledActionsModelImpl extends BaseModelImpl { "headers", Types.VARCHAR }, { "error_log", Types.VARCHAR }, { "error_flag", Types.BOOLEAN }, - { "int_pratica_id", Types.BIGINT } + { "int_pratica_id", Types.BIGINT }, + { "context", Types.VARCHAR } }; - public static final String TABLE_SQL_CREATE = "create table scheduled_actions (shop_id LONG not null primary key,request_action INTEGER,headers VARCHAR(75) null,error_log VARCHAR(75) null,error_flag BOOLEAN,int_pratica_id LONG)"; + public static final String TABLE_SQL_CREATE = "create table scheduled_actions (shop_id LONG not null primary key,request_action INTEGER,headers VARCHAR(75) null,error_log VARCHAR(75) null,error_flag BOOLEAN,int_pratica_id LONG,context VARCHAR(75) null)"; public static final String TABLE_SQL_DROP = "drop table scheduled_actions"; public static final String ORDER_BY_JPQL = " ORDER BY scheduledActions.shopId ASC"; public static final String ORDER_BY_SQL = " ORDER BY scheduled_actions.shop_id ASC"; @@ -129,6 +130,7 @@ public class ScheduledActionsModelImpl extends BaseModelImpl attributes.put("errorLog", getErrorLog()); attributes.put("errorFlag", getErrorFlag()); attributes.put("intPraticaId", getIntPraticaId()); + attributes.put("context", getContext()); return attributes; } @@ -170,6 +172,12 @@ public class ScheduledActionsModelImpl extends BaseModelImpl if (intPraticaId != null) { setIntPraticaId(intPraticaId); } + + String context = (String)attributes.get("context"); + + if (context != null) { + setContext(context); + } } @Override @@ -259,6 +267,21 @@ public class ScheduledActionsModelImpl extends BaseModelImpl return _originalIntPraticaId; } + @Override + public String getContext() { + if (_context == null) { + return StringPool.BLANK; + } + else { + return _context; + } + } + + @Override + public void setContext(String context) { + _context = context; + } + public long getColumnBitmask() { return _columnBitmask; } @@ -296,6 +319,7 @@ public class ScheduledActionsModelImpl extends BaseModelImpl scheduledActionsImpl.setErrorLog(getErrorLog()); scheduledActionsImpl.setErrorFlag(getErrorFlag()); scheduledActionsImpl.setIntPraticaId(getIntPraticaId()); + scheduledActionsImpl.setContext(getContext()); scheduledActionsImpl.resetOriginalValues(); @@ -383,12 +407,20 @@ public class ScheduledActionsModelImpl extends BaseModelImpl scheduledActionsCacheModel.intPraticaId = getIntPraticaId(); + scheduledActionsCacheModel.context = getContext(); + + String context = scheduledActionsCacheModel.context; + + if ((context != null) && (context.length() == 0)) { + scheduledActionsCacheModel.context = null; + } + return scheduledActionsCacheModel; } @Override public String toString() { - StringBundler sb = new StringBundler(13); + StringBundler sb = new StringBundler(15); sb.append("{shopId="); sb.append(getShopId()); @@ -402,6 +434,8 @@ public class ScheduledActionsModelImpl extends BaseModelImpl sb.append(getErrorFlag()); sb.append(", intPraticaId="); sb.append(getIntPraticaId()); + sb.append(", context="); + sb.append(getContext()); sb.append("}"); return sb.toString(); @@ -409,7 +443,7 @@ public class ScheduledActionsModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(22); + StringBundler sb = new StringBundler(25); sb.append(""); sb.append("portos.nextmind.model.ScheduledActions"); @@ -439,6 +473,10 @@ public class ScheduledActionsModelImpl extends BaseModelImpl "intPraticaId"); + sb.append( + "context"); sb.append(""); @@ -457,6 +495,7 @@ public class ScheduledActionsModelImpl extends BaseModelImpl private long _intPraticaId; private long _originalIntPraticaId; private boolean _setOriginalIntPraticaId; + private String _context; private long _columnBitmask; private ScheduledActions _escapedModel; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloModelImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloModelImpl.java index f1eafcd0..59b4e557 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloModelImpl.java @@ -92,10 +92,7 @@ public class SportelloModelImpl extends BaseModelImpl public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( "value.object.finder.cache.enabled.portos.nextmind.model.Sportello"), true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.portos.nextmind.model.Sportello"), - true); - public static long ID_COLUMN_BITMASK = 1L; + public static final boolean COLUMN_BITMASK_ENABLED = false; public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( "lock.expiration.time.portos.nextmind.model.Sportello")); @@ -284,21 +281,9 @@ public class SportelloModelImpl extends BaseModelImpl @Override public void setId(long id) { - _columnBitmask |= ID_COLUMN_BITMASK; - - if (!_setOriginalId) { - _setOriginalId = true; - - _originalId = _id; - } - _id = id; } - public long getOriginalId() { - return _originalId; - } - @Override public String getApplication() { if (_application == null) { @@ -554,10 +539,6 @@ public class SportelloModelImpl extends BaseModelImpl _sentToPortosDate = sentToPortosDate; } - public long getColumnBitmask() { - return _columnBitmask; - } - @Override public ExpandoBridge getExpandoBridge() { return ExpandoBridgeFactoryUtil.getExpandoBridge(0, @@ -654,13 +635,6 @@ public class SportelloModelImpl extends BaseModelImpl @Override public void resetOriginalValues() { - SportelloModelImpl sportelloModelImpl = this; - - sportelloModelImpl._originalId = sportelloModelImpl._id; - - sportelloModelImpl._setOriginalId = false; - - sportelloModelImpl._columnBitmask = 0; } @Override @@ -956,8 +930,6 @@ public class SportelloModelImpl extends BaseModelImpl Sportello.class }; private long _id; - private long _originalId; - private boolean _setOriginalId; private String _application; private String _clientId; private String _context; @@ -976,6 +948,5 @@ public class SportelloModelImpl extends BaseModelImpl private Date _creationDate; private Date _lastUpdateDate; private Date _sentToPortosDate; - private long _columnBitmask; 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/portos/nextmind/service/impl/SportelloLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/impl/SportelloLocalServiceImpl.java index cca92a92..0b36bf41 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/impl/SportelloLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/impl/SportelloLocalServiceImpl.java @@ -14,13 +14,9 @@ package portos.nextmind.service.impl; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; import com.liferay.portal.kernel.exception.SystemException; -import java.util.List; - -import portos.nextmind.model.ScheduledActions; +import portos.nextmind.NoSuchSportelloException; import portos.nextmind.model.Sportello; import portos.nextmind.service.base.SportelloLocalServiceBaseImpl; @@ -44,7 +40,7 @@ public class SportelloLocalServiceImpl extends SportelloLocalServiceBaseImpl { * * Never reference this interface directly. Always use {@link portos.nextmind.service.SportelloLocalServiceUtil} to access the sportello local service. */ - public List findById(long id) throws SystemException{ - return sportelloPersistence.findById(id); + public Sportello findById(long id) throws SystemException, NoSuchSportelloException{ + return sportelloPersistence.findByPrimaryKey(id); } } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/persistence/ScheduledActionsPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/persistence/ScheduledActionsPersistenceImpl.java index 8c0386fc..b3c0e2c9 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/persistence/ScheduledActionsPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/persistence/ScheduledActionsPersistenceImpl.java @@ -859,6 +859,7 @@ public class ScheduledActionsPersistenceImpl extends BasePersistenceImpl 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 static final FinderPath FINDER_PATH_FETCH_BY_ID = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED, - SportelloModelImpl.FINDER_CACHE_ENABLED, SportelloImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchById", - new String[] { Long.class.getName() }, - SportelloModelImpl.ID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ID = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED, - SportelloModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countById", - new String[] { Long.class.getName() }); - - /** - * Returns the sportello where id = ? or throws a {@link portos.nextmind.NoSuchSportelloException} if it could not be found. - * - * @param id the ID - * @return the matching sportello - * @throws portos.nextmind.NoSuchSportelloException if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Sportello findById(long id) - throws NoSuchSportelloException, SystemException { - Sportello sportello = fetchById(id); - - if (sportello == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("id="); - msg.append(id); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchSportelloException(msg.toString()); - } - - return sportello; - } - - /** - * Returns the sportello where id = ? or returns null if it could not be found. Uses the finder cache. - * - * @param id the ID - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Sportello fetchById(long id) throws SystemException { - return fetchById(id, true); - } - - /** - * Returns the sportello where id = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param id the ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching sportello, or null if a matching sportello could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Sportello fetchById(long id, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { id }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_ID, - finderArgs, this); - } - - if (result instanceof Sportello) { - Sportello sportello = (Sportello)result; - - if ((id != sportello.getId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_SPORTELLO_WHERE); - - query.append(_FINDER_COLUMN_ID_ID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(id); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ID, - finderArgs, list); - } - else { - Sportello sportello = list.get(0); - - result = sportello; - - cacheResult(sportello); - - if ((sportello.getId() != id)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ID, - finderArgs, sportello); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_ID, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (Sportello)result; - } - } - - /** - * Removes the sportello where id = ? from the database. - * - * @param id the ID - * @return the sportello that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public Sportello removeById(long id) - throws NoSuchSportelloException, SystemException { - Sportello sportello = findById(id); - - return remove(sportello); - } - - /** - * Returns the number of sportellos where id = ?. - * - * @param id the ID - * @return the number of matching sportellos - * @throws SystemException if a system exception occurred - */ - @Override - public int countById(long id) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ID; - - Object[] finderArgs = new Object[] { id }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_SPORTELLO_WHERE); - - query.append(_FINDER_COLUMN_ID_ID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(id); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ID_ID_2 = "sportello.id = ?"; public SportelloPersistenceImpl() { setModelClass(Sportello.class); @@ -309,9 +98,6 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, SportelloImpl.class, sportello.getPrimaryKey(), sportello); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ID, - new Object[] { sportello.getId() }, sportello); - sportello.resetOriginalValues(); } @@ -368,8 +154,6 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(sportello); } @Override @@ -380,48 +164,6 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl for (Sportello sportello : sportellos) { EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, SportelloImpl.class, sportello.getPrimaryKey()); - - clearUniqueFindersCache(sportello); - } - } - - protected void cacheUniqueFindersCache(Sportello sportello) { - if (sportello.isNew()) { - Object[] args = new Object[] { sportello.getId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_ID, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ID, args, sportello); - } - else { - SportelloModelImpl sportelloModelImpl = (SportelloModelImpl)sportello; - - if ((sportelloModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_ID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { sportello.getId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_ID, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ID, args, - sportello); - } - } - } - - protected void clearUniqueFindersCache(Sportello sportello) { - SportelloModelImpl sportelloModelImpl = (SportelloModelImpl)sportello; - - Object[] args = new Object[] { sportello.getId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_ID, args); - - if ((sportelloModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_ID.getColumnBitmask()) != 0) { - args = new Object[] { sportelloModelImpl.getOriginalId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_ID, args); } } @@ -559,16 +301,13 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - if (isNew || !SportelloModelImpl.COLUMN_BITMASK_ENABLED) { + if (isNew) { FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); } EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED, SportelloImpl.class, sportello.getPrimaryKey(), sportello); - clearUniqueFindersCache(sportello); - cacheUniqueFindersCache(sportello); - return sportello; } @@ -915,12 +654,9 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl } private static final String _SQL_SELECT_SPORTELLO = "SELECT sportello FROM Sportello sportello"; - private static final String _SQL_SELECT_SPORTELLO_WHERE = "SELECT sportello FROM Sportello sportello WHERE "; private static final String _SQL_COUNT_SPORTELLO = "SELECT COUNT(sportello) FROM Sportello sportello"; - private static final String _SQL_COUNT_SPORTELLO_WHERE = "SELECT COUNT(sportello) FROM Sportello sportello WHERE "; 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 String _NO_SUCH_ENTITY_WITH_KEY = "No Sportello exists with the key {"; private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); private static Log _log = LogFactoryUtil.getLog(SportelloPersistenceImpl.class); diff --git a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/service.properties index da84e56a..24cd4ab1 100644 --- a/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_ss - build.number=33 - build.date=1683709486797 + build.number=47 + build.date=1683728676774 build.auto.upgrade=true ##