// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   PhotoAction.java

package com.keyshop.pub.controller;

import com.keyshop.pub.model.Photo;
import com.keyshop.pub.model.PubBean;
import com.keyshop.pub.util.*;
import java.io.File;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;
import org.apache.struts.upload.FormFile;

// Referenced classes of package com.keyshop.pub.controller:
//            PubAction, PhotoForm

public class PhotoAction extends PubAction
{

    public boolean isRedirect;

    public PhotoAction()
    {
        isRedirect = false;
    }

    public String getSelectSQL()
    {
        return "";
    }

    public void initClassName()
    {
    }

    protected boolean isObjectExisted(PubBean bean)
    {
        return false;
    }

    public ActionForward performSave(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
     
        return mapping.findForward("add");
    }

    public ActionForward performSavefile(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
       
        return mapping.findForward("addfile");
    }

    private String updateAdElement(FormFile file, String oldFileName, String type)
    {
       
        return "";
    }
}
