@Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName12, _methodParameterTypes12, new Object[] { ClpSerializer.translateInput(dynamicQuery), ClpSerializer.translateInput(projection) }); } 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 ((Long) returnObj).longValue(); }
@Override public <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName10, _methodParameterTypes10, new Object[] { ClpSerializer.translateInput(dynamicQuery), start, end, ClpSerializer.translateInput(orderByComparator) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<T>) ClpSerializer.translateOutput(returnObj); }
@Override public com.liferay.pushnotifications.model.PushNotificationsDevice addPushNotificationsDevice( long userId, java.lang.String platform, java.lang.String token) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName1, _methodParameterTypes1, new Object[] { userId, ClpSerializer.translateInput(platform), ClpSerializer.translateInput(token) }); } 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.pushnotifications.model.PushNotificationsDevice) ClpSerializer.translateOutput(returnObj); }
@Override public com.liferay.portal.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName16, _methodParameterTypes16, 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 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 com.liferay.pushnotifications.model.PushNotificationsDevice deletePushNotificationsDevice( java.lang.String token) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName6, _methodParameterTypes6, new Object[] {ClpSerializer.translateInput(token)}); } 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 RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.pushnotifications.model.PushNotificationsDevice) ClpSerializer.translateOutput(returnObj); }
@Override public void setBeanIdentifier(java.lang.String beanIdentifier) { try { _invokableLocalService.invokeMethod( _methodName24, _methodParameterTypes24, 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 com.liferay.pushnotifications.model.PushNotificationsDevice updatePushNotificationsDevice( com.liferay.pushnotifications.model.PushNotificationsDevice pushNotificationsDevice) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName25, _methodParameterTypes25, new Object[] {ClpSerializer.translateInput(pushNotificationsDevice)}); } 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.pushnotifications.model.PushNotificationsDevice) ClpSerializer.translateOutput(returnObj); }
@Override public void sendPushNotification( long fromUserId, long toUserId, com.liferay.portal.kernel.json.JSONObject jsonObject) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod( _methodName23, _methodParameterTypes23, new Object[] {fromUserId, toUserId, ClpSerializer.translateInput(jsonObject)}); } 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 RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }