//# 0 errors, 70 messages
//#
/*
    //#CustomPingTargetEdit.java:1:1: class: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit
 * 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.editor;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.weblogger.pojos.WeblogPermission;
import org.apache.roller.weblogger.ui.struts2.common.PingTargetEditBase;


/**
 * Action for modifying a weblog custom ping target.
 */
public class CustomPingTargetEdit extends PingTargetEditBase {
    
    private static Log log = LogFactory.getLog(CustomPingTargetEdit.class);
    //#CustomPingTargetEdit.java:32: method: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init
    //#CustomPingTargetEdit.java:32: Warning: method not available
    //#    -- call on Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit
    //#    method: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init
    //#    unanalyzed callee: Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/CustomPingTargetEdit]
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.execute()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getBean()Lorg/apache/roller/weblogger/ui/struts2/common/PingTargetFormBean;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getLogger()Lorg/apache/commons/logging/Log;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getPingTarget()Lorg/apache/roller/weblogger/pojos/PingTarget;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.myPrepare()V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.myValidate(Lorg/apache/roller/weblogger/pojos/PingTarget;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.requiredWeblogPermissions()S
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.save()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.setBean(Lorg/apache/roller/weblogger/ui/struts2/common/PingTargetFormBean;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.setPingTarget(Lorg/apache/roller/weblogger/pojos/PingTarget;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): log
    //#output(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.__Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/CustomPingTargetEdit]
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/CustomPingTargetEdit] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.__Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/CustomPingTargetEdit] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.execute()Ljava/lang/String; == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.execute
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getBean()Lorg/apache/roller/weblogger/ui/struts2/common/PingTargetFormBean; == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.getBean
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getLogger()Lorg/apache/commons/logging/Log; == &getLogger
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.getPingTarget()Lorg/apache/roller/weblogger/pojos/PingTarget; == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.getPingTarget
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.myPrepare()V == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.myPrepare
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.myValidate(Lorg/apache/roller/weblogger/pojos/PingTarget;)V == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.myValidate
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.requiredWeblogPermissions()S == &requiredWeblogPermissions
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.save()Ljava/lang/String; == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.save
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.setBean(Lorg/apache/roller/weblogger/ui/struts2/common/PingTargetFormBean;)V == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.setBean
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): __Dispatch_Table.setPingTarget(Lorg/apache/roller/weblogger/pojos/PingTarget;)V == &org/apache/roller/weblogger/ui/struts2/common/PingTargetEditBase.setPingTarget
    //#post(org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init): init'ed(log)
    //#CustomPingTargetEdit.java:32: end of method: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit__static_init
    
    
    public CustomPingTargetEdit() {
    //#CustomPingTargetEdit.java:35: method: void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()
    //#input(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1) num objects
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).__Tag
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).id
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).name
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).pingUrl
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.actionName
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.bean
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.desiredMenu
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.pageTitle
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.pingTarget
    //#new obj(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1)
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.actionName == &"customPingTargetEdit"
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.bean == &new PingTargetFormBean(PingTargetEditBase#1)
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.desiredMenu == &"editor"
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.pageTitle == &"pingTarget.pingTarget"
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): this.pingTarget == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).id == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).name == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).pingUrl == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1) num objects == 1
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): new PingTargetFormBean(PingTargetEditBase#1).__Tag == org/apache/roller/weblogger/ui/struts2/common/PingTargetFormBean
    //#unanalyzed(void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()): Effects-of-calling:org.apache.roller.weblogger.ui.struts2.util.UIAction
        this.actionName = "customPingTargetEdit";
        this.desiredMenu = "editor";
        this.pageTitle = "pingTarget.pingTarget";
    }
    //#CustomPingTargetEdit.java:39: end of method: void org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit()
    
    
    // admin perms required
    public short requiredWeblogPermissions() {
        return WeblogPermission.ADMIN;
    //#CustomPingTargetEdit.java:44: method: short org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.requiredWeblogPermissions()
    //#input(short requiredWeblogPermissions()): org.apache.roller.weblogger.pojos.WeblogPermission.ADMIN
    //#output(short requiredWeblogPermissions()): return_value
    //#presumption(short requiredWeblogPermissions()): init'ed(org.apache.roller.weblogger.pojos.WeblogPermission.ADMIN)
    //#post(short requiredWeblogPermissions()): return_value == org.apache.roller.weblogger.pojos.WeblogPermission.ADMIN
    //#post(short requiredWeblogPermissions()): (soft) init'ed(return_value)
    //#CustomPingTargetEdit.java:44: end of method: short org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.requiredWeblogPermissions()
    }
    
    
    protected Log getLogger() {
        return log;
    //#CustomPingTargetEdit.java:49: method: Log org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.getLogger()
    //#input(Log getLogger()): log
    //#output(Log getLogger()): return_value
    //#pre[1] (Log getLogger()): init'ed(log)
    //#post(Log getLogger()): return_value == log
    //#post(Log getLogger()): init'ed(return_value)
    //#CustomPingTargetEdit.java:49: end of method: Log org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit.getLogger()
    }
    
}
    //#CustomPingTargetEdit.java:: end of class: org.apache.roller.weblogger.ui.struts2.editor.CustomPingTargetEdit
