public interface GMAOProduitMaintService extends IService, ServiceWithLastCreatedRecordSearch
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_ID |
Modifier and Type | Method and Description |
---|---|
GPrdmaint |
_creerProduitPotentiel(GPrdmaint newProd,
GPrdloc localis,
String numDemande)
Service à utiliser uniquement pour les imports de demandes et interventions
|
void |
_supprimerProd(GPrdmaint oldProd)
Fonction utilisée uniquement pour les imports de demandes.
|
Integer |
activerProduits(List<Double> identsProduit) |
GPrdmaint |
activerVersions(GPrdmaint produit) |
String |
construireRequeteZl(GPrdmaintZl prodModeleZl,
GPrdmaintZl ancienProdMaintZl)
Construit la requete qui permet de mettre à jour les zones libres d'un produit en fonction des zones libres de son modèle
|
GPrdlnk |
creerLien(GPrdlnk newLien)
Cree un lien sur les produits (nomenclature, equivalent...)
|
GLnkGmaoCt |
creerLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
Créé le lien entre un produit maintenu et un interlocuteur (contact ou collaborateur)
|
GPrdloc |
creerLocalisation(GPrdloc newLoc) |
GPrdloc |
creerLocalisation(GPrdloc newLoc,
boolean finishOldLoc)
Créé la localisation passée en paramétre.
|
GPrdloc |
creerLocalisation(GPrdloc newLoc,
boolean finishOldLoc,
boolean isRcpSitePalActif) |
GPrdloc |
creerLocalisationPourLivraison(FLignelivraiso ligne,
boolean withMvt,
boolean creerLoc,
Double qte,
GPrdmaint prdmaint) |
GPrdEnviron |
creerPrdEnviron(GPrdEnviron prdEnviron) |
GPrdmaint |
creerPrdmaintPourLivraison(FLignelivraiso ligne,
boolean withMvt,
String noserie,
Double qte,
GPrdmaint modele) |
GPrdmaint |
creerPrdmaintPourLivraison(FLignelivraiso ligne,
boolean withMvt,
String noserie,
Double qte,
GPrdmaint modele,
boolean creerPrdloc) |
GPrdmaint |
creerPrdmaintPourReception(FLigneappro ligne,
String noserie,
GPrdmaint modele,
boolean indMaint) |
GPrdmaint |
creerPrdmaintPourReception(FLigneappro ligne,
String noserie,
GPrdmaint modele,
boolean indMaint,
GPrdmaint modeleMaint) |
GPrdmaint |
creerPrdmaintPourReception(FLigneappro ligne,
String noserie,
String referenceInventaire,
GPrdmaint modele,
boolean indMaint,
GPrdmaint modeleMaint) |
GPrdmaint |
creerProd(GPrdmaint newProd) |
GPrdmaint |
creerProdModele(GPrdmaint newProd) |
GPrdmaint |
creerProduitPotentiel(GPrdmaint newProd,
GPrdloc localis,
String origine) |
GPrdlnk |
debuterNomenclature(GPrdlnk lnk,
Date dtDeb) |
GPrdloc |
deplacerProduitSimplifie(Double idProduit,
GPrdloc locCible,
String numDemande) |
void |
exportMouvementsParc(String outputFilename,
List<Double> lstProduit,
Date dateDebut,
Date dateFin)
Export des mouvements de parc
|
void |
exportPrdtModeleMaint(String outputFilename,
List<Double> lstidentClassif)
Fonction permettant l'export des produits modèles de maintenance.
|
List<GPrdmaint> |
findAllProduits() |
List<GPrdmaint> |
findByNoSerieAndProduitModele(String noSerie,
Double idPrdModele) |
List<GLnkGmaoCt> |
findCollabLiesAProduit(Double identProduit)
Renvoit la liste des liens produit-collaborateur du produit passé en paramétre
|
List<GLnkGmaoCt> |
findContactsLiesAProduit(Double identProduit)
Renvoit la liste des liens produit-contact du produit passé en paramétre
|
List<GPrdEnviron> |
findEnvironnementsByProduit(Double identPrd)
Recherche des environnements d'un produit
|
List<GPrdEnviron> |
findEnvironnementsByProduitLibelle(Double identPrd,
String libelle) |
List<GPrdmaint> |
findFilsDirectByType(Double idProduit,
GMAOTypeLienProduit typeLienProduit,
Date dtFin)
Charge la liste des Produit Maintenu fils dans la table G_PRDLNK en fonction du type de lien
si le type est nul la recherche se fait quelque soit le type
La liste est trié sur le né d'ordre
|
List<ClientParc> |
findHistoriqueMouvtParcByProduit(Double identProduit)
Retourne la liste des mouvements de parc pour un produit donné.
|
List<ElementNomenclatureUtil> |
findLienFilsDirectByTypeSimplifie(GPrdmaint prdmaint,
GMAOTypeLienProduit typeLienProduit)
Charge la liste des liens ayant comme pere le produit maintenu en paramétre et en fonction d'un type de lien.
|
List<GPrdlnk> |
findLienPereDirectByType(GPrdmaint prdmaint,
GMAOTypeLienProduit typeLienProduit,
Date dtFin)
Charge le liste des liens ayant comme fils le produit maintenu en paramétre et en fonction d'un type de lien.
|
List<ElementNomenclatureUtil> |
findLienPereDirectByTypeSimplifie(GPrdmaint prdmaint,
GMAOTypeLienProduit typeLienProduit)
Charge la liste des liens ayant comme fils le produit maintenu en paramétre et en fonction d'un type de lien.
|
List<GPrdlnk> |
findLiensFilsDirectByType(GPrdmaint prdmaint,
GMAOTypeLienProduit typeLienProduit,
Date dtFin)
Charge la liste des liens fils de la table G_PRDLNK en fonction du type de lien
si le type est nul la recherche se fait quelque soit le type.
|
List<GPrdloc> |
findLocalisations(Double idProd)
Renvoit la liste de tous les localisations d'un produit
|
List<LocalisPrdtImportContrat> |
findLocalisationsActuellesByContrat(Double identContrat,
Double numeroChronoVersion)
Retourne la liste des localisations actuelles des produits d'un contrat
|
List<ExportMouvementsParc> |
findMouvementsParcForExport(List<Double> lstProduit,
Date dateDebut,
Date dateFin)
Recherche des produits et des mouvements de parc pour export
|
List<GParam> |
findNatureByProduit(Double identProduit,
Double idPrest)
Retrouve la liste des natures de problème par ident Produit et ident Prestation
|
List<ExportParcClient> |
findParcClientForExport(Double identClient,
List<Double> lstIdentSites,
List<Double> lstIdentParc,
List<Double> lstIdentClassif,
boolean includePotentiel,
List<Double> lstSpecifStatut,
boolean includeInactifs)
Retourne la liste des produits maintenus d'un/des parcs d'un client en fonction des critéres passés en paramétre.
|
List<GPrdloc> |
findPrdlocsByProduitPosteDate(Double idProd,
Double idPoste,
Date date) |
List<PrdmaintLight> |
findPrdmaintLightByContrat(Double identContrat,
Double identVersion) |
List<GPrdmaint> |
findProduitByModeleMaintenance(Double identPrdModeleMaint,
String nomAppel,
String identifiantClient,
String numSerie,
String designation)
Retourne la liste des produits rattachés à un produit "modèle de maintenance"
|
List<GPrdmaint> |
findProduitByNoSerie(String noSerie)
Recherche un produit par numéro de serie
-> Interface GSEM
|
List<PrdmaintLight> |
findProduitLightByModeleMaintAndNomAppel(Double identPrdModeleMaint,
String nomAppel,
String identifiantClient,
String numSerie,
String designation,
boolean checkNullValue)
Retourne la liste des produits maintenus sous forme de beans non persistents suivant les critéres passés en paramétre
|
List<PrdmaintLight> |
findProduitLightByModeleMaintAndNomAppel(Double identPrdModeleMaint,
String nomAppel,
String identifiantClient,
String numSerie,
String designation,
Double identPrdmaint,
boolean checkNullValue)
Retourne la liste des produits maintenus sous forme de beans non persistents suivant les critéres passés en paramétre
|
List<Double> |
findProduitsParents(Double identEnfant,
List<Double> listeParents)
Renvoit un tableau avec tous les identifiants des produits parents direct et indirects du produit enfant dont l'ident est passé en paramétre
|
GPrdEnviron |
getEnvironnementByIdent(Double identEnv)
Recherche des environnements d'un produit
|
GPrdloc |
getLocalisationActuelle(Double idProd)
Retourne la localisation actuelle (date de fin non renseignée) pour l'ident de produit donnée
|
GPrdloc |
getLocalisationActuelle(Double idProd,
Double idClient,
Double idSite) |
GPrdmaint |
getPrdByIdent(Double idPrd) |
GPrdmaint |
getPrdByPrimaryKey(Double idPrd) |
GPrdcat |
getPrdcatByIdent(Double idPrdcat) |
GPrdlnk |
getPrdlnkByIdent(Double identPrdLnk)
Retourne un lien depuis son ident
|
GPrdloc |
getPrdlocByIdent(Double idPrdloc) |
PrdmaintLight |
getPrdmaintLightByIdent(Double idProduit)
Charge un produit mantenu par son ident et le renvoit sous la forme d'un bean non persistent
|
PrdmaintLight |
getPrdModeleMaintLightByCodeModele(String codeModele)
Retourne un produit maintenu modèle de maintenance sous forme d'un bean non persistent par son code modèle
|
ProductLight |
getPrdSimplByIdent(Double idProduit) |
GPrdmaint |
getProduitModele(Double idProduit) |
List<GPrdmaint> |
getProduitsdByIdents(List<Double> idsPrd) |
GPrdmaintZl |
getZlByProduit(Double identProduit,
Double sequence)
Retourne les zones libres d'un produit
|
GPrdmaint |
inactiverProduit(GPrdmaint produit)
Rend un produit inactif.
|
Integer |
inactiverProduits(List<Double> identsProduit,
Date dateSortie) |
boolean |
isExisteLien(Double identProduit1,
Double identProduit2,
GMAOTypeLienProduit typeLien)
Renvoit vrai si un lien avec identProduit1 comme pere et identProduit2 comme fils ou bien avec
identProduit2 comme pere et identProduit1 existe déjà en base de données
|
boolean |
isNumSerieExiste(String noSerie,
Double identPrdMaint)
Retourne vrai si le né de série passé en paramétre est déjà affecté à un produit en base de données.
|
boolean |
isNumSerieExiste(String noSerie,
Double identPrdMaint,
Double identPrdModeleStock)
Retourne vrai si le né de série passé en paramétre est déjà affecté à un produit en base de données.
|
boolean |
isNumSerieExiste(String noSerie,
Double identPrdMaint,
Double identPrdModeleStock,
boolean excludePrdSortis)
Retourne vrai si le né de série passé en paramétre est déjà affecté à un produit en base de données.
|
CtxProduit |
loadContextProduit(Double idProduit) |
List<GPrdlnk> |
loadLienPereDirectByType(GPrdmaint prdmaint,
GMAOTypeLienProduit typeLienProduit,
Date dtFin)
Charge le liste des liens ayant comme fils le produit maintenu en paramétre et en fonction d'un type de lien.
|
ClientParc |
loadLocalisationActuelle(Double idProd)
Retourne la localisation actuelle d'un produit et charge tous ses objets liés (tiers, sites...)
|
GPrdmaint |
loadNomencPrdByIdent(Double idPrd) |
GPrdmaint |
loadProduitByIdent(Double idProduit) |
GPrdmaint |
loadProduitByIdentDemande(Double idDemande) |
GPrdmaint |
loadProduitByIdentLight(Double idProduit) |
GPrdmaint |
loadProduitByIdentPourImport(Double identPrdmaint)
Retourne un produit par ident en chargeant en mémoire ses localisations et ses zones libres.
|
GPrdmaint |
loadProduitsModeleMaintenanceByCodeModele(String codeModele)
Recherche un produit "modèle de maintenance" par son code sur la Société courante ou 5e
|
List<TCO> |
loadTCOFromListPrdMaint(List<GPrdmaint> listProduit,
Date debutPeriode,
Date finPeriode,
FContrat contrat,
GMAOTypeMontantTCO typeMontantTCO)
Chargement du TCO pour une liste de produitla periode et le contrat sont facultatif
|
void |
majLocalisationSupprBlBr(GPrdmaint prdmaint,
GPrdloc locCible,
boolean prdvGereParc)
Termine la localisation en cours et crée un mouvement
|
void |
modifierAllProduits(GPrdmaint prodModele,
GPrdmaint ancienProdMaint)
Modifie en lot tous les produits rattachés au produit modèle passé en paramétre pour toutes ses valeurs de champs
différentes de celle du produit passé en paramétre "ancienProdMaint" pour les champs:
type de produit, classif, sous-classif, constructeur, marque, famille, sous-famille, indicateur "maintenace terminée",
indicateur "obsolète", indicateur "black listé", indicateur "géré en version"
|
void |
modifierAllProduits(GPrdmaintZl prodModeleZl,
GPrdmaintZl ancienProdMaintZl)
Modifie en lot tous les produits rattachés au produit modèle passé en paramétre pour toutes ses valeurs de champs
différentes de celle du produit passé en paramétre "ancienProdMaint" pour les zones libres
|
GPrdlnk |
modifierLien(GPrdlnk lien)
Enrtegistre les modifications sur un lien de nomenclature
|
GLnkGmaoCt |
modifierLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
Modifie le lien entre un produit maintenu et un interlocuteur (contact ou collaborateur)
|
void |
modifierListeProduit(List<Double> listeIdentProduit,
ProduitUpdateLot produitUpdateLot)
Modifie la liste des produits avec les infos qui sont dans le bean produitUpdateLot
|
GPrdloc |
modifierLocalisation(GPrdloc loc)
Modifie la localisation d'un produit
|
GPrdEnviron |
modifierPrdEnviron(GPrdEnviron prdEnviron) |
GPrdmaint |
modifierProd(GPrdmaint prod) |
GPrdmaint |
modifierProd(GPrdmaint prod,
List<GLnkGmaoCt> lstInterloc,
List<GLnkGmaoCt> lstInterlocToRemove) |
GPrdmaint |
modifierProdModele(GPrdmaint prod) |
GPrdmaint |
modifierProdSimplifie(GPrdmaint prod)
Pas de DMF sur cette méthode!
|
CtxProduit |
modifierProduit(CtxProduit ctxProduit) |
void |
modifierZonesLibresListeProduit(List<Double> listeIdentProduits,
ZonesLibres zonesLibres) |
List<ClientParc> |
rechercheMulticriteres(CtxParc critere)
Recherche multi critéres de parc
|
List<PrdMaintResultatRecherche> |
rechercheMultiCriteres(PrdMaintCriteresRecherche critere)
Recherche principale multi critéres des produits maintenus
|
List<EnvironnementResultatRecherche> |
rechercheMultiCriteresEnvironnements(EnvironnementCriteresRecherche critere) |
List<GPrdmaint> |
rechercheMulticriteresPersistent(PrdMaintCriteresRecherche critere)
Recherche multi critéres des produits maintenus
|
List<PrdMaintResultatRecherche> |
rechercheMultiCriteresStock(PrdMaintCriteresRecherche critere)
Recherche principale multi critéres des produits stockés
|
List<ProduitMaintenu> |
rechercheProduitsMaintenus(ProduitMaintenuCritere critere)
Recherche de produits disponibles pour la recherche de FAQ et pour le support
|
List<ProduitModele> |
rechercheProduitsModeles(Double ident) |
void |
supprimerLien(GPrdlnk oldLien)
Supprime un lien de nomenclature.
|
void |
supprimerLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
Supprime le lien entre un produit maintenu et un interlocuteur (contact ou collaborateur)
|
void |
supprimerPrdEnviron(GPrdEnviron prdEnviron) |
boolean |
supprimerProd(GPrdmaint oldProd)
Supprime le produit passé en paramétre.
|
GPrdloc |
terminerLocalisation(GPrdloc loc,
Date dtFin) |
GPrdlnk |
terminerNomenclature(GPrdlnk lnk,
Date dtFin) |
ElementNomenclatureUtil |
transformerPrdMaintUtil(GPrdmaint produit)
Transforme un produit et l'ensemble des éléments de sa nomenclature en un objet ElementNomenclatureUtil
qui sera utilisé pour l'affichage de la nomenclature sur la fiche produit
|
int |
updateByPrdmaintZl(Double identZlProduit,
String requete)
Modification des zones libres dont l'ident est passé en paramétre
|
int |
updateLocalisation(Double identLocalis,
String nomChampToUpdate,
Object newValeur)
Met à jour une localisation
|
int |
updatePrd(Double identPrd,
String clause)
Mise à jour en lot d'une propriété pour un eliste de produits donnée
|
void |
updatePrdmaint(GPrdmaint prod,
String commentaire) |
void |
updatePrdModeleByIdentPrd(Double identPrdtModele,
List<Double> lstIdentPrdToUpdate)
Mise à jour en lot des pointeurs sur produit modèle
|
GPrdcat |
validerAssociationProduitAContrat(Double identPrdmaint,
Double identContrat,
Double identPrest,
GMAOTypeTiers typeTiers,
Double identClient)
Calide que l'association d'un produit à contrat soit possible et initialise le prdcat
|
getServerMessages, resetServerMessages
getLastCreatedRecord
static final String SERVICE_ID
ProductLight getPrdSimplByIdent(Double idProduit)
PrdmaintLight getPrdmaintLightByIdent(Double idProduit)
List<PrdmaintLight> findPrdmaintLightByContrat(Double identContrat, Double identVersion)
boolean isNumSerieExiste(String noSerie, Double identPrdMaint)
boolean isNumSerieExiste(String noSerie, Double identPrdMaint, Double identPrdModeleStock, boolean excludePrdSortis)
noSerie
- identPrdMaint
- identPrdModeleStock
- excludePrdSortis:
- si vrai, on ne tient pas compte des né de série sur des produits sortisboolean isNumSerieExiste(String noSerie, Double identPrdMaint, Double identPrdModeleStock)
GPrdmaintZl getZlByProduit(Double identProduit, Double sequence)
ElementNomenclatureUtil transformerPrdMaintUtil(GPrdmaint produit)
GPrdmaint creerProduitPotentiel(GPrdmaint newProd, GPrdloc localis, String origine)
newProd
- (le nouveau produit à enregistrer)localis
- (la localisation éventuelle du nouveau produit)numDemande
- (le numero de la demande à partir de laquelle le produit est créé)GPrdmaint _creerProduitPotentiel(GPrdmaint newProd, GPrdloc localis, String numDemande) throws T9Exception
newProd
- (le nouveau produit à enregistrer)localis
- (la localisation éventuelle du nouveau produit)numDemande
- (le numero de la demande à partir de laquelle le produit est créé)T9Exception
GPrdmaint activerVersions(GPrdmaint produit)
produit
- (le produit pour lequel on veut activer la gestion des versions)GPrdmaint modifierProdSimplifie(GPrdmaint prod)
prod,
- the Product that has to be modifiedGPrdmaint modifierProd(GPrdmaint prod, List<GLnkGmaoCt> lstInterloc, List<GLnkGmaoCt> lstInterlocToRemove)
CtxProduit modifierProduit(CtxProduit ctxProduit)
void modifierAllProduits(GPrdmaint prodModele, GPrdmaint ancienProdMaint)
void modifierAllProduits(GPrdmaintZl prodModeleZl, GPrdmaintZl ancienProdMaintZl)
String construireRequeteZl(GPrdmaintZl prodModeleZl, GPrdmaintZl ancienProdMaintZl)
prodModeleZl
- Zones libres du produit modèle dont on récupére les valeurs des zones libresancienProdMaintZl
- Zones libres du produit à mettre à jourvoid updatePrdModeleByIdentPrd(Double identPrdtModele, List<Double> lstIdentPrdToUpdate)
identPrdtModele
- nouveau pointeur sur produit modèlelstIdentPrdToUpdate
- liste des identifiants des produits à mettre à jourint updatePrd(Double identPrd, String clause)
lstIdentPrd
- Liste des identifiants des produits à mettre à jourclause
- Clause SET de la requéte UPDATE à executerint updateByPrdmaintZl(Double identZlProduit, String requete)
boolean supprimerProd(GPrdmaint oldProd)
oldProd
- le produit à supprimervoid _supprimerProd(GPrdmaint oldProd) throws T9Exception
T9Exception
List<PrdMaintResultatRecherche> rechercheMultiCriteresStock(PrdMaintCriteresRecherche critere)
List<PrdMaintResultatRecherche> rechercheMultiCriteres(PrdMaintCriteresRecherche critere)
List<ProduitMaintenu> rechercheProduitsMaintenus(ProduitMaintenuCritere critere)
GPrdloc getLocalisationActuelle(Double idProd)
idProd
- (l'ident du produit dont on veut connaétre la localisation actuelle)GPrdloc getLocalisationActuelle(Double idProd, Double idClient, Double idSite)
ClientParc loadLocalisationActuelle(Double idProd)
List<GPrdmaint> rechercheMulticriteresPersistent(PrdMaintCriteresRecherche critere)
critere
- List<ClientParc> rechercheMulticriteres(CtxParc critere)
List<GPrdloc> findPrdlocsByProduitPosteDate(Double idProd, Double idPoste, Date date)
idProd
- (the id of the Product for which Localisations are wanted)idPoste
- (the id of the Poste for which Localisations are wanted)date
- (the date when we want this localisation)List<LocalisPrdtImportContrat> findLocalisationsActuellesByContrat(Double identContrat, Double numeroChronoVersion)
identContrat
- ident du contratident
- de la version en cours du contratGPrdloc deplacerProduitSimplifie(Double idProduit, GPrdloc locCible, String numDemande)
GPrdloc creerLocalisation(GPrdloc newLoc)
newLoc
- la localisation à créerGPrdloc creerLocalisation(GPrdloc newLoc, boolean finishOldLoc)
newLoc
- Nouvelle localisation à créerfinishOldLoc
- True si on souhaite terminer l'ancienne localisation du produitGPrdloc creerLocalisation(GPrdloc newLoc, boolean finishOldLoc, boolean isRcpSitePalActif)
List<GPrdloc> findLocalisations(Double idProd)
GPrdloc terminerLocalisation(GPrdloc loc, Date dtFin)
loc
- la localisation qui se terminedtFin
- la date à laquelle la localisation se termineint updateLocalisation(Double identLocalis, String nomChampToUpdate, Object newValeur)
identLocalis
- Identifiant de la localisation à mettre à journomChampToUpdate
- Nom Java du champ de la table à mettre à journewValeur
- Nouvelle valeur que doit prendre ce champList<ExportParcClient> findParcClientForExport(Double identClient, List<Double> lstIdentSites, List<Double> lstIdentParc, List<Double> lstIdentClassif, boolean includePotentiel, List<Double> lstSpecifStatut, boolean includeInactifs)
List<ClientParc> findHistoriqueMouvtParcByProduit(Double identProduit)
GPrdlnk debuterNomenclature(GPrdlnk lnk, Date dtDeb)
lnk
- le lien de nomenclature qui se terminedtFin
- la date à laquelle le lien se termineGPrdlnk terminerNomenclature(GPrdlnk lnk, Date dtFin)
lnk
- le lien de nomenclature qui commencedtDeb
- la date à laquelle le lien commenceGPrdlnk creerLien(GPrdlnk newLien)
GPrdlnk modifierLien(GPrdlnk lien)
void supprimerLien(GPrdlnk oldLien)
List<GPrdmaint> findFilsDirectByType(Double idProduit, GMAOTypeLienProduit typeLienProduit, Date dtFin)
idProduit
- ident du produit maintenu dont on veut les filstypeLienProduit
- type de liendtFin
- Les liens trouvés doivent avoir une date de fin > à cette date ou bien une date nulle. Ce paramétre peutêtre nul auquel cas on ne tient pas compte de la date de fin du lien.List<GPrdlnk> findLienPereDirectByType(GPrdmaint prdmaint, GMAOTypeLienProduit typeLienProduit, Date dtFin)
prdmaint
- typeLienProduit
- dtFin
- Si renseignée, la date de fin du lien est nulle ou < à cette date. Ce paramétre peutêtre nul.List<GPrdlnk> findLiensFilsDirectByType(GPrdmaint prdmaint, GMAOTypeLienProduit typeLienProduit, Date dtFin)
prdmaint
- produit maintenu dont on veut les filstypeLienProduit
- type de liendtFin
- Si renseignée, la date de fin du lien est nulle ou < à cette date. Ce paramétre peutêtre nul.List<GPrdlnk> loadLienPereDirectByType(GPrdmaint prdmaint, GMAOTypeLienProduit typeLienProduit, Date dtFin)
prdmaint
- bean du produit maintenu dont on veut les pérestypeLienProduit
- dtFin
- Si renseignée, ne retourne que les liens n'ayant pas de date de fin renseignée ou bien ayant une date de fin > à cette dateList<ElementNomenclatureUtil> findLienFilsDirectByTypeSimplifie(GPrdmaint prdmaint, GMAOTypeLienProduit typeLienProduit)
prdmaint
- bean du produit maintenu dont on veut les filsList<ElementNomenclatureUtil> findLienPereDirectByTypeSimplifie(GPrdmaint prdmaint, GMAOTypeLienProduit typeLienProduit)
prdmaint
- bean du produit maintenu dont on veut les péresboolean isExisteLien(Double identProduit1, Double identProduit2, GMAOTypeLienProduit typeLien)
List<Double> findProduitsParents(Double identEnfant, List<Double> listeParents)
identEnfant
- listeParents
- Liste des identifiants des parents que l'on souhaite récupérerGPrdmaint loadProduitsModeleMaintenanceByCodeModele(String codeModele)
PrdmaintLight getPrdModeleMaintLightByCodeModele(String codeModele)
GPrdmaint loadProduitByIdentPourImport(Double identPrdmaint)
List<GPrdmaint> findProduitByModeleMaintenance(Double identPrdModeleMaint, String nomAppel, String identifiantClient, String numSerie, String designation)
identPrdModeleMaint:
- ident du produit "modèle de maintenance" auquel doitêtre rattaché le produit cherchénomAppel
- facultatif. Nom d'appel du produit cherchéidentifiantClient
- facultatif. Identifiant/Référence du clientnumSerie
- facultatif.designation
- FacultatifList<PrdmaintLight> findProduitLightByModeleMaintAndNomAppel(Double identPrdModeleMaint, String nomAppel, String identifiantClient, String numSerie, String designation, boolean checkNullValue)
List<PrdmaintLight> findProduitLightByModeleMaintAndNomAppel(Double identPrdModeleMaint, String nomAppel, String identifiantClient, String numSerie, String designation, Double identPrdmaint, boolean checkNullValue)
List<TCO> loadTCOFromListPrdMaint(List<GPrdmaint> listProduit, Date debutPeriode, Date finPeriode, FContrat contrat, GMAOTypeMontantTCO typeMontantTCO)
List<GLnkGmaoCt> findContactsLiesAProduit(Double identProduit)
List<GLnkGmaoCt> findCollabLiesAProduit(Double identProduit)
GLnkGmaoCt creerLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
GLnkGmaoCt modifierLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
void supprimerLienInterlocuteurProduit(GLnkGmaoCt lienInterlocuteur)
void exportPrdtModeleMaint(String outputFilename, List<Double> lstidentClassif)
GPrdmaint inactiverProduit(GPrdmaint produit)
GPrdmaint creerPrdmaintPourLivraison(FLignelivraiso ligne, boolean withMvt, String noserie, Double qte, GPrdmaint modele)
GPrdmaint creerPrdmaintPourLivraison(FLignelivraiso ligne, boolean withMvt, String noserie, Double qte, GPrdmaint modele, boolean creerPrdloc)
GPrdloc creerLocalisationPourLivraison(FLignelivraiso ligne, boolean withMvt, boolean creerLoc, Double qte, GPrdmaint prdmaint)
GPrdmaint creerPrdmaintPourReception(FLigneappro ligne, String noserie, GPrdmaint modele, boolean indMaint)
GPrdmaint creerPrdmaintPourReception(FLigneappro ligne, String noserie, GPrdmaint modele, boolean indMaint, GPrdmaint modeleMaint)
GPrdmaint creerPrdmaintPourReception(FLigneappro ligne, String noserie, String referenceInventaire, GPrdmaint modele, boolean indMaint, GPrdmaint modeleMaint)
GPrdcat validerAssociationProduitAContrat(Double identPrdmaint, Double identContrat, Double identPrest, GMAOTypeTiers typeTiers, Double identClient)
List<GParam> findNatureByProduit(Double identProduit, Double idPrest)
void exportMouvementsParc(String outputFilename, List<Double> lstProduit, Date dateDebut, Date dateFin)
List<ExportMouvementsParc> findMouvementsParcForExport(List<Double> lstProduit, Date dateDebut, Date dateFin)
void majLocalisationSupprBlBr(GPrdmaint prdmaint, GPrdloc locCible, boolean prdvGereParc)
List<GPrdmaint> findProduitByNoSerie(String noSerie)
List<GPrdEnviron> findEnvironnementsByProduit(Double identPrd)
List<GPrdEnviron> findEnvironnementsByProduitLibelle(Double identPrd, String libelle)
List<EnvironnementResultatRecherche> rechercheMultiCriteresEnvironnements(EnvironnementCriteresRecherche critere)
GPrdEnviron getEnvironnementByIdent(Double identEnv)
GPrdEnviron creerPrdEnviron(GPrdEnviron prdEnviron)
GPrdEnviron modifierPrdEnviron(GPrdEnviron prdEnviron)
void supprimerPrdEnviron(GPrdEnviron prdEnviron)
void modifierListeProduit(List<Double> listeIdentProduit, ProduitUpdateLot produitUpdateLot)
listeIdentProduit
- liste d'identifiant de produitsproduitUpdateLot
- bean contenant les infos à mettre à jour dans les produitsCtxProduit loadContextProduit(Double idProduit)
List<ProduitModele> rechercheProduitsModeles(Double ident)
void modifierZonesLibresListeProduit(List<Double> listeIdentProduits, ZonesLibres zonesLibres)
List<GPrdmaint> findByNoSerieAndProduitModele(String noSerie, Double idPrdModele)
Copyright © 2016. All rights reserved.