Package org.geogrid.aist.tsukubagama.services.request.form

Examples of org.geogrid.aist.tsukubagama.services.request.form.AccountRequestAttr


        }
        AccountRequestAttrCollection attrs =
            accountService.newAccountRequestAttrCollection(accountRequest.getAccountType());
        Map attributes = accountRequest.getAttributes();
        for (Iterator itr = attrs.iterator(); itr.hasNext(); ) {
            AccountRequestAttr attr = (AccountRequestAttr)itr.next();
            Object valueObj = attributes.get(attr.getName());
            if (valueObj != null) {
                attr.setValue((String)valueObj);
            }
        }
        if (log.isDebugEnabled()) {
            log.debug("AccountRequestAttrCollection: \n"+attrs);
        }
View Full Code Here


    public AccountRequestAttrCollection getAttrCollection(PortletContext ctx) {
        AccountRequestAttrCollection attrs =
            AccountRequestAttrDescriptor.load(ctx);
        Iterator it = attrs.getAttrList().iterator();
        AccountRequestAttr attr = null;
        while (it.hasNext()) {
            attr = (AccountRequestAttr) it.next();
            Object valueObj = attributes.get(attr.getName());
            if (valueObj != null) {
                attr.setValue((String)valueObj);
            }
        }
        return attrs;
    }
View Full Code Here

        String organization = request.getAttribute("organization");

        AccountRequestAttrCollection attrCollection =
            newAccountRequestAttrCollection(request.getAccountType());

        AccountRequestAttr attr = attrCollection.findByName("organization");
        if ( attr.isTypeOfSelectBox() ) {
            AccountRequestAttr.SelectOption option =
                attr.findOptionByValue(organization);
            if (option != null) {
                String vomrsValue = option.getVomrsValue();
                if (vomrsValue != null) {
                    return vomrsValue;
                }
View Full Code Here

TOP

Related Classes of org.geogrid.aist.tsukubagama.services.request.form.AccountRequestAttr

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.