public class ItemAddListener extends Object implements javax.faces.event.ActionListener
Title: Samigo
Description: Sakai Assessment Manager
Organization: Sakai Project
| Constructor and Description |
|---|
ItemAddListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMC(boolean isSingleSelect) |
boolean |
isColumnslessthan2() |
boolean |
isCorrectChoice(ItemBean bean,
String label)
returns if the multile choice label is the correct choice,
bean.getCorrAnswers() returns a string[] of labels
bean.getCorrAnswer() returns a string of label
|
boolean |
isErrorFIB() |
boolean |
isErrorFIN() |
boolean |
isRowEmpty() |
protected HashSet |
prepareMetaData(ItemFacade item,
ItemBean bean) |
protected Set |
preparePublishedMetaData(ItemFacade item,
ItemBean bean) |
void |
processAction(javax.faces.event.ActionEvent ae)
Standard process action method.
|
void |
saveItem(ItemAuthorBean itemauthor) |
void |
shiftSequences(ItemService delegate,
SectionFacade sectfacade,
Integer currSeq)
shift sequence number down when inserting or reordering
|
public void processAction(javax.faces.event.ActionEvent ae)
throws javax.faces.event.AbortProcessingException
processAction in interface javax.faces.event.ActionListenerae - ActionEventjavax.faces.event.AbortProcessingExceptionpublic void checkMC(boolean isSingleSelect)
public boolean isErrorFIB()
public boolean isErrorFIN()
public boolean isRowEmpty()
public boolean isColumnslessthan2()
public void saveItem(ItemAuthorBean itemauthor) throws FinFormatException
FinFormatExceptionprotected HashSet prepareMetaData(ItemFacade item, ItemBean bean)
protected Set preparePublishedMetaData(ItemFacade item, ItemBean bean)
public boolean isCorrectChoice(ItemBean bean, String label)
public void shiftSequences(ItemService delegate, SectionFacade sectfacade, Integer currSeq)
Copyright © 2005-2014 Sakai Project. All Rights Reserved.