|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ActionImpl ActionTemplateListAndEdit hirondelle.fish.main.member.MemberAction
public final class MemberAction
Edit the Members of the Fish and Chips Club.
A Member
that is "inactive" will be retained in the database, but
will simply not be part of the RSVP list.
Field Summary | |
---|---|
static SqlId |
COUNT_ACTIVE_MEMBERS
|
static RequestParameter |
DISPOSITION
|
static RequestParameter |
IS_ACTIVE
|
static SqlId |
MEMBER_ADD
|
static SqlId |
MEMBER_CHANGE
|
static SqlId |
MEMBER_DELETE
|
static SqlId |
MEMBER_FETCH
|
static RequestParameter |
MEMBER_ID
|
static SqlId |
MEMBER_LIST
|
static RequestParameter |
NAME
|
Fields inherited from class ActionTemplateListAndEdit |
---|
SupportedOperation |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
MemberAction(RequestParser aRequestParser)
Constructor. |
Method Summary | |
---|---|
protected void |
attemptAdd()
Add a new Member . |
protected void |
attemptChange()
Apply an edit to an existing Member . |
protected void |
attemptDelete()
Delete existing Member s. |
protected void |
attemptFetchForChange()
Fetch an existing Member in order to edit it. |
protected void |
doList()
List all Members, sorted by name. |
protected void |
validateUserInput()
Ensure user input can build a Member . |
Methods inherited from class ActionTemplateListAndEdit |
---|
addDynamicParameterToRedirectPage, execute |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SqlId MEMBER_LIST
public static final SqlId MEMBER_FETCH
public static final SqlId MEMBER_ADD
public static final SqlId MEMBER_CHANGE
public static final SqlId MEMBER_DELETE
public static final SqlId COUNT_ACTIVE_MEMBERS
public static final RequestParameter IS_ACTIVE
public static final RequestParameter MEMBER_ID
public static final RequestParameter NAME
public static final RequestParameter DISPOSITION
Constructor Detail |
---|
public MemberAction(RequestParser aRequestParser)
Method Detail |
---|
protected void doList() throws DAOException
doList
in class ActionTemplateListAndEdit
DAOException
protected void validateUserInput()
Member
.
validateUserInput
in class ActionTemplateListAndEdit
protected void attemptAdd() throws DAOException
Member
.
attemptAdd
in class ActionTemplateListAndEdit
DAOException
protected void attemptFetchForChange() throws DAOException
Member
in order to edit it.
attemptFetchForChange
in class ActionTemplateListAndEdit
DAOException
protected void attemptChange() throws DAOException
Member
.
attemptChange
in class ActionTemplateListAndEdit
DAOException
protected void attemptDelete() throws DAOException
Member
s.
Deletion will fail if some other item is linked to a Member.
attemptDelete
in class ActionTemplateListAndEdit
DAOException
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |