/** * 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 org.oep.dossiermgt.service.base; import org.oep.dossiermgt.service.DocFileVersionServiceUtil; import java.util.Arrays; /** * @author trungdk * @generated */ public class DocFileVersionServiceClpInvoker { public DocFileVersionServiceClpInvoker() { _methodName142 = "getBeanIdentifier"; _methodParameterTypes142 = new String[] { }; _methodName143 = "setBeanIdentifier"; _methodParameterTypes143 = new String[] { "java.lang.String" }; } public Object invokeMethod(String name, String[] parameterTypes, Object[] arguments) throws Throwable { if (_methodName142.equals(name) && Arrays.deepEquals(_methodParameterTypes142, parameterTypes)) { return DocFileVersionServiceUtil.getBeanIdentifier(); } if (_methodName143.equals(name) && Arrays.deepEquals(_methodParameterTypes143, parameterTypes)) { DocFileVersionServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); return null; } throw new UnsupportedOperationException(); } private String _methodName142; private String[] _methodParameterTypes142; private String _methodName143; private String[] _methodParameterTypes143; }