/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; 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.microblogs.service; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.service.InvokableLocalService; /** * @author Brian Wing Shun Chan * @generated */ @ProviderType public class MicroblogsEntryLocalServiceClp implements MicroblogsEntryLocalService { public MicroblogsEntryLocalServiceClp( InvokableLocalService invokableLocalService) { _invokableLocalService = invokableLocalService; _methodName0 = "addMicroblogsEntry"; _methodParameterTypes0 = new String[] { "com.liferay.microblogs.model.MicroblogsEntry" }; _methodName1 = "addMicroblogsEntry"; _methodParameterTypes1 = new String[] { "long", "java.lang.String", "int", "long", "int", "com.liferay.portal.kernel.service.ServiceContext" }; _methodName2 = "addMicroblogsEntry"; _methodParameterTypes2 = new String[] { "long", "long", "long", "java.lang.String", "int", "long", "int", "com.liferay.portal.kernel.service.ServiceContext" }; _methodName3 = "createMicroblogsEntry"; _methodParameterTypes3 = new String[] { "long" }; _methodName4 = "deleteMicroblogsEntry"; _methodParameterTypes4 = new String[] { "com.liferay.microblogs.model.MicroblogsEntry" }; _methodName5 = "deleteMicroblogsEntry"; _methodParameterTypes5 = new String[] { "long" }; _methodName6 = "fetchMicroblogsEntry"; _methodParameterTypes6 = new String[] { "long" }; _methodName7 = "getMicroblogsEntry"; _methodParameterTypes7 = new String[] { "long" }; _methodName8 = "updateMicroblogsEntry"; _methodParameterTypes8 = new String[] { "com.liferay.microblogs.model.MicroblogsEntry" }; _methodName9 = "updateMicroblogsEntry"; _methodParameterTypes9 = new String[] { "long", "java.lang.String", "int", "com.liferay.portal.kernel.service.ServiceContext" }; _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 = "getCompanyMicroblogsEntriesCount"; _methodParameterTypes15 = new String[] { "long" }; _methodName16 = "getMicroblogsEntriesCount"; _methodParameterTypes16 = new String[] { }; _methodName17 = "getMicroblogsEntriesCount"; _methodParameterTypes17 = new String[] { "long", "java.lang.String" }; _methodName18 = "getMicroblogsEntriesCount"; _methodParameterTypes18 = new String[] { "long", "long" }; _methodName19 = "getMicroblogsEntriesCount"; _methodParameterTypes19 = new String[] { "long", "long", "int" }; _methodName20 = "getMicroblogsEntriesCount"; _methodParameterTypes20 = new String[] { "long", "long", "java.lang.String", "boolean" }; _methodName21 = "getParentMicroblogsEntryMicroblogsEntriesCount"; _methodParameterTypes21 = new String[] { "int", "long" }; _methodName22 = "getUserMicroblogsEntriesCount"; _methodParameterTypes22 = new String[] { "long" }; _methodName23 = "getUserMicroblogsEntriesCount"; _methodParameterTypes23 = new String[] { "long", "int" }; _methodName25 = "getOSGiServiceIdentifier"; _methodParameterTypes25 = new String[] { }; _methodName26 = "dynamicQuery"; _methodParameterTypes26 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery" }; _methodName27 = "dynamicQuery"; _methodParameterTypes27 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" }; _methodName28 = "dynamicQuery"; _methodParameterTypes28 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; _methodName29 = "getCompanyMicroblogsEntries"; _methodParameterTypes29 = new String[] { "long", "int", "int" }; _methodName30 = "getMicroblogsEntries"; _methodParameterTypes30 = new String[] { "int", "int" }; _methodName31 = "getMicroblogsEntries"; _methodParameterTypes31 = new String[] { "long", "int", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; _methodName32 = "getMicroblogsEntries"; _methodParameterTypes32 = new String[] { "long", "java.lang.String", "int", "int" }; _methodName33 = "getMicroblogsEntries"; _methodParameterTypes33 = new String[] { "long", "long", "int", "int" }; _methodName34 = "getMicroblogsEntries"; _methodParameterTypes34 = new String[] { "long", "long", "int", "int", "int" }; _methodName35 = "getMicroblogsEntries"; _methodParameterTypes35 = new String[] { "long", "long", "java.lang.String", "boolean", "int", "int" }; _methodName36 = "getParentMicroblogsEntryMicroblogsEntries"; _methodParameterTypes36 = new String[] { "int", "long", "int", "int" }; _methodName37 = "getParentMicroblogsEntryMicroblogsEntries"; _methodParameterTypes37 = new String[] { "int", "long", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; _methodName38 = "getUserMicroblogsEntries"; _methodParameterTypes38 = new String[] { "long", "int", "int" }; _methodName39 = "getUserMicroblogsEntries"; _methodParameterTypes39 = new String[] { "long", "int", "int", "int" }; _methodName40 = "dynamicQueryCount"; _methodParameterTypes40 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery" }; _methodName41 = "dynamicQueryCount"; _methodParameterTypes41 = new String[] { "com.liferay.portal.kernel.dao.orm.DynamicQuery", "com.liferay.portal.kernel.dao.orm.Projection" }; _methodName42 = "deleteMicroblogsEntries"; _methodParameterTypes42 = new String[] { "long", "long" }; _methodName43 = "deleteUserMicroblogsEntries"; _methodParameterTypes43 = new String[] { "long" }; _methodName44 = "updateAsset"; _methodParameterTypes44 = new String[] { "com.liferay.microblogs.model.MicroblogsEntry", "long[][]", "java.lang.String[][]" }; } @Override public com.liferay.microblogs.model.MicroblogsEntry addMicroblogsEntry( com.liferay.microblogs.model.MicroblogsEntry microblogsEntry) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName0, _methodParameterTypes0, new Object[] { ClpSerializer.translateInput(microblogsEntry) }); } catch (Throwable 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry addMicroblogsEntry( long userId, java.lang.String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName1, _methodParameterTypes1, new Object[] { userId, ClpSerializer.translateInput(content), type, parentMicroblogsEntryId, socialRelationType, ClpSerializer.translateInput(serviceContext) }); } 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry addMicroblogsEntry( long userId, long creatorClassNameId, long creatorClassPK, java.lang.String content, int type, long parentMicroblogsEntryId, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName2, _methodParameterTypes2, new Object[] { userId, creatorClassNameId, creatorClassPK, ClpSerializer.translateInput(content), type, parentMicroblogsEntryId, socialRelationType, ClpSerializer.translateInput(serviceContext) }); } 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry createMicroblogsEntry( long microblogsEntryId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName3, _methodParameterTypes3, new Object[] { microblogsEntryId }); } catch (Throwable 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry deleteMicroblogsEntry( com.liferay.microblogs.model.MicroblogsEntry microblogsEntry) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName4, _methodParameterTypes4, new Object[] { ClpSerializer.translateInput(microblogsEntry) }); } 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry deleteMicroblogsEntry( long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName5, _methodParameterTypes5, new Object[] { microblogsEntryId }); } 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry fetchMicroblogsEntry( long microblogsEntryId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName6, _methodParameterTypes6, new Object[] { microblogsEntryId }); } catch (Throwable 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry getMicroblogsEntry( long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName7, _methodParameterTypes7, new Object[] { microblogsEntryId }); } 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry updateMicroblogsEntry( com.liferay.microblogs.model.MicroblogsEntry microblogsEntry) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName8, _methodParameterTypes8, new Object[] { ClpSerializer.translateInput(microblogsEntry) }); } catch (Throwable 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.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); } @Override public com.liferay.microblogs.model.MicroblogsEntry updateMicroblogsEntry( long microblogsEntryId, java.lang.String content, int socialRelationType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName9, _methodParameterTypes9, new Object[] { microblogsEntryId, ClpSerializer.translateInput(content), socialRelationType, ClpSerializer.translateInput(serviceContext) }); } 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.microblogs.model.MicroblogsEntry)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 getCompanyMicroblogsEntriesCount(long companyId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName15, _methodParameterTypes15, new Object[] { companyId }); } catch (Throwable 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 int getMicroblogsEntriesCount() { 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 ((Integer)returnObj).intValue(); } @Override public int getMicroblogsEntriesCount(long creatorClassNameId, java.lang.String assetTagName) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName17, _methodParameterTypes17, new Object[] { creatorClassNameId, ClpSerializer.translateInput(assetTagName) }); } catch (Throwable 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 int getMicroblogsEntriesCount(long creatorClassNameId, long creatorClassPK) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName18, _methodParameterTypes18, new Object[] { creatorClassNameId, creatorClassPK }); } catch (Throwable 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 int getMicroblogsEntriesCount(long creatorClassNameId, long creatorClassPK, int type) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName19, _methodParameterTypes19, new Object[] { creatorClassNameId, creatorClassPK, type }); } catch (Throwable 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 int getMicroblogsEntriesCount(long creatorClassNameId, long creatorClassPK, java.lang.String assetTagName, boolean andOperator) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName20, _methodParameterTypes20, new Object[] { creatorClassNameId, creatorClassPK, ClpSerializer.translateInput(assetTagName), andOperator }); } catch (Throwable 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 int getParentMicroblogsEntryMicroblogsEntriesCount(int type, long parentMicroblogsEntryId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName21, _methodParameterTypes21, new Object[] { type, parentMicroblogsEntryId }); } catch (Throwable 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 int getUserMicroblogsEntriesCount(long userId) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName22, _methodParameterTypes22, 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 ((Integer)returnObj).intValue(); } @Override public int getUserMicroblogsEntriesCount(long userId, int type) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName23, _methodParameterTypes23, new Object[] { userId, type }); } catch (Throwable 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(_methodName25, _methodParameterTypes25, 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(_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 (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(_methodName27, _methodParameterTypes27, 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(_methodName28, _methodParameterTypes28, 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<com.liferay.microblogs.model.MicroblogsEntry> getCompanyMicroblogsEntries( long companyId, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName29, _methodParameterTypes29, new Object[] { companyId, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName30, _methodParameterTypes30, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName31, _methodParameterTypes31, new Object[] { creatorClassNameId, type, start, end, ClpSerializer.translateInput(obc) }); } catch (Throwable 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, java.lang.String assetTagName, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName32, _methodParameterTypes32, new Object[] { creatorClassNameId, ClpSerializer.translateInput(assetTagName), 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, long creatorClassPK, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName33, _methodParameterTypes33, new Object[] { creatorClassNameId, creatorClassPK, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, long creatorClassPK, int type, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName34, _methodParameterTypes34, new Object[] { creatorClassNameId, creatorClassPK, type, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, long creatorClassPK, java.lang.String assetTagName, boolean andOperator, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName35, _methodParameterTypes35, new Object[] { creatorClassNameId, creatorClassPK, ClpSerializer.translateInput(assetTagName), andOperator, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getParentMicroblogsEntryMicroblogsEntries( int type, long parentMicroblogsEntryId, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName36, _methodParameterTypes36, new Object[] { type, parentMicroblogsEntryId, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getParentMicroblogsEntryMicroblogsEntries( int type, long parentMicroblogsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.microblogs.model.MicroblogsEntry> orderByComparator) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName37, _methodParameterTypes37, new Object[] { type, parentMicroblogsEntryId, 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<com.liferay.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getUserMicroblogsEntries( long userId, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName38, _methodParameterTypes38, new Object[] { userId, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getUserMicroblogsEntries( long userId, int type, int start, int end) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName39, _methodParameterTypes39, new Object[] { userId, type, 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.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); } @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName40, _methodParameterTypes40, 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(_methodName41, _methodParameterTypes41, 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 void deleteMicroblogsEntries(long creatorClassNameId, long creatorClassPK) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod(_methodName42, _methodParameterTypes42, new Object[] { creatorClassNameId, creatorClassPK }); } 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"); } } } @Override public void deleteUserMicroblogsEntries(long userId) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod(_methodName43, _methodParameterTypes43, new Object[] { userId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException)t; } if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } @Override public void updateAsset( com.liferay.microblogs.model.MicroblogsEntry microblogsEntry, long[] assetCategoryIds, java.lang.String[] assetTagNames) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod(_methodName44, _methodParameterTypes44, new Object[] { ClpSerializer.translateInput(microblogsEntry), ClpSerializer.translateInput(assetCategoryIds), ClpSerializer.translateInput(assetTagNames) }); } 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"); } } } private InvokableLocalService _invokableLocalService; private String _methodName0; private String[] _methodParameterTypes0; private String _methodName1; private String[] _methodParameterTypes1; private String _methodName2; private String[] _methodParameterTypes2; private String _methodName3; private String[] _methodParameterTypes3; private String _methodName4; private String[] _methodParameterTypes4; private String _methodName5; private String[] _methodParameterTypes5; private String _methodName6; private String[] _methodParameterTypes6; private String _methodName7; private String[] _methodParameterTypes7; private String _methodName8; private String[] _methodParameterTypes8; private String _methodName9; private String[] _methodParameterTypes9; private String _methodName10; private String[] _methodParameterTypes10; private String _methodName11; private String[] _methodParameterTypes11; private String _methodName12; private String[] _methodParameterTypes12; private String _methodName13; private String[] _methodParameterTypes13; private String _methodName14; private String[] _methodParameterTypes14; private String _methodName15; private String[] _methodParameterTypes15; private String _methodName16; private String[] _methodParameterTypes16; private String _methodName17; private String[] _methodParameterTypes17; private String _methodName18; private String[] _methodParameterTypes18; private String _methodName19; private String[] _methodParameterTypes19; private String _methodName20; private String[] _methodParameterTypes20; private String _methodName21; private String[] _methodParameterTypes21; private String _methodName22; private String[] _methodParameterTypes22; private String _methodName23; private String[] _methodParameterTypes23; private String _methodName25; private String[] _methodParameterTypes25; private String _methodName26; private String[] _methodParameterTypes26; private String _methodName27; private String[] _methodParameterTypes27; private String _methodName28; private String[] _methodParameterTypes28; private String _methodName29; private String[] _methodParameterTypes29; private String _methodName30; private String[] _methodParameterTypes30; private String _methodName31; private String[] _methodParameterTypes31; private String _methodName32; private String[] _methodParameterTypes32; private String _methodName33; private String[] _methodParameterTypes33; private String _methodName34; private String[] _methodParameterTypes34; private String _methodName35; private String[] _methodParameterTypes35; private String _methodName36; private String[] _methodParameterTypes36; private String _methodName37; private String[] _methodParameterTypes37; private String _methodName38; private String[] _methodParameterTypes38; private String _methodName39; private String[] _methodParameterTypes39; private String _methodName40; private String[] _methodParameterTypes40; private String _methodName41; private String[] _methodParameterTypes41; private String _methodName42; private String[] _methodParameterTypes42; private String _methodName43; private String[] _methodParameterTypes43; private String _methodName44; private String[] _methodParameterTypes44; }