public static class CamionAction.CamionPaginedListExtractor extends AbstractRefAction.AbstractRefPaginedListExtractor<Camion>
service| Constructor and Description |
|---|
CamionAction.CamionPaginedListExtractor(ServiceWeb service) |
| Modifier and Type | Method and Description |
|---|---|
Camion |
getBean(String topiaId)
Obtenir un bean existant a partir de son identifiant technique unique.
|
int |
getFullListSize(javax.servlet.http.HttpServletRequest request)
Obtenir la taille totale de liste non paginee.
|
List<Camion> |
getList(javax.servlet.http.HttpServletRequest request,
int startIndex,
int endIndex,
String sortCriterion,
int sortDirection)
Obtenir la liste triee et paginee.
|
protected Camion |
saveBean(Camion bean) |
public CamionAction.CamionPaginedListExtractor(ServiceWeb service)
public Camion getBean(String topiaId) throws LogicException, org.nuiton.topia.TopiaException
PaginedListExtractortopiaId - l'identifiant technique unique du bean a recuperer depuis le serviceLogicExceptionorg.nuiton.topia.TopiaExceptionprotected Camion saveBean(Camion bean) throws LogicException, org.nuiton.topia.TopiaException
saveBean in class AbstractRefAction.AbstractRefPaginedListExtractor<Camion>LogicExceptionorg.nuiton.topia.TopiaExceptionpublic int getFullListSize(javax.servlet.http.HttpServletRequest request)
throws Exception
PaginedListExtractorrequest - la requete courante (utilisee pour pouvoir taper dans la session utilisateur)Exception - if any pbpublic List<Camion> getList(javax.servlet.http.HttpServletRequest request, int startIndex, int endIndex, String sortCriterion, int sortDirection) throws Exception
PaginedListExtractorrequest - la requete courante (utilisee pour pouvoir taper dans la session utilisateur)startIndex - la position du premier element a recupere (on commence a 0)endIndex - le nombre d'elements a recuperersortCriterion - la propriete de trie (null si pas de tri)sortDirection - la direction du tri : 1 pour descandant, 2 pour ascendant) @return la liste trie et pagineException - if any pbCopyright © 2008-2013 Cybelia. All Rights Reserved.