|
|
@@ -1,590 +0,0 @@
|
|
|
-package com.kingdee.eas.custom.esign.app;
|
|
|
-
|
|
|
-import javax.ejb.*;
|
|
|
-import java.rmi.RemoteException;
|
|
|
-import com.kingdee.bos.*;
|
|
|
-import com.kingdee.bos.util.BOSObjectType;
|
|
|
-import com.kingdee.bos.metadata.IMetaDataPK;
|
|
|
-import com.kingdee.bos.metadata.rule.RuleExecutor;
|
|
|
-import com.kingdee.bos.metadata.MetaDataPK;
|
|
|
-//import com.kingdee.bos.metadata.entity.EntityViewInfo;
|
|
|
-import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
|
|
|
-import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
|
|
|
-//import com.kingdee.bos.dao.IObjectPK;
|
|
|
-import com.kingdee.bos.dao.IObjectValue;
|
|
|
-import com.kingdee.bos.dao.IObjectCollection;
|
|
|
-import com.kingdee.bos.service.ServiceContext;
|
|
|
-import com.kingdee.bos.service.IServiceContext;
|
|
|
-import com.kingdee.eas.framework.Result;
|
|
|
-import com.kingdee.eas.framework.LineResult;
|
|
|
-import com.kingdee.eas.framework.exception.EASMultiException;
|
|
|
-import com.kingdee.bos.dao.ormapping.ObjectUuidPK;
|
|
|
-
|
|
|
-import com.kingdee.eas.framework.CoreBaseInfo;
|
|
|
-import com.kingdee.eas.custom.esign.ESignTemplateESignFileTempCollection;
|
|
|
-import com.kingdee.eas.framework.app.CoreBillEntryBaseControllerBean;
|
|
|
-import com.kingdee.bos.dao.IObjectPK;
|
|
|
-import com.kingdee.bos.metadata.entity.FilterInfo;
|
|
|
-import com.kingdee.bos.metadata.entity.SelectorItemCollection;
|
|
|
-import com.kingdee.bos.metadata.entity.SorterItemCollection;
|
|
|
-import com.kingdee.eas.common.EASBizException;
|
|
|
-import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
|
|
|
-import com.kingdee.eas.framework.CoreBaseCollection;
|
|
|
-import com.kingdee.bos.metadata.entity.EntityViewInfo;
|
|
|
-import java.lang.String;
|
|
|
-import com.kingdee.eas.custom.esign.ESignTemplateESignFileTempInfo;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-public abstract class AbstractESignTemplateESignFileTempControllerBean extends CoreBillEntryBaseControllerBean implements ESignTemplateESignFileTempController
|
|
|
-{
|
|
|
- protected AbstractESignTemplateESignFileTempControllerBean()
|
|
|
- {
|
|
|
- }
|
|
|
-
|
|
|
- protected BOSObjectType getBOSType()
|
|
|
- {
|
|
|
- return new BOSObjectType("401C5027");
|
|
|
- }
|
|
|
-
|
|
|
- public boolean exists(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("d469e974-caf1-44c0-a5ac-9377c4e46aef"), new Object[]{ctx, pk});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- boolean retValue = (boolean)_exists(ctx, pk);
|
|
|
- svcCtx.setMethodReturnValue(new Boolean(retValue));
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return ((Boolean)svcCtx.getMethodReturnValue()).booleanValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected boolean _exists(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._exists(ctx, pk);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean exists(Context ctx, FilterInfo filter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("440e4f6b-b5b4-4131-8476-0ebed287aab0"), new Object[]{ctx, filter});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- boolean retValue = (boolean)_exists(ctx, filter);
|
|
|
- svcCtx.setMethodReturnValue(new Boolean(retValue));
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return ((Boolean)svcCtx.getMethodReturnValue()).booleanValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected boolean _exists(Context ctx, FilterInfo filter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._exists(ctx, filter);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean exists(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("b0d1c5f3-b73b-4948-9fee-cccaca9ed8ad"), new Object[]{ctx, oql});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- boolean retValue = (boolean)_exists(ctx, oql);
|
|
|
- svcCtx.setMethodReturnValue(new Boolean(retValue));
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return ((Boolean)svcCtx.getMethodReturnValue()).booleanValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected boolean _exists(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._exists(ctx, oql);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempInfo getESignTemplateESignFileTempInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("ce65b005-6579-4500-9fba-0648af404d56"), new Object[]{ctx, pk});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempInfo retValue = (ESignTemplateESignFileTempInfo)_getValue(ctx, pk);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempInfo)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getValue(ctx, pk);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempInfo getESignTemplateESignFileTempInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("2b17ff23-93ee-484f-b50c-4a0d3f70e02c"), new Object[]{ctx, pk, selector});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempInfo retValue = (ESignTemplateESignFileTempInfo)_getValue(ctx, pk, selector);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempInfo)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getValue(ctx, pk, selector);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempInfo getESignTemplateESignFileTempInfo(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("929ea966-698c-44e2-aa3e-e3d85cce8692"), new Object[]{ctx, oql});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempInfo retValue = (ESignTemplateESignFileTempInfo)_getValue(ctx, oql);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempInfo)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getValue(ctx, oql);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK addnew(Context ctx, ESignTemplateESignFileTempInfo model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("3fab0bd3-5777-4427-8a06-7c02139fd076"), new Object[]{ctx, model});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK retValue = (IObjectPK)_addnew(ctx, model);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK _addnew(Context ctx, IObjectValue model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._addnew(ctx, model);
|
|
|
- }
|
|
|
-
|
|
|
- public void addnew(Context ctx, IObjectPK pk, ESignTemplateESignFileTempInfo model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("9c554620-5857-4b8b-be52-302de5f387b8"), new Object[]{ctx, pk, model});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _addnew(ctx, pk, model);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _addnew(Context ctx, IObjectPK pk, IObjectValue model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- super._addnew(ctx, pk, model);
|
|
|
- }
|
|
|
-
|
|
|
- public void update(Context ctx, IObjectPK pk, ESignTemplateESignFileTempInfo model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("1f390131-faf0-4c0f-bc0d-1dcf09c0a952"), new Object[]{ctx, pk, model});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _update(ctx, pk, model);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _update(Context ctx, IObjectPK pk, IObjectValue model) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- super._update(ctx, pk, model);
|
|
|
- }
|
|
|
-
|
|
|
- public void updatePartial(Context ctx, ESignTemplateESignFileTempInfo model, SelectorItemCollection selector) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("62016e98-7cc4-42fc-a03c-b51d2ccd9861"), new Object[]{ctx, model, selector});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _updatePartial(ctx, model, selector);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _updatePartial(Context ctx, IObjectValue model, SelectorItemCollection selector) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- super._updatePartial(ctx, model, selector);
|
|
|
- }
|
|
|
-
|
|
|
- public void updateBigObject(Context ctx, IObjectPK pk, ESignTemplateESignFileTempInfo model) throws BOSException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("feb4d1b0-6795-44d9-8885-5ce88a0a8642"), new Object[]{ctx, pk, model});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _updateBigObject(ctx, pk, model);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _updateBigObject(Context ctx, IObjectPK pk, IObjectValue model) throws BOSException
|
|
|
- {
|
|
|
- innerUpdateBigObject(ctx, pk, model);
|
|
|
- }
|
|
|
-
|
|
|
- public void delete(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("e861071f-e07b-412d-8007-314958201040"), new Object[]{ctx, pk});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _delete(ctx, pk);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _delete(Context ctx, IObjectPK pk) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- super._delete(ctx, pk);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK[] getPKList(Context ctx) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("5b71da11-bad0-4aba-8c82-f40d15d87d8d"), new Object[]{ctx});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK[] retValue = (IObjectPK[])_getPKList(ctx);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK[])svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK[] _getPKList(Context ctx) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getPKList(ctx);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK[] getPKList(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("da1e4f85-b247-4c55-9a01-8f013023cde8"), new Object[]{ctx, oql});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK[] retValue = (IObjectPK[])_getPKList(ctx, oql);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK[])svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK[] _getPKList(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getPKList(ctx, oql);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK[] getPKList(Context ctx, FilterInfo filter, SorterItemCollection sorter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("9be2d5c1-5378-4f21-869b-2cf0649bcd2d"), new Object[]{ctx, filter, sorter});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK[] retValue = (IObjectPK[])_getPKList(ctx, filter, sorter);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK[])svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK[] _getPKList(Context ctx, FilterInfo filter, SorterItemCollection sorter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._getPKList(ctx, filter, sorter);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempCollection getESignTemplateESignFileTempCollection(Context ctx) throws BOSException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("7be8ace7-ae3d-4beb-bbb8-d023313fac7d"), new Object[]{ctx});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempCollection retValue = (ESignTemplateESignFileTempCollection)_getCollection(ctx, svcCtx);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempCollection)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
|
|
|
- {
|
|
|
- return super._getCollection(ctx, svcCtx);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempCollection getESignTemplateESignFileTempCollection(Context ctx, EntityViewInfo view) throws BOSException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("b1c878d5-1b00-440d-86cd-7785d8d355c7"), new Object[]{ctx, view});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempCollection retValue = (ESignTemplateESignFileTempCollection)_getCollection(ctx, svcCtx, view);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempCollection)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
|
|
|
- {
|
|
|
- return super._getCollection(ctx, svcCtx, view);
|
|
|
- }
|
|
|
-
|
|
|
- public ESignTemplateESignFileTempCollection getESignTemplateESignFileTempCollection(Context ctx, String oql) throws BOSException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("2be3a3f3-a682-402e-90f9-203e4957a37f"), new Object[]{ctx, oql});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- ESignTemplateESignFileTempCollection retValue = (ESignTemplateESignFileTempCollection)_getCollection(ctx, svcCtx, oql);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (ESignTemplateESignFileTempCollection)svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- throw ex;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
|
|
|
- {
|
|
|
- return super._getCollection(ctx, svcCtx, oql);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK[] delete(Context ctx, FilterInfo filter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("0a381cb4-bec4-4ec8-81f5-30be41049547"), new Object[]{ctx, filter});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK[] retValue = (IObjectPK[])_delete(ctx, filter);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK[])svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK[] _delete(Context ctx, FilterInfo filter) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._delete(ctx, filter);
|
|
|
- }
|
|
|
-
|
|
|
- public IObjectPK[] delete(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("dae93e51-ca62-47e2-8f97-e0332ea24e06"), new Object[]{ctx, oql});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()) {
|
|
|
- IObjectPK[] retValue = (IObjectPK[])_delete(ctx, oql);
|
|
|
- svcCtx.setMethodReturnValue(retValue);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
-
|
|
|
- return (IObjectPK[])svcCtx.getMethodReturnValue();
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected IObjectPK[] _delete(Context ctx, String oql) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- return super._delete(ctx, oql);
|
|
|
- }
|
|
|
-
|
|
|
- public void delete(Context ctx, IObjectPK[] arrayPK) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- try {
|
|
|
- ServiceContext svcCtx = createServiceContext(new MetaDataPK("f7c23cca-166b-4c32-bfca-bc4c2da6d887"), new Object[]{ctx, arrayPK});
|
|
|
- invokeServiceBefore(svcCtx);
|
|
|
- if(!svcCtx.invokeBreak()){
|
|
|
- _delete(ctx, arrayPK);
|
|
|
- }
|
|
|
- invokeServiceAfter(svcCtx);
|
|
|
- } catch (BOSException ex) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex;
|
|
|
- } catch (EASBizException ex0) {
|
|
|
- this.setRollbackOnly();
|
|
|
- throw ex0;
|
|
|
- } finally {
|
|
|
- super.cleanUpServiceState();
|
|
|
- }
|
|
|
- }
|
|
|
- protected void _delete(Context ctx, IObjectPK[] arrayPK) throws BOSException, EASBizException
|
|
|
- {
|
|
|
- super._delete(ctx, arrayPK);
|
|
|
- }
|
|
|
-
|
|
|
- public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBillEntryBaseCollection)(getESignTemplateESignFileTempCollection(ctx).cast(CoreBillEntryBaseCollection.class));
|
|
|
- }
|
|
|
- public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBillEntryBaseCollection)(getESignTemplateESignFileTempCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
|
|
|
- }
|
|
|
- public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBillEntryBaseCollection)(getESignTemplateESignFileTempCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
|
|
|
- }
|
|
|
- public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBaseCollection)(getESignTemplateESignFileTempCollection(ctx).cast(CoreBaseCollection.class));
|
|
|
- }
|
|
|
- public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBaseCollection)(getESignTemplateESignFileTempCollection(ctx, view).cast(CoreBaseCollection.class));
|
|
|
- }
|
|
|
- public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
|
|
|
- {
|
|
|
- return (CoreBaseCollection)(getESignTemplateESignFileTempCollection(ctx, oql).cast(CoreBaseCollection.class));
|
|
|
- }
|
|
|
-}
|