Examples of entryClass()


Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = (extDirectMethodAnnotation.entryClass() == Object.class) ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
          if (collType != null) {
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = (extDirectMethodAnnotation.entryClass() == Object.class) ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = (extDirectMethodAnnotation.entryClass() == Object.class) ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
          if (collType != null) {
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = (extDirectMethodAnnotation.entryClass() == Object.class) ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = (extDirectMethodAnnotation.entryClass() == Object.class) ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
          if (collType != null) {
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

          remainingParameters = (Map) directRequest.getData()[0];
        }
        jsonParamIndex = 1;
      }
    } else if (type == ExtDirectMethodType.STORE_MODIFY) {
      directStoreEntryClass = annotation.entryClass();

      if (directRequest.getData() != null && directRequest.getData().length > 0) {
        Map<String, Object> jsonData = (LinkedHashMap<String, Object>) directRequest.getData()[0];

        ArrayList<Object> records = (ArrayList<Object>) jsonData.get("records");
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

            case FORM_LOAD:
            case STORE_READ:
              remotingApi.addAction(beanName, method.getName(), 1);
              break;
            case STORE_MODIFY:
              if (annotation.entryClass() != ExtDirectMethod.class) {
                remotingApi.addAction(beanName, method.getName(), 1);
              } else {
                LogFactory.getLog(getClass()).warn(
                    "Method '"+beanName+"."+method.getName()+"' is annotated as a store modify method but does "
                        + "not specify a entryClass. Method ignored.");
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = extDirectMethodAnnotation.entryClass() == Object.class ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

    if (type != ExtDirectMethodType.FORM_POST) {
      this.method = method;
      this.parameters = buildParameterList(clazz, method);

      this.collectionType = extDirectMethodAnnotation.entryClass() == Object.class ? null
          : extDirectMethodAnnotation.entryClass();

      if (this.collectionType == null) {
        for (ParameterInfo parameter : parameters) {
          Class<?> collType = parameter.getCollectionType();
          if (collType != null) {
View Full Code Here

Examples of ch.ralscha.extdirectspring.annotation.ExtDirectMethod.entryClass()

            case FORM_LOAD:
            case STORE_READ:
              remotingApi.addAction(beanName, method.getName(), 1);
              break;
            case STORE_MODIFY:
              if (annotation.entryClass() != ExtDirectMethod.class) {
                remotingApi.addAction(beanName, method.getName(), 1);
              } else {
                LoggerFactory.getLogger(getClass()).warn(
                    "Method '{}.{}' is annotated as a store modify method but does "
                        + "not specify a entryClass. Method ignored.", beanName, method.getName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.