/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.chat.service; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.service.InvokableLocalService; /** * @author Brian Wing Shun Chan * @generated */ @ProviderType public class StatusLocalServiceClp implements StatusLocalService { public StatusLocalServiceClp(InvokableLocalService invokableLocalService) { _invokableLocalService = invokableLocalService; _methodName0 = "addStatus"; _methodParameterTypes0 = new String[] { "com.liferay.chat.model.Status" }; _methodName1 = "createStatus"; _methodParameterTypes1 = new String[] { "long" }; _methodName2 = "deleteStatus"; _methodParameterTypes2 = new String[] { "com.liferay.chat.model.Status" }; _methodName3 = "deleteStatus"; _methodParameterTypes3 = new String[] { "long" }; _methodName4 = "fetchStatus"; _methodParameterTypes4 = new String[] { "long" }; _methodName5 = "getStatus"; _methodParameterTypes5 = new String[] { "long" }; _methodName6 = "getUserStatus"; _methodParameterTypes6 = new String[] { "long" }; _methodName7 = "updateStatus"; _methodParameterTypes7 = new String[] { "com.liferay.chat.model.Status" }; _methodName8 = "updateStatus"; _methodParameterTypes8 = new String[] { "long", "long" }; _methodName9 = "updateStatus"; _methodParameterTypes9 = new String[] { "long", "long", "int", "int", "java.lang.String", "java.lang.String", "int" }; _methodName10 = "getActionableDynamicQuery"; _methodParameterTypes10 = new String[] { }; _methodName11 = "dynamicQuery"; _methodParameterTypes11 = new String[] { }; _methodName12 = "getIndexableActionableDynamicQuery"; _methodParameterTypes12 = new String[] { }; _methodName13 = "deletePersistedModel"; _methodParameterTypes13 = new String[] { "com.liferay.portal.kernel.model.PersistedModel" }; _methodName14 = "getPersistedModel"; _methodParameterTypes14 = new String[] { "java.io.Serializable" }; _methodName15 = "getStatusesCount"; _methodParameterTypes15 = new String[] { }; _methodName17 = "getOSGiServiceIdentifier"; _methodParameterTypes17 = new String[] { }; _methodName18 = "dynamicQuery"; _methodParameterTypes18 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery" }; _methodName19 = "dynamicQuery"; _methodParameterTypes19 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" }; _methodName20 = "dynamicQuery"; _methodParameterTypes20 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; _methodName21 = "getAllStatuses"; _methodParameterTypes21 = new String[] { "long", "long", "long", "int", "int" }; _methodName22 = "getGroupStatuses"; _methodParameterTypes22 = new String[] { "long", "long", "java.lang.String[][]", "int", "int" }; _methodName23 = "getSocialStatuses"; _methodParameterTypes23 = new String[] { "long", "int", "long", "int", "int" }; _methodName24 = "getSocialStatuses"; _methodParameterTypes24 = new String[] { "long", "int[][]", "long", "int", "int" }; _methodName25 = "getStatuses"; _methodParameterTypes25 = new String[] { "int", "int" }; _methodName26 = "dynamicQueryCount"; _methodParameterTypes26 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery" }; _methodName27 = "dynamicQueryCount"; _methodParameterTypes27 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "com.liferay.portal.kernel.dao.orm.Projection" }; } @Override public com.liferay.chat.model.Status addStatus( com.liferay.chat.model.Status status) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName0, _methodParameterTypes0, new Object[] { ClpSerializer.translateInput(status) }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status createStatus(long statusId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName1, _methodParameterTypes1, new Object[] { statusId }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status deleteStatus( com.liferay.chat.model.Status status) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName2, _methodParameterTypes2, new Object[] { ClpSerializer.translateInput(status) }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status deleteStatus(long statusId) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName3, _methodParameterTypes3, new Object[] { statusId }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status fetchStatus(long statusId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName4, _methodParameterTypes4, new Object[] { statusId }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status getStatus(long statusId) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName5, _methodParameterTypes5, new Object[] { statusId }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status getUserStatus(long userId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName6, _methodParameterTypes6, new Object[] { userId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status updateStatus( com.liferay.chat.model.Status status) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName7, _methodParameterTypes7, new Object[] { ClpSerializer.translateInput(status) }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status updateStatus(long userId, long modifiedDate) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName8, _methodParameterTypes8, new Object[] { userId, modifiedDate }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.chat.model.Status updateStatus(long userId, long modifiedDate, int online, int awake, java.lang.String activePanelIds, java.lang.String message, int playSound) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName9, _methodParameterTypes9, new Object[] { userId, modifiedDate, online, awake, ClpSerializer.translateInput(activePanelIds), ClpSerializer.translateInput(message), playSound }); } 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.chat.model.Status)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName10, _methodParameterTypes10, 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.ActionableDynamicQuery)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName11, _methodParameterTypes11, 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 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName12, _methodParameterTypes12, 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.IndexableActionableDynamicQuery)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel( com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName13, _methodParameterTypes13, new Object[] { ClpSerializer.translateInput(persistedModel) }); } 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.kernel.model.PersistedModel)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName14, _methodParameterTypes14, new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException)t; } if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.portal.kernel.model.PersistedModel)ClpSerializer.translateOutput(returnObj); } @Override public int getStatusesCount() { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName15, _methodParameterTypes15, 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 ((Integer)returnObj).intValue(); } @Override public java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable { throw new UnsupportedOperationException(); } @Override public java.lang.String getOSGiServiceIdentifier() { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName17, _methodParameterTypes17, 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 <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName18, _methodParameterTypes18, new Object[] { ClpSerializer.translateInput(dynamicQuery) }); } 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 <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName19, _methodParameterTypes19, new Object[] { ClpSerializer.translateInput(dynamicQuery), start, end }); } 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 <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(_methodName20, _methodParameterTypes20, 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 java.util.List<java.lang.Object[]> getAllStatuses(long companyId, long userId, long modifiedDate, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName21, _methodParameterTypes21, new Object[] { companyId, userId, modifiedDate, start, end }); } 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<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<java.lang.Object[]> getGroupStatuses(long userId, long modifiedDate, java.lang.String[] groupNames, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName22, _methodParameterTypes22, new Object[] { userId, modifiedDate, ClpSerializer.translateInput(groupNames), start, end }); } 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<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<java.lang.Object[]> getSocialStatuses(long userId, int type, long modifiedDate, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName23, _methodParameterTypes23, new Object[] { userId, type, modifiedDate, start, end }); } 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<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<java.lang.Object[]> getSocialStatuses(long userId, int[] types, long modifiedDate, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName24, _methodParameterTypes24, new Object[] { userId, ClpSerializer.translateInput(types), modifiedDate, start, end }); } 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<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.chat.model.Status> getStatuses( int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName25, _methodParameterTypes25, new Object[] { start, end }); } 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<com.liferay.chat.model.Status>)ClpSerializer.translateOutput(returnObj); } @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName26, _methodParameterTypes26, new Object[] { ClpSerializer.translateInput(dynamicQuery) }); } 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 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(_methodName27, _methodParameterTypes27, 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(); } 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 _methodName17; private String[] _methodParameterTypes17; private String _methodName18; private String[] _methodParameterTypes18; private String _methodName19; private String[] _methodParameterTypes19; private String _methodName20; private String[] _methodParameterTypes20; private String _methodName21; private String[] _methodParameterTypes21; private String _methodName22; private String[] _methodParameterTypes22; private String _methodName23; private String[] _methodParameterTypes23; private String _methodName24; private String[] _methodParameterTypes24; private String _methodName25; private String[] _methodParameterTypes25; private String _methodName26; private String[] _methodParameterTypes26; private String _methodName27; private String[] _methodParameterTypes27; }