Package com.nineteendrops.tracdrops.client.api.wiki

Examples of com.nineteendrops.tracdrops.client.api.wiki.WikiChangeLog


        for(Object resultElement: resultArray){

            HashMap element = (HashMap)resultElement;

            WikiChangeLog wikiChangeLog = new WikiChangeLog((Date)element.get(WikiKeys.LAST_MODIFIED),
                                                (String)element.get(WikiKeys.COMMENT),
                                                (String)element.get(WikiKeys.NAME),
                                                (String)element.get(WikiKeys.AUTHOR),
                                                (Integer)element.get(WikiKeys.VERSION));
            wikiChanges.add(wikiChangeLog);
View Full Code Here


*/
public class ArrayToChangeLogDecoder implements ReturnDecoder {

    public Object decode(Object result, TracProperties tracProperties, ArrayList keptParametersForDecoder) {

        WikiChangeLog wikiChangeLog = null;

        if(result instanceof HashMap){
            HashMap element = (HashMap)result;

            wikiChangeLog = new WikiChangeLog((Date)element.get(WikiKeys.LAST_MODIFIED),
                                      (String)element.get(WikiKeys.COMMENT),
                                      (String)element.get(WikiKeys.NAME),
                                      (String)element.get(WikiKeys.AUTHOR),
                                      (Integer)element.get(WikiKeys.VERSION));
        }
View Full Code Here

TOP

Related Classes of com.nineteendrops.tracdrops.client.api.wiki.WikiChangeLog

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.