📄 adminboardsform.java
字号:
// 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: AdminBoardsForm.java
package com.laoer.bbscs.web.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
public class AdminBoardsForm extends ActionForm
{
private String action;
private String assiMaster;
private short attrib1;
private short attrib10;
private short attrib2;
private short attrib3;
private short attrib4;
private short attrib5;
private short attrib6;
private short attrib7;
private short attrib8;
private short attrib9;
private long boardID;
private String boardsEName;
private String boardsName;
private String bulletin;
private String explains;
private String hideMaster;
private long id;
private String mainMaster;
private short orders;
private short useStat;
private String userCanIn;
public AdminBoardsForm()
{
}
public String getAction()
{
return action;
}
public void setAction(String action)
{
this.action = action;
}
public String getAssiMaster()
{
return assiMaster;
}
public void setAssiMaster(String assiMaster)
{
this.assiMaster = assiMaster;
}
public short getAttrib1()
{
return attrib1;
}
public void setAttrib1(short attrib1)
{
this.attrib1 = attrib1;
}
public short getAttrib10()
{
return attrib10;
}
public void setAttrib10(short attrib10)
{
this.attrib10 = attrib10;
}
public short getAttrib2()
{
return attrib2;
}
public void setAttrib2(short attrib2)
{
this.attrib2 = attrib2;
}
public short getAttrib3()
{
return attrib3;
}
public void setAttrib3(short attrib3)
{
this.attrib3 = attrib3;
}
public short getAttrib4()
{
return attrib4;
}
public void setAttrib4(short attrib4)
{
this.attrib4 = attrib4;
}
public short getAttrib5()
{
return attrib5;
}
public void setAttrib5(short attrib5)
{
this.attrib5 = attrib5;
}
public short getAttrib6()
{
return attrib6;
}
public void setAttrib6(short attrib6)
{
this.attrib6 = attrib6;
}
public short getAttrib7()
{
return attrib7;
}
public void setAttrib7(short attrib7)
{
this.attrib7 = attrib7;
}
public short getAttrib8()
{
return attrib8;
}
public void setAttrib8(short attrib8)
{
this.attrib8 = attrib8;
}
public short getAttrib9()
{
return attrib9;
}
public void setAttrib9(short attrib9)
{
this.attrib9 = attrib9;
}
public long getBoardID()
{
return boardID;
}
public void setBoardID(long boardID)
{
this.boardID = boardID;
}
public String getBoardsEName()
{
return boardsEName;
}
public void setBoardsEName(String boardsEName)
{
this.boardsEName = boardsEName;
}
public String getBoardsName()
{
return boardsName;
}
public void setBoardsName(String boardsName)
{
this.boardsName = boardsName;
}
public String getBulletin()
{
return bulletin;
}
public void setBulletin(String bulletin)
{
this.bulletin = bulletin;
}
public String getExplains()
{
return explains;
}
public void setExplains(String explains)
{
this.explains = explains;
}
public String getHideMaster()
{
return hideMaster;
}
public void setHideMaster(String hideMaster)
{
this.hideMaster = hideMaster;
}
public long getId()
{
return id;
}
public void setId(long id)
{
this.id = id;
}
public String getMainMaster()
{
return mainMaster;
}
public void setMainMaster(String mainMaster)
{
this.mainMaster = mainMaster;
}
public short getOrders()
{
return orders;
}
public void setOrders(short orders)
{
this.orders = orders;
}
public short getUseStat()
{
return useStat;
}
public void setUseStat(short useStat)
{
this.useStat = useStat;
}
public String getUserCanIn()
{
return userCanIn;
}
public void setUserCanIn(String userCanIn)
{
this.userCanIn = userCanIn;
}
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest)
{
ActionErrors errors = new ActionErrors();
if(action == null || action.length() == 0)
action = "list";
if(action.equals("add") || action.equals("editdo"))
{
if(boardsName == null || boardsName.trim().length() == 0 || boardsEName == null || boardsEName.trim().length() == 0)
errors.add("error.nullerror", new ActionError("error.nullerror"));
boardsName = boardsName.trim();
boardsEName = boardsEName.trim();
if(assiMaster == null)
assiMaster = "";
else
assiMaster = assiMaster.trim();
if(bulletin == null)
bulletin = "";
else
bulletin = bulletin.trim();
if(explains == null)
explains = "";
else
explains = explains.trim();
if(hideMaster == null)
hideMaster = "";
else
hideMaster = hideMaster.trim();
if(mainMaster == null)
mainMaster = "";
else
mainMaster = mainMaster.trim();
if(userCanIn == null)
userCanIn = "";
else
userCanIn = userCanIn.trim();
}
return errors;
}
public void reset(ActionMapping actionmapping, HttpServletRequest httpservletrequest)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -