|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbe.dvw.administration.services.scores.ScoreServiceCastorImpl
User: Toon Date: 4-jul-2005 Time: 19:31:26
| Constructor Summary | |
ScoreServiceCastorImpl()
|
|
| Method Summary | |
void |
delete(int id)
Method allowing to delete a score |
java.util.List |
getAll()
Method returning the complete list of scores. |
float |
getCurrentValue()
Method returning the current value of the inventory |
float |
getPurchaseValue()
Method returning the purchase value of the inventory |
int |
getTotalNumber()
Method counting the total number of scores in the inventory |
Score |
load(int id)
Method returning a score corresponding to the id |
Score |
save(Score score,
boolean newScore)
Method allowing to store a score (both update and create) |
java.util.List |
search(java.lang.String searchString)
Method allowing to search for scores based on an search string suc as: 'name' = $name AND 'composer' = $composer OR 'arranger' = $arranger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScoreServiceCastorImpl()
| Method Detail |
public java.util.List getAll()
throws java.lang.Exception
ScoreService
getAll in interface ScoreServicejava.lang.Exception
public Score load(int id)
throws java.io.IOException,
org.exolab.castor.xml.ValidationException,
org.exolab.castor.xml.MarshalException
ScoreService
load in interface ScoreServiceid -
java.io.IOException
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
public java.util.List search(java.lang.String searchString)
throws java.lang.Exception
ScoreService
search in interface ScoreServicesearchString -
java.lang.Exceptionpublic float getPurchaseValue()
ScoreService
getPurchaseValue in interface ScoreServicepublic int getTotalNumber()
ScoreService
getTotalNumber in interface ScoreServicepublic float getCurrentValue()
ScoreService
getCurrentValue in interface ScoreService
public Score save(Score score,
boolean newScore)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
java.io.IOException
ScoreService
save in interface ScoreServiceorg.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
java.io.IOException
public void delete(int id)
throws java.lang.Exception
ScoreService
delete in interface ScoreServiceid - the identifier of the score
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||