//# 0 errors, 300 messages
//#
/*
    //#GlobalCommentManagementBean.java:1:1: class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#GlobalCommentManagementBean.java:1:1: method: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.ui.struts2.admin;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.apache.roller.weblogger.pojos.WeblogEntryComment;
import org.apache.roller.weblogger.util.Utilities;


/**
 * A bean for managing comments.
 */
public class GlobalCommentManagementBean {
    //#GlobalCommentManagementBean.java:35: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()
    //#input(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#1) num objects
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamComments.length
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#2) num objects
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.deleteComments.length
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.approvedString
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.deleteComments
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.endDateString
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.ids
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.page
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.searchString
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamComments
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamString
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.startDateString
    //#new obj(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#1)
    //#new obj(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#2)
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.approvedString == &"ALL"
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamString == &"ALL"
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.deleteComments == &new String[](GlobalCommentManagementBean#2)
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.endDateString == null
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.ids == null
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.searchString == null
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.startDateString == null
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.page == 0
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamComments.length == 0
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.deleteComments.length == 0
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): this.spamComments == &new String[](GlobalCommentManagementBean#1)
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#1) num objects == 1
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()): new String[](GlobalCommentManagementBean#2) num objects == 1
    
    private String searchString = null;
    private String startDateString = null;
    private String endDateString = null;
    private String spamString = "ALL";
    private String approvedString = "ALL";
    private int page = 0;
    
    private String[] spamComments = new String[0];
    private String[] deleteComments = new String[0];
    
    // Limit updates to just this set of comma-separated IDs
    private String ids = null;
    //#GlobalCommentManagementBean.java:48: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean()
    
    
    public void loadCheckboxes(List comments) {
        
        List<String> allComments = new ArrayList();
    //#GlobalCommentManagementBean.java:53: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.loadCheckboxes(List)
    //#input(void loadCheckboxes(List)): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean]
    //#input(void loadCheckboxes(List)): __Descendant_Table[others]
    //#input(void loadCheckboxes(List)): __Dispatch_Table.setIds(Ljava/lang/String;)V
    //#input(void loadCheckboxes(List)): comments
    //#input(void loadCheckboxes(List)): this
    //#input(void loadCheckboxes(List)): this.__Tag
    //#output(void loadCheckboxes(List)): this.ids
    //#output(void loadCheckboxes(List)): this.spamComments
    //#pre[1] (void loadCheckboxes(List)): comments != null
    //#pre[3] (void loadCheckboxes(List)): this.__Tag == org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean
    //#presumption(void loadCheckboxes(List)): java.util.Iterator:next(...)@58 != null
    //#presumption(void loadCheckboxes(List)): java.util.List:size(...)@66 >= 0
    //#presumption(void loadCheckboxes(List)): java.util.List:size(...)@69 >= 0
    //#post(void loadCheckboxes(List)): init'ed(this.ids)
    //#post(void loadCheckboxes(List)): init'ed(this.spamComments)
    //#test_vector(void loadCheckboxes(List)): java.lang.String:equals(...)@61: {0}, {1}
    //#test_vector(void loadCheckboxes(List)): java.util.Iterator:hasNext(...)@57: {0}, {1}
        List<String> spamList = new ArrayList();
        
        Iterator it = comments.iterator();
        while (it.hasNext()) {
            WeblogEntryComment comment = (WeblogEntryComment)it.next();
            allComments.add(comment.getId());
    //#GlobalCommentManagementBean.java:59: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogEntryComment:getId()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: void loadCheckboxes(List)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogEntryComment:getId()
            
            if (WeblogEntryComment.SPAM.equals(comment.getStatus())) {
    //#GlobalCommentManagementBean.java:61: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogEntryComment:getStatus()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: void loadCheckboxes(List)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogEntryComment:getStatus()
                spamList.add(comment.getId());
    //#GlobalCommentManagementBean.java:62: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogEntryComment:getId()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: void loadCheckboxes(List)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogEntryComment:getId()
            }
        }
        
        String[] idArray = (String[]) allComments.toArray(new String[allComments.size()]);
        this.setIds(Utilities.stringArrayToString(idArray,","));
    //#GlobalCommentManagementBean.java:67: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.util.Utilities:stringArrayToString(String[], String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: void loadCheckboxes(List)
    //#    unanalyzed callee: String org.apache.roller.weblogger.util.Utilities:stringArrayToString(String[], String)
        
        spamComments = (String[])spamList.toArray(
            new String[spamList.size()]);
    }
    //#GlobalCommentManagementBean.java:71: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.loadCheckboxes(List)
    
    
    public String getStatus() {
        if (approvedString.equals("ONLY_APPROVED")) {
    //#GlobalCommentManagementBean.java:75: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStatus()
    //#input(String getStatus()): this
    //#input(String getStatus()): this.approvedString
    //#input(String getStatus()): this.spamString
    //#output(String getStatus()): return_value
    //#pre[2] (String getStatus()): this.approvedString != null
    //#pre[3] (String getStatus()): (soft) this.spamString != null
    //#post(String getStatus()): return_value in Addr_Set{null,&"ALL_IGNORE_SPAM",&"SPAM",&"PENDING",&"DISAPPROVED",&"APPROVED"}
    //#test_vector(String getStatus()): java.lang.String:equals(...)@75: {0}, {1}
    //#test_vector(String getStatus()): java.lang.String:equals(...)@77: {0}, {1}
    //#test_vector(String getStatus()): java.lang.String:equals(...)@79: {0}, {1}
    //#test_vector(String getStatus()): java.lang.String:equals(...)@81: {0}, {1}
    //#test_vector(String getStatus()): java.lang.String:equals(...)@83: {0}, {1}
            return WeblogEntryComment.APPROVED;
        } else if (approvedString.equals("ONLY_DISAPPROVED")) {
            return WeblogEntryComment.DISAPPROVED;
        } else if (approvedString.equals("ONLY_PENDING")) {
            return WeblogEntryComment.PENDING;
        } else if (spamString.equals("ONLY_SPAM")) {
            return WeblogEntryComment.SPAM;
        } else if (spamString.equals("NO_SPAM")) {
            // all status' except spam
            // special situation, so this doesn't map to a persisted comment status
            return "ALL_IGNORE_SPAM";
        } else {
            // shows *all* comments, regardless of status
            return null;
    //#GlobalCommentManagementBean.java:89: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStatus()
        }
    }
    
    public Date getStartDate() {
        if(!StringUtils.isEmpty(getStartDateString())) try {
    //#GlobalCommentManagementBean.java:94: method: Date org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStartDate()
    //#GlobalCommentManagementBean.java:94: Warning: method not available
    //#    -- call on bool org.apache.commons.lang.StringUtils:isEmpty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: Date getStartDate()
    //#    unanalyzed callee: bool org.apache.commons.lang.StringUtils:isEmpty(String)
    //#input(Date getStartDate()): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean]
    //#input(Date getStartDate()): __Descendant_Table[others]
    //#input(Date getStartDate()): __Dispatch_Table.getStartDateString()Ljava/lang/String;
    //#input(Date getStartDate()): this
    //#input(Date getStartDate()): this.__Tag
    //#input(Date getStartDate()): this.startDateString
    //#output(Date getStartDate()): return_value
    //#pre[2] (Date getStartDate()): this.__Tag == org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean
    //#pre[3] (Date getStartDate()): init'ed(this.startDateString)
    //#post(Date getStartDate()): init'ed(return_value)
    //#test_vector(Date getStartDate()): org.apache.commons.lang.StringUtils:isEmpty(...)@94: {1}, {0}
            DateFormat df = new SimpleDateFormat("MM/dd/yy");
            return df.parse(getStartDateString());
        } catch(Exception e) { }
        return null;
    //#GlobalCommentManagementBean.java:98: end of method: Date org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStartDate()
    }

    public Date getEndDate() {
        if(!StringUtils.isEmpty(getEndDateString())) try {
    //#GlobalCommentManagementBean.java:102: method: Date org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getEndDate()
    //#GlobalCommentManagementBean.java:102: Warning: method not available
    //#    -- call on bool org.apache.commons.lang.StringUtils:isEmpty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
    //#    method: Date getEndDate()
    //#    unanalyzed callee: bool org.apache.commons.lang.StringUtils:isEmpty(String)
    //#input(Date getEndDate()): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean]
    //#input(Date getEndDate()): __Descendant_Table[others]
    //#input(Date getEndDate()): __Dispatch_Table.getEndDateString()Ljava/lang/String;
    //#input(Date getEndDate()): this
    //#input(Date getEndDate()): this.__Tag
    //#input(Date getEndDate()): this.endDateString
    //#output(Date getEndDate()): return_value
    //#pre[2] (Date getEndDate()): this.__Tag == org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean
    //#pre[3] (Date getEndDate()): init'ed(this.endDateString)
    //#post(Date getEndDate()): init'ed(return_value)
    //#test_vector(Date getEndDate()): org.apache.commons.lang.StringUtils:isEmpty(...)@102: {1}, {0}
            DateFormat df = new SimpleDateFormat("MM/dd/yy");
            return df.parse(getEndDateString());
        } catch(Exception e) { }
        return null;
    //#GlobalCommentManagementBean.java:106: end of method: Date org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getEndDate()
    }
    
    
    public String getSpamString() {
        return spamString;
    //#GlobalCommentManagementBean.java:111: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSpamString()
    //#input(String getSpamString()): this
    //#input(String getSpamString()): this.spamString
    //#output(String getSpamString()): return_value
    //#pre[2] (String getSpamString()): init'ed(this.spamString)
    //#post(String getSpamString()): return_value == this.spamString
    //#post(String getSpamString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:111: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSpamString()
    }
    
    public void setSpamString(String spamString) {
        this.spamString = spamString;
    //#GlobalCommentManagementBean.java:115: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSpamString(String)
    //#input(void setSpamString(String)): spamString
    //#input(void setSpamString(String)): this
    //#output(void setSpamString(String)): this.spamString
    //#post(void setSpamString(String)): this.spamString == spamString
    //#post(void setSpamString(String)): init'ed(this.spamString)
    }
    //#GlobalCommentManagementBean.java:116: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSpamString(String)
    
    public String getPendingString() {
        return approvedString;
    //#GlobalCommentManagementBean.java:119: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getPendingString()
    //#input(String getPendingString()): this
    //#input(String getPendingString()): this.approvedString
    //#output(String getPendingString()): return_value
    //#pre[2] (String getPendingString()): init'ed(this.approvedString)
    //#post(String getPendingString()): return_value == this.approvedString
    //#post(String getPendingString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:119: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getPendingString()
    }
    
    public void setPendingString(String pendingString) {
        this.approvedString = pendingString;
    //#GlobalCommentManagementBean.java:123: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setPendingString(String)
    //#input(void setPendingString(String)): pendingString
    //#input(void setPendingString(String)): this
    //#output(void setPendingString(String)): this.approvedString
    //#post(void setPendingString(String)): this.approvedString == pendingString
    //#post(void setPendingString(String)): init'ed(this.approvedString)
    }
    //#GlobalCommentManagementBean.java:124: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setPendingString(String)
    
    public String getIds() {
        return ids;
    //#GlobalCommentManagementBean.java:127: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getIds()
    //#input(String getIds()): this
    //#input(String getIds()): this.ids
    //#output(String getIds()): return_value
    //#pre[2] (String getIds()): init'ed(this.ids)
    //#post(String getIds()): return_value == this.ids
    //#post(String getIds()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:127: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getIds()
    }
    
    public void setIds(String ids) {
        this.ids = ids;
    //#GlobalCommentManagementBean.java:131: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setIds(String)
    //#input(void setIds(String)): ids
    //#input(void setIds(String)): this
    //#output(void setIds(String)): this.ids
    //#post(void setIds(String)): this.ids == ids
    //#post(void setIds(String)): init'ed(this.ids)
    }
    //#GlobalCommentManagementBean.java:132: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setIds(String)
    
    public String getSearchString() {
        return searchString;
    //#GlobalCommentManagementBean.java:135: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSearchString()
    //#input(String getSearchString()): this
    //#input(String getSearchString()): this.searchString
    //#output(String getSearchString()): return_value
    //#pre[2] (String getSearchString()): init'ed(this.searchString)
    //#post(String getSearchString()): return_value == this.searchString
    //#post(String getSearchString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:135: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSearchString()
    }
    
    public void setSearchString(String searchString) {
        this.searchString = searchString;
    //#GlobalCommentManagementBean.java:139: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSearchString(String)
    //#input(void setSearchString(String)): searchString
    //#input(void setSearchString(String)): this
    //#output(void setSearchString(String)): this.searchString
    //#post(void setSearchString(String)): this.searchString == searchString
    //#post(void setSearchString(String)): init'ed(this.searchString)
    }
    //#GlobalCommentManagementBean.java:140: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSearchString(String)

    public String[] getSpamComments() {
        return spamComments;
    //#GlobalCommentManagementBean.java:143: method: String[] org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSpamComments()
    //#input(String[] getSpamComments()): this
    //#input(String[] getSpamComments()): this.spamComments
    //#output(String[] getSpamComments()): return_value
    //#pre[2] (String[] getSpamComments()): init'ed(this.spamComments)
    //#post(String[] getSpamComments()): return_value == this.spamComments
    //#post(String[] getSpamComments()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:143: end of method: String[] org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getSpamComments()
    }

    public void setSpamComments(String[] spamComments) {
        this.spamComments = spamComments;
    //#GlobalCommentManagementBean.java:147: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSpamComments(String[])
    //#input(void setSpamComments(String[])): spamComments
    //#input(void setSpamComments(String[])): this
    //#output(void setSpamComments(String[])): this.spamComments
    //#post(void setSpamComments(String[])): this.spamComments == spamComments
    //#post(void setSpamComments(String[])): init'ed(this.spamComments)
    }
    //#GlobalCommentManagementBean.java:148: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setSpamComments(String[])

    public String[] getDeleteComments() {
        return deleteComments;
    //#GlobalCommentManagementBean.java:151: method: String[] org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getDeleteComments()
    //#input(String[] getDeleteComments()): this
    //#input(String[] getDeleteComments()): this.deleteComments
    //#output(String[] getDeleteComments()): return_value
    //#pre[2] (String[] getDeleteComments()): init'ed(this.deleteComments)
    //#post(String[] getDeleteComments()): return_value == this.deleteComments
    //#post(String[] getDeleteComments()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:151: end of method: String[] org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getDeleteComments()
    }

    public void setDeleteComments(String[] deleteComments) {
        this.deleteComments = deleteComments;
    //#GlobalCommentManagementBean.java:155: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setDeleteComments(String[])
    //#input(void setDeleteComments(String[])): deleteComments
    //#input(void setDeleteComments(String[])): this
    //#output(void setDeleteComments(String[])): this.deleteComments
    //#post(void setDeleteComments(String[])): this.deleteComments == deleteComments
    //#post(void setDeleteComments(String[])): init'ed(this.deleteComments)
    }
    //#GlobalCommentManagementBean.java:156: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setDeleteComments(String[])

    public String getApprovedString() {
        return approvedString;
    //#GlobalCommentManagementBean.java:159: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getApprovedString()
    //#input(String getApprovedString()): this
    //#input(String getApprovedString()): this.approvedString
    //#output(String getApprovedString()): return_value
    //#pre[2] (String getApprovedString()): init'ed(this.approvedString)
    //#post(String getApprovedString()): return_value == this.approvedString
    //#post(String getApprovedString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:159: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getApprovedString()
    }

    public void setApprovedString(String approvedString) {
        this.approvedString = approvedString;
    //#GlobalCommentManagementBean.java:163: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setApprovedString(String)
    //#input(void setApprovedString(String)): approvedString
    //#input(void setApprovedString(String)): this
    //#output(void setApprovedString(String)): this.approvedString
    //#post(void setApprovedString(String)): this.approvedString == approvedString
    //#post(void setApprovedString(String)): init'ed(this.approvedString)
    }
    //#GlobalCommentManagementBean.java:164: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setApprovedString(String)

    public int getPage() {
        return page;
    //#GlobalCommentManagementBean.java:167: method: int org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getPage()
    //#input(int getPage()): this
    //#input(int getPage()): this.page
    //#output(int getPage()): return_value
    //#pre[2] (int getPage()): init'ed(this.page)
    //#post(int getPage()): return_value == this.page
    //#post(int getPage()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:167: end of method: int org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getPage()
    }

    public void setPage(int page) {
        this.page = page;
    //#GlobalCommentManagementBean.java:171: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setPage(int)
    //#input(void setPage(int)): page
    //#input(void setPage(int)): this
    //#output(void setPage(int)): this.page
    //#post(void setPage(int)): this.page == page
    //#post(void setPage(int)): init'ed(this.page)
    }
    //#GlobalCommentManagementBean.java:172: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setPage(int)

    public String getStartDateString() {
        return startDateString;
    //#GlobalCommentManagementBean.java:175: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStartDateString()
    //#input(String getStartDateString()): this
    //#input(String getStartDateString()): this.startDateString
    //#output(String getStartDateString()): return_value
    //#pre[2] (String getStartDateString()): init'ed(this.startDateString)
    //#post(String getStartDateString()): return_value == this.startDateString
    //#post(String getStartDateString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:175: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getStartDateString()
    }

    public void setStartDateString(String startDateString) {
        this.startDateString = startDateString;
    //#GlobalCommentManagementBean.java:179: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setStartDateString(String)
    //#input(void setStartDateString(String)): startDateString
    //#input(void setStartDateString(String)): this
    //#output(void setStartDateString(String)): this.startDateString
    //#post(void setStartDateString(String)): this.startDateString == startDateString
    //#post(void setStartDateString(String)): init'ed(this.startDateString)
    }
    //#GlobalCommentManagementBean.java:180: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setStartDateString(String)

    public String getEndDateString() {
        return endDateString;
    //#GlobalCommentManagementBean.java:183: method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getEndDateString()
    //#input(String getEndDateString()): this
    //#input(String getEndDateString()): this.endDateString
    //#output(String getEndDateString()): return_value
    //#pre[2] (String getEndDateString()): init'ed(this.endDateString)
    //#post(String getEndDateString()): return_value == this.endDateString
    //#post(String getEndDateString()): init'ed(return_value)
    //#GlobalCommentManagementBean.java:183: end of method: String org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.getEndDateString()
    }

    public void setEndDateString(String endDateString) {
        this.endDateString = endDateString;
    //#GlobalCommentManagementBean.java:187: method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setEndDateString(String)
    //#input(void setEndDateString(String)): endDateString
    //#input(void setEndDateString(String)): this
    //#output(void setEndDateString(String)): this.endDateString
    //#post(void setEndDateString(String)): this.endDateString == endDateString
    //#post(void setEndDateString(String)): init'ed(this.endDateString)
    }
    //#GlobalCommentManagementBean.java:188: end of method: void org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.setEndDateString(String)
    
}
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean]
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getApprovedString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getDeleteComments()[Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getEndDate()Ljava/util/Date;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getEndDateString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getIds()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getPage()I
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getPendingString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSearchString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSpamComments()[Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSpamString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStartDate()Ljava/util/Date;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStartDateString()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStatus()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.loadCheckboxes(Ljava/util/List;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setApprovedString(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setDeleteComments([Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setEndDateString(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setIds(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setPage(I)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setPendingString(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSearchString(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSpamComments([Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSpamString(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setStartDateString(Ljava/lang/String;)V
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/GlobalCommentManagementBean] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getApprovedString()Ljava/lang/String; == &getApprovedString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getDeleteComments()[Ljava/lang/String; == &getDeleteComments
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getEndDate()Ljava/util/Date; == &getEndDate
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getEndDateString()Ljava/lang/String; == &getEndDateString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getIds()Ljava/lang/String; == &getIds
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getPage()I == &getPage
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getPendingString()Ljava/lang/String; == &getPendingString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSearchString()Ljava/lang/String; == &getSearchString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSpamComments()[Ljava/lang/String; == &getSpamComments
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getSpamString()Ljava/lang/String; == &getSpamString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStartDate()Ljava/util/Date; == &getStartDate
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStartDateString()Ljava/lang/String; == &getStartDateString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.getStatus()Ljava/lang/String; == &getStatus
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.loadCheckboxes(Ljava/util/List;)V == &loadCheckboxes
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setApprovedString(Ljava/lang/String;)V == &setApprovedString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setDeleteComments([Ljava/lang/String;)V == &setDeleteComments
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setEndDateString(Ljava/lang/String;)V == &setEndDateString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setIds(Ljava/lang/String;)V == &setIds
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setPage(I)V == &setPage
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setPendingString(Ljava/lang/String;)V == &setPendingString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSearchString(Ljava/lang/String;)V == &setSearchString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSpamComments([Ljava/lang/String;)V == &setSpamComments
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setSpamString(Ljava/lang/String;)V == &setSpamString
    //#post(org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init): __Dispatch_Table.setStartDateString(Ljava/lang/String;)V == &setStartDateString
    //#GlobalCommentManagementBean.java:: end of method: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean.org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean__static_init
    //#GlobalCommentManagementBean.java:: end of class: org.apache.roller.weblogger.ui.struts2.admin.GlobalCommentManagementBean
