Package | Description |
---|---|
fr.ifremer.coser | |
fr.ifremer.coser.bean |
Storage structure classes.
|
fr.ifremer.coser.command |
Control specific classes.
|
fr.ifremer.coser.control |
Command specific classes.
|
fr.ifremer.coser.services |
Services classes.
|
Modifier and Type | Method and Description |
---|---|
static CoserConstants.Category |
CoserConstants.Category.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoserConstants.Category[] |
CoserConstants.Category.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
Project.getDataStorageFileName(CoserConstants.Category category,
String suffix)
Retourne le nom de stockage d'un fichier de données suivant la categories
de fichier demandé.
|
Modifier and Type | Field and Description |
---|---|
protected CoserConstants.Category |
CategoryLineCommand.category
Category de données sur lequel porte l'action.
|
Modifier and Type | Method and Description |
---|---|
CoserConstants.Category |
CategoryLineCommand.getCategory() |
Modifier and Type | Method and Description |
---|---|
void |
CategoryLineCommand.setCategory(CoserConstants.Category category) |
Modifier and Type | Field and Description |
---|---|
protected CoserConstants.Category |
ControlErrorGroup.category |
protected CoserConstants.Category |
ControlError.category
Category de l'erreur.
|
Modifier and Type | Method and Description |
---|---|
CoserConstants.Category |
ControlErrorGroup.getCategory() |
CoserConstants.Category |
ControlError.getCategory()
Category de l'erreur.
|
Modifier and Type | Method and Description |
---|---|
void |
ControlError.setCategory(CoserConstants.Category category)
Category de l'erreur.
|
Constructor and Description |
---|
ControlErrorGroup(CoserConstants.Category category,
CoserConstants.ValidationLevel validationLevel,
String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
ProjectService.addProjectContent(Project project,
AbstractDataContainer container,
CoserConstants.Category category,
DataStorage content,
boolean deletedContent)
Set content into project depending on category type.
|
protected void |
CommonService.checkFileHeader(File file,
CoserConstants.Category category,
String[] line)
Check csv file header names and order depending on file category.
|
void |
ProjectService.deleteData(Project project,
Control control,
CoserConstants.Category category,
String index)
Supprime une données via son index.
|
void |
ProjectService.deleteData(Project project,
Control control,
CoserConstants.Category category,
String index,
String commandUUID)
Supprime une données via son index.
|
protected String |
CommonService.getDataStorageFileName(Project project,
CoserConstants.Category category,
String suffix)
Deprecated.
since 1.5, use now
Project#getDataStorageFileName(Category, String) |
DataStorage |
CommonService.getEmptyStorage(Project project,
CoserConstants.Category category)
Get empty storage for category (filled with just header)
|
Map<String,String[]> |
CommonService.getOriginalContent(Project project,
CoserConstants.Category category,
Collection<String> lines)
Lit tout le fichier associé à la categorie demandé, mais ne retourne
que les données correspondant au numéro de lignes demandée.
|
protected DataStorage |
ProjectService.getProjectContent(Project project,
AbstractDataContainer container,
CoserConstants.Category category,
boolean deletedContent)
Set content into project depending on category type.
|
protected String |
ControlService.getSignificantData(Project project,
CoserConstants.Category category,
String[] data)
Retourne sous forme de clé la partie significative des données.
|
DataStorage |
CommonService.loadCSVFile(Project project,
CoserConstants.Category category,
File file)
Load file as csv.
|
DataStorage |
CommonService.loadCSVFile(Project project,
CoserConstants.Category category,
File file,
ProgressMonitor progress)
Load file as csv.
|
DataStorage |
CommonService.loadCSVFile(Project project,
CoserConstants.Category category,
File file,
ProgressMonitor progress,
boolean originalLoading)
Load file as csv.
|
void |
ProjectService.replaceData(Project project,
Control control,
CoserConstants.Category category,
String[] data)
Replace all bean data.
|
boolean |
ProjectService.replaceFieldValue(Project project,
CoserConstants.Category category,
String headerName,
String searchString,
String replaceString,
String[] data,
boolean isRegex,
String commandUUID)
Replace une valeur d'un champs si nécéssaire.
|
void |
CommonService.storeDataWhithoutQuote(DataStorage content,
File file,
Map<String,String> refTaxSpecies,
CoserConstants.Category category)
Deprecated.
since 1.4, prefer use of
#storeDataWhithoutQuote(DataStorage, Writer, Map, Category) |
void |
CommonService.storeDataWhithoutQuote(DataStorage content,
Writer writer,
Map<String,String> refTaxSpecies,
CoserConstants.Category category)
Store data without quoting every columns with "" (r specific demand).
|
protected List<ControlError> |
ControlService.validate(AbstractDataEntity bean,
CoserConstants.Category category)
Valide un seul bean, retourne la liste des erreurs trouvées.
|
protected List<ControlError> |
ControlService.validateCategorySpecific(Project project,
Control control,
CoserConstants.Category category,
ProgressMonitor progress)
Effectue un calcul global, mais specific a chaque categorie.
|
List<ControlError> |
ControlService.validateCategoryXWork(Project project,
Control control,
CoserConstants.Category category,
ProgressMonitor progress)
Valide une category entière d'un project.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectService.createProject(Project project,
Map<CoserConstants.Category,File> categoriesAndFiles,
List<File> maps,
ProgressMonitor progress)
Create new project.
|
Copyright © 2010–2015 Ifremer. All rights reserved.