Package ch.ralscha.extdirectspring.bean

Examples of ch.ralscha.extdirectspring.bean.ExtDirectStoreReadResult


          } else if ((methodInfo.isType(ExtDirectMethodType.STORE_MODIFY) || methodInfo
              .isType(ExtDirectMethodType.STORE_READ))
              && !ExtDirectStoreReadResult.class.isAssignableFrom(result.getClass())
              && configuration.isAlwaysWrapStoreResponse()) {
            if (result instanceof Collection) {
              result = new ExtDirectStoreReadResult((Collection) result);
            } else {
              result = new ExtDirectStoreReadResult(result);
            }
          }

          directResponse.setResult(result);
        } else {
View Full Code Here


          } else if ((methodInfo.isType(ExtDirectMethodType.STORE_MODIFY) || methodInfo
              .isType(ExtDirectMethodType.STORE_READ))
              && !ExtDirectStoreReadResult.class.isAssignableFrom(result.getClass())
              && configuration.isAlwaysWrapStoreResponse()) {
            if (result instanceof Collection) {
              result = new ExtDirectStoreReadResult((Collection) result);
            } else {
              result = new ExtDirectStoreReadResult(result);
            }
          }

          directResponse.setResult(result);
        } else {
View Full Code Here

          } else if ((methodInfo.isType(ExtDirectMethodType.STORE_MODIFY) || methodInfo
              .isType(ExtDirectMethodType.STORE_READ))
              && !ExtDirectStoreReadResult.class.isAssignableFrom(result.getClass())
              && configuration.isAlwaysWrapStoreResponse()) {
            if (result instanceof Collection) {
              result = new ExtDirectStoreReadResult((Collection) result);
            } else {
              result = new ExtDirectStoreReadResult(result);
            }
          }

          directResponse.setResult(result);
        } else {
View Full Code Here

          } else if ((methodInfo.isType(ExtDirectMethodType.STORE_MODIFY) || methodInfo
              .isType(ExtDirectMethodType.STORE_READ))
              && !ExtDirectStoreReadResult.class.isAssignableFrom(result.getClass())
              && configurationService.getConfiguration().isAlwaysWrapStoreResponse()) {
            if (result instanceof Collection) {
              result = new ExtDirectStoreReadResult((Collection) result);
            } else {
              result = new ExtDirectStoreReadResult(result);
            }
          }

          directResponse.setResult(result);
        } else {
View Full Code Here

TOP

Related Classes of ch.ralscha.extdirectspring.bean.ExtDirectStoreReadResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.