/**
* 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.skinny.service.base;
import aQute.bnd.annotation.ProviderType;
import com.liferay.skinny.service.SkinnyServiceUtil;
import java.util.Arrays;
/**
* @author Brian Wing Shun Chan
* @generated
*/
@ProviderType
public class SkinnyServiceClpInvoker {
public SkinnyServiceClpInvoker() {
_methodName44 = "getOSGiServiceIdentifier";
_methodParameterTypes44 = new String[] { };
_methodName47 = "getSkinnyDDLRecords";
_methodParameterTypes47 = new String[] { "long" };
_methodName48 = "getSkinnyJournalArticles";
_methodParameterTypes48 = new String[] {
"long", "java.lang.String", "long", "java.lang.String"
};
}
public Object invokeMethod(String name, String[] parameterTypes,
Object[] arguments) throws Throwable {
if (_methodName44.equals(name) &&
Arrays.deepEquals(_methodParameterTypes44, parameterTypes)) {
return SkinnyServiceUtil.getOSGiServiceIdentifier();
}
if (_methodName47.equals(name) &&
Arrays.deepEquals(_methodParameterTypes47, parameterTypes)) {
return SkinnyServiceUtil.getSkinnyDDLRecords(((Long)arguments[0]).longValue());
}
if (_methodName48.equals(name) &&
Arrays.deepEquals(_methodParameterTypes48, parameterTypes)) {
return SkinnyServiceUtil.getSkinnyJournalArticles(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]);
}
throw new UnsupportedOperationException();
}
private String _methodName44;
private String[] _methodParameterTypes44;
private String _methodName47;
private String[] _methodParameterTypes47;
private String _methodName48;
private String[] _methodParameterTypes48;
}