📄 _companyhandler_stub.java
字号:
out.write_value(arg0,CompanyVO.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) {
update(arg0);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("update",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
update(arg0);
return;
}
try {
CompanyVO arg0Copy = (CompanyVO) Util.copyObject(arg0,_orb());
((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).update(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 boolean isExist(CompanyVO 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("isExist", true);
out.write_value(arg0,CompanyVO.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 isExist(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("isExist",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
return isExist(arg0);
}
try {
CompanyVO arg0Copy = (CompanyVO) Util.copyObject(arg0,_orb());
return ((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).isExist(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);
}
}
}
public ArrayList getPrivList(CompanyVO arg0, boolean arg1) 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("getPrivList", true);
out.write_value(arg0,CompanyVO.class);
out.write_boolean(arg1);
in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
return (ArrayList) in.read_value(ArrayList.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 getPrivList(arg0,arg1);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("getPrivList",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
return getPrivList(arg0, arg1);
}
try {
CompanyVO arg0Copy = (CompanyVO) Util.copyObject(arg0,_orb());
ArrayList result = ((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).getPrivList(arg0Copy, arg1);
return (ArrayList)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 void insertPrivListQuery(PrivilegeVO 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("insertPrivListQuery", true);
out.write_value(arg0,PrivilegeVO.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) {
insertPrivListQuery(arg0);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("insertPrivListQuery",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
insertPrivListQuery(arg0);
return;
}
try {
PrivilegeVO arg0Copy = (PrivilegeVO) Util.copyObject(arg0,_orb());
((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).insertPrivListQuery(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 void insertRoleDtlListQuery(PrivilegeVO 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("insertRoleDtlListQuery", true);
out.write_value(arg0,PrivilegeVO.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) {
insertRoleDtlListQuery(arg0);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("insertRoleDtlListQuery",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
insertRoleDtlListQuery(arg0);
return;
}
try {
PrivilegeVO arg0Copy = (PrivilegeVO) Util.copyObject(arg0,_orb());
((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).insertRoleDtlListQuery(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 void deletePrivListQuery(CompanyVO 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("deletePrivListQuery", true);
out.write_value(arg0,CompanyVO.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) {
deletePrivListQuery(arg0);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("deletePrivListQuery",com.leeman.wkexs.master.company.handler.CompanyHandler.class);
if (so == null) {
deletePrivListQuery(arg0);
return;
}
try {
CompanyVO arg0Copy = (CompanyVO) Util.copyObject(arg0,_orb());
((com.leeman.wkexs.master.company.handler.CompanyHandler)so.servant).deletePrivListQuery(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);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -