|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.ui.listener.author.ItemAddListener
public class ItemAddListener
Title: Samigo
Description: Sakai Assessment Manager
Organization: Sakai Project
| Constructor Summary | |
|---|---|
ItemAddListener()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemAddListener()
| Method Detail |
|---|
public void processAction(javax.faces.event.ActionEvent ae)
throws javax.faces.event.AbortProcessingException
processAction in interface javax.faces.event.ActionListenerae - ActionEvent
javax.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
FinFormatException
protected 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||