//# 0 errors, 34 messages
//#
/*
    //#UserAdmin.java:1:1: class: org.apache.roller.weblogger.ui.struts2.admin.UserAdmin
    //#UserAdmin.java:1:1: method: org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__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 org.apache.roller.weblogger.ui.struts2.util.UIAction;


/**
 * Action which displays user admin search page.
 */
public class UserAdmin extends UIAction {
    
    
    public UserAdmin() {
    //#UserAdmin.java:30: method: void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()
    //#UserAdmin.java:30: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.struts2.util.UIAction()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.admin.UserAdmin
    //#    method: void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.struts2.util.UIAction()
    //#input(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.actionName
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.desiredMenu
    //#output(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.pageTitle
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.actionName == &"userAdmin"
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.desiredMenu == &"admin"
    //#post(void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()): this.pageTitle == &"userAdmin.title.searchUser"
        this.actionName = "userAdmin";
        this.desiredMenu = "admin";
        this.pageTitle = "userAdmin.title.searchUser";
    }
    //#UserAdmin.java:34: end of method: void org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.org.apache.roller.weblogger.ui.struts2.admin.UserAdmin()
    
    
    // admin role required
    public String requiredUserRole() {
        return "admin";
    //#UserAdmin.java:39: method: String org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.requiredUserRole()
    //#output(String requiredUserRole()): return_value
    //#post(String requiredUserRole()): return_value == &"admin"
    //#UserAdmin.java:39: end of method: String org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.requiredUserRole()
    }
    
    // no weblog required
    public boolean isWeblogRequired() {
        return false;
    //#UserAdmin.java:44: method: bool org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.isWeblogRequired()
    //#output(bool isWeblogRequired()): return_value
    //#post(bool isWeblogRequired()): return_value == 0
    //#UserAdmin.java:44: end of method: bool org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.isWeblogRequired()
    }
    
    
    /**
     * Show user admin search page.
     */
    public String execute() {
        return SUCCESS;
    //#UserAdmin.java:52: method: String org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.execute()
    //#output(String execute()): return_value
    //#post(String execute()): return_value == &"success"
    //#UserAdmin.java:52: end of method: String org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.execute()
    }
    
}
    //#output(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/UserAdmin]
    //#output(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.execute()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.isWeblogRequired()Z
    //#output(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.requiredUserRole()Ljava/lang/String;
    //#post(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/admin/UserAdmin] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.execute()Ljava/lang/String; == &execute
    //#post(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.isWeblogRequired()Z == &isWeblogRequired
    //#post(org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init): __Dispatch_Table.requiredUserRole()Ljava/lang/String; == &requiredUserRole
    //#UserAdmin.java:: end of method: org.apache.roller.weblogger.ui.struts2.admin.UserAdmin.org.apache.roller.weblogger.ui.struts2.admin.UserAdmin__static_init
    //#UserAdmin.java:: end of class: org.apache.roller.weblogger.ui.struts2.admin.UserAdmin
