📄 _companylogohandler_stub.java
字号:
}
}
public boolean isIdentical(EJBObject arg0) throws RemoteException {
if (!Util.isLocal(this)) {
try {
org.omg.CORBA.portable.InputStream in = null;
try {
org.omg.CORBA.portable.OutputStream out = _request("isIdentical", true);
Util.writeRemoteObject(out,arg0);
in = _invoke(out);
return in.read_boolean();
} catch (ApplicationException ex) {
in = ex.getInputStream();
String id = in.read_string();
throw new UnexpectedException(id);
} catch (RemarshalException ex) {
return isIdentical(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("isIdentical",javax.ejb.EJBObject.class);
if (so == null) {
return isIdentical(arg0);
}
try {
EJBObject arg0Copy = (EJBObject) Util.copyObject(arg0,_orb());
return ((javax.ejb.EJBObject)so.servant).isIdentical(arg0Copy);
} catch (Throwable ex) {
Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
throw Util.wrapException(exCopy);
} finally {
_servant_postinvoke(so);
}
}
}
public void insertBLOB(CompanyLogoVO arg0) throws Exception {
if (!Util.isLocal(this)) {
try {
org.omg.CORBA_2_3.portable.InputStream in = null;
try {
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream)
_request("insertBLOB", true);
out.write_value(arg0,CompanyLogoVO.class);
_invoke(out);
return;
} catch (ApplicationException ex) {
in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
String id = in.read_string();
if (id.equals("IDL:java/lang/Ex:1.0")) {
throw (Exception) in.read_value(Exception.class);
}
throw new UnexpectedException(id);
} catch (RemarshalException ex) {
insertBLOB(arg0);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("insertBLOB",com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler.class);
if (so == null) {
insertBLOB(arg0);
return;
}
try {
CompanyLogoVO arg0Copy = (CompanyLogoVO) Util.copyObject(arg0,_orb());
((com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler)so.servant).insertBLOB(arg0Copy);
return;
} catch (Throwable ex) {
Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
if (exCopy instanceof Exception) {
throw (Exception)exCopy;
}
throw Util.wrapException(exCopy);
} finally {
_servant_postinvoke(so);
}
}
}
public CompanyLogoVO getBLOB(CompanyLogoVO arg0) throws Exception {
if (!Util.isLocal(this)) {
try {
org.omg.CORBA_2_3.portable.InputStream in = null;
try {
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream)
_request("getBLOB", true);
out.write_value(arg0,CompanyLogoVO.class);
in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
return (CompanyLogoVO) in.read_value(CompanyLogoVO.class);
} catch (ApplicationException ex) {
in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
String id = in.read_string();
if (id.equals("IDL:java/lang/Ex:1.0")) {
throw (Exception) in.read_value(Exception.class);
}
throw new UnexpectedException(id);
} catch (RemarshalException ex) {
return getBLOB(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("getBLOB",com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler.class);
if (so == null) {
return getBLOB(arg0);
}
try {
CompanyLogoVO arg0Copy = (CompanyLogoVO) Util.copyObject(arg0,_orb());
CompanyLogoVO result = ((com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler)so.servant).getBLOB(arg0Copy);
return (CompanyLogoVO)Util.copyObject(result,_orb());
} catch (Throwable ex) {
Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
if (exCopy instanceof Exception) {
throw (Exception)exCopy;
}
throw Util.wrapException(exCopy);
} finally {
_servant_postinvoke(so);
}
}
}
public boolean isBLOBExist(CompanyLogoVO arg0) throws Exception {
if (!Util.isLocal(this)) {
try {
org.omg.CORBA_2_3.portable.InputStream in = null;
try {
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream)
_request("isBLOBExist", true);
out.write_value(arg0,CompanyLogoVO.class);
in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
return in.read_boolean();
} catch (ApplicationException ex) {
in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
String id = in.read_string();
if (id.equals("IDL:java/lang/Ex:1.0")) {
throw (Exception) in.read_value(Exception.class);
}
throw new UnexpectedException(id);
} catch (RemarshalException ex) {
return isBLOBExist(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("isBLOBExist",com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler.class);
if (so == null) {
return isBLOBExist(arg0);
}
try {
CompanyLogoVO arg0Copy = (CompanyLogoVO) Util.copyObject(arg0,_orb());
return ((com.leeman.wkexs.master.companylogo.handler.CompanyLogoHandler)so.servant).isBLOBExist(arg0Copy);
} catch (Throwable ex) {
Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
if (exCopy instanceof Exception) {
throw (Exception)exCopy;
}
throw Util.wrapException(exCopy);
} finally {
_servant_postinvoke(so);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -