Package com.nineteendrops.tracdrops.client.core.multicall

Examples of com.nineteendrops.tracdrops.client.core.multicall.MultiParameter


        if(description == null){
            description = "";
        }


        MultiParameter multiParameter = new MultiParameter();
        multiParameter.addParameter(name);

        Hashtable attributes = new Hashtable();
        attributes.put(VersionKeys.TIME, time);
        attributes.put(VersionKeys.DESCRIPTION, description);

        multiParameter.addParameter(attributes);

        return multiParameter;
    }
View Full Code Here


        if(comment == null || comment.trim().equals("")){
            throw new TracException(MessageUtils.getMessage("core.parameter.not.found", "Ticket.comment", this.getClass().getName()));
        }


        MultiParameter multiParameter = new MultiParameter();
        multiParameter.addParameter(idTicket);
        multiParameter.addParameter(comment);

        Hashtable attributes = new Hashtable();
        for(String key: TicketKeys.FIELDS_ARRAY){
            if(!key.equals(TicketKeys.FIELD_COMMENT)){
                String attribute = ticket.getOtherAttribute(key);
                if(attribute != null && !attribute.trim().equals("")){
                    attributes.put(key, attribute);
                }
            }
        }

        multiParameter.addParameter(attributes);

        return multiParameter;
    }
View Full Code Here

                            }
                        }
                    }
                    if(!skipInvocationRegistration){
                        if (currentParameter instanceof MultiParameter) {
                            MultiParameter multiParameter = (MultiParameter) currentParameter;
                            for(Object objectFromMultiparameter: multiParameter.getParameters()){
                                encodedPARGS.add(objectFromMultiparameter);
                            }

                        } else {
                            encodedPARGS.add(currentParameter);
View Full Code Here

TOP

Related Classes of com.nineteendrops.tracdrops.client.core.multicall.MultiParameter

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.