Package com.alibaba.citrus.service.form

Examples of com.alibaba.citrus.service.form.Group


            this.groupName = groupName;
        }

        /** 取得当前group的默认instance。 */
        public GroupInstanceHelper getDefaultInstance() {
            Group group = getForm().getGroup(groupName);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here


            return group == null ? null : new GroupInstanceHelper(group);
        }

        /** 取得当前group的指定instance。 */
        public GroupInstanceHelper getInstance(String instanceName) {
            Group group = getForm().getGroup(groupName, instanceName);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here

            return group == null ? null : new GroupInstanceHelper(group);
        }

        /** 取得当前group的指定instance。 */
        public GroupInstanceHelper getInstance(String instanceName, boolean create) {
            Group group = getForm().getGroup(groupName, instanceName, create);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here

            }
        }

        public Object resolve() {
            Form form = formService.getForm();
            Group group = form.getGroup(groupName, groupInstanceKey);

            boolean valid = isValidatedAndValid(form);

            if (fc == null) {
                skipModuleExecutionIfNecessary(valid, group);
                return group;
            } else {
                skipModuleExecutionIfNecessary(valid, null);

                if (valid) {
                    Object object = newInstance(fc);
                    group.setProperties(object);
                    return object;
                } else {
                    return null;
                }
            }
View Full Code Here

            skipIfInvalid = fieldAnnotation.skipIfInvalid();
        }

        public Object resolve() {
            Form form = formService.getForm();
            Group group = form.getGroup(groupName, groupInstanceKey);
            Field field = group.getField(fieldName);

            boolean valid = isValidatedAndValid(form);

            if (context.getTypeInfo().getRawType().isAssignableFrom(Field.class)) {
                skipModuleExecutionIfNecessary(valid, field);
View Full Code Here

            this.groupName = groupName;
        }

        /** 取得当前group的默认instance。 */
        public GroupInstanceHelper getDefaultInstance() {
            Group group = getForm().getGroup(groupName);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here

            return group == null ? null : new GroupInstanceHelper(group);
        }

        /** 取得当前group的指定instance。 */
        public GroupInstanceHelper getInstance(String instanceName) {
            Group group = getForm().getGroup(groupName, instanceName);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here

            return group == null ? null : new GroupInstanceHelper(group);
        }

        /** 取得当前group的指定instance。 */
        public GroupInstanceHelper getInstance(String instanceName, boolean create) {
            Group group = getForm().getGroup(groupName, instanceName, create);
            return group == null ? null : new GroupInstanceHelper(group);
        }
View Full Code Here

        }

        instanceKey = defaultIfNull(trimToNull(instanceKey), DEFAULT_GROUP_INSTANCE_KEY);

        String groupInstanceKey = getGroupInstanceKey(groupConfig.getKey(), instanceKey);
        Group group = groups.get(groupInstanceKey);

        if (group == null && create) {
            group = new GroupImpl(groupConfig, this, instanceKey);
            groups.put(groupInstanceKey, group);
            group.init();
        }

        return group;
    }
View Full Code Here

            }
        }

        public Object resolve() {
            Form form = formService.getForm();
            Group group = form.getGroup(groupName, groupInstanceKey);

            boolean valid = isValidatedAndValid(form);

            if (fc == null) {
                skipModuleExecutionIfNecessary(valid, group);
                return group;
            } else {
                skipModuleExecutionIfNecessary(valid, null);

                if (valid) {
                    Object object = newInstance(fc);
                    group.setProperties(object);
                    return object;
                } else {
                    return null;
                }
            }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.form.Group

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.