public final class ControleBudgetaireUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
ajouterDate(String libelle,
Date date,
String format) |
static String |
ajouterDateArrete(String libelle,
Date date,
String format,
boolean ajouter) |
static String |
ajouterDateArrete(TPbudCol colonne,
CtrlBudDates ctrlBudDates,
String format,
Double dateAfficherEntete) |
static void |
controlesNumOrdrePostes(List<TPbudPst> lstPostes)
Controle les numéros d'ordre des postes
|
static String |
creerChainePeriodes(TPbudCol pbudcol)
Permet de générer une chaine de type "0101" ou chaque valeur correspond à un indicateur précisant si la période doit être à ramener ou
pas.
|
static List<String> |
deserialiserElements(String chaine) |
static Map<String,String> |
getCouleurParPoste(List<TPbudPst> postes) |
static Map<String,String> |
getCouleurPoliceParPoste(List<TPbudPst> postes) |
static boolean |
isAchatSurChargeDevis(CtxPbudCol ctxcolPbudCol) |
static boolean |
isAffichageLot(CtxAffaire input) |
static boolean |
isCompteATraiter(String compte,
List<String> comptes)
Indique si l'objet de gestion doitêtre comptabilisé dans le poste par rapport à son compte
|
static boolean |
isHeureCentiemeToHeureMinute(ModeSaisieTemps modeSaisie,
ComptePoste typeCompte)
Indique si l'on a des heures centième que l'on doit convertir en heure minute
|
static boolean |
isHeureCentiemeToHeureMinute(ModeSaisieTemps modeSaisie,
Double typeCompte)
Indique si l'on a des heures centième que l'on doit convertir en heure minute
|
static boolean |
isMultiAffaire(CtxAffaire input) |
static boolean |
isPath(TPbudCol pbudCol)
Indique si la colonne est de type path ou pas
|
static boolean |
isPlanning(CtxPbudCol ctxcolPbudCol) |
static boolean |
isPLanningSurChargeDevis(CtxPbudCol ctxcolPbudCol) |
static boolean |
isTrouDansPeriodes(String chainePeriode) |
static boolean |
isTrouDansPeriodes(TPbudCol pbudcol) |
static String |
renderDesignationLotSsLot(ControleBudgetaireAffaireResultat ligne)
Construit la désignation du lot et du sous lot
|
static String |
serialiserElements(List<String> elements) |
static boolean |
shouldInsertBudInit(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertBudInitIfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertColumn(int nbOfAlreadyInsertedColumn,
Double indexToInsert) |
static boolean |
shouldInsertRAF(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertRAFIfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertRAFN1(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertRAFN1IfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertValoBudInitIfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertValoRAFIfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static boolean |
shouldInsertValoRAFN1IfNoMask(CtxPBud ctxPBud,
int nbOfAlreadyInsertedColumn) |
static void |
sommeDesMontants(ControleBudgetaireAffaireResultat ligne,
List<LotetSousLot> lots) |
public static final String SEPARATOR
public static String creerChainePeriodes(TPbudCol pbudcol)
public static boolean isTrouDansPeriodes(String chainePeriode)
chainePeriode
- de type "1001"public static boolean isTrouDansPeriodes(TPbudCol pbudcol)
public static boolean isHeureCentiemeToHeureMinute(ModeSaisieTemps modeSaisie, Double typeCompte)
modeSaisie
- typeCompte
- public static boolean isHeureCentiemeToHeureMinute(ModeSaisieTemps modeSaisie, ComptePoste typeCompte)
modeSaisie
- typeCompte
- public static boolean isPath(TPbudCol pbudCol)
public static void controlesNumOrdrePostes(List<TPbudPst> lstPostes)
public static boolean isCompteATraiter(String compte, List<String> comptes)
compte
- le compte de l'objetcomptes
- la liste des comptes associées du postepublic static boolean isMultiAffaire(CtxAffaire input)
public static boolean isAffichageLot(CtxAffaire input)
public static void sommeDesMontants(ControleBudgetaireAffaireResultat ligne, List<LotetSousLot> lots)
ligne
- lots
- public static String renderDesignationLotSsLot(ControleBudgetaireAffaireResultat ligne)
ligne
- de conrole budgetairepublic static boolean isPLanningSurChargeDevis(CtxPbudCol ctxcolPbudCol)
public static boolean isAchatSurChargeDevis(CtxPbudCol ctxcolPbudCol)
public static boolean isPlanning(CtxPbudCol ctxcolPbudCol)
public static Map<String,String> getCouleurPoliceParPoste(List<TPbudPst> postes)
public static String ajouterDateArrete(String libelle, Date date, String format, boolean ajouter)
public static String ajouterDateArrete(TPbudCol colonne, CtrlBudDates ctrlBudDates, String format, Double dateAfficherEntete)
public static boolean shouldInsertColumn(int nbOfAlreadyInsertedColumn, Double indexToInsert)
public static boolean shouldInsertRAF(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertRAFN1(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertBudInit(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertRAFIfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertRAFN1IfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertBudInitIfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertValoRAFIfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertValoRAFN1IfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
public static boolean shouldInsertValoBudInitIfNoMask(CtxPBud ctxPBud, int nbOfAlreadyInsertedColumn)
Copyright © 2016. All rights reserved.