Commit 31af6704 authored by Jean-Mael BOIS's avatar Jean-Mael BOIS
Browse files

Translation in progress (end server-core & start server-main) - #1

parent b113e320
......@@ -167,8 +167,8 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
}
@Override
public final void setProgress(final Progress a) {
this.progress = a;
public final void setProgress(final Progress p) {
this.progress = p;
}
@Override
......@@ -182,13 +182,13 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
}
@Override
public final void setSubprojectsList(final List<IProject> subprojectsList) {
this.subprojectsList = subprojectsList;
public final void setSubprojectsList(final List<IProject> projectList) {
this.subprojectsList = projectList;
}
@Override
public final void setParticipantsList(final List<IParticipant> participantsList) {
this.participantsList = participantsList;
public final void setParticipantsList(final List<IParticipant> participantList) {
this.participantsList = participantList;
}
@Override
......
......@@ -25,8 +25,8 @@ public abstract class AbstractServerObject implements IServerObject {
protected Date lastModificationDate;
@Override
public final void setServerIdentifier(final String serverIdentifier) {
this.serverIdentifier = serverIdentifier;
public final void setServerIdentifier(final String idServer) {
this.serverIdentifier = idServer;
}
@Override
......
......@@ -78,8 +78,8 @@ public abstract class AbstractTag implements ITag {
}
@Override
public final void setServerIdentifier(final String serverIdentifier) {
this.serverIdentifier = serverIdentifier;
public final void setServerIdentifier(final String idServer) {
this.serverIdentifier = idServer;
}
@Override
......
......@@ -206,8 +206,8 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
}
@Override
public final void setProgress(final Progress a) {
this.progress = a;
public final void setProgress(final Progress p) {
this.progress = p;
}
@Override
......@@ -251,7 +251,7 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
}
@Override
public final void setListTags(final List<ITag> tagsList) {
public final void setTagsList(final List<ITag> tagsList) {
this.tagsList = tagsList;
}
......@@ -266,8 +266,8 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
}
@Override
public final void setPreviousTask(final List<ITask> previousTask) {
this.previousTask = previousTask;
public final void setPreviousTasksList(final List<ITask> previousTasksList) {
this.previousTask = previousTasksList;
}
@Override
......
package fr.alma.gtd.server.core;
/**
* Interface representant les idees.
* author Nobody
* Interface representative the ideas.
* author Nobody
* @version 1.0.0
*/
public interface IIdea extends IServerObject {
/**
* @return Le nom.
* @return Name.
*/
String getName();
/**
* @param n La nouvelle valeur du nom.
* @param n New value of the name.
*/
void setName(final String n);
/**
* @return La description.
* @return Description.
*/
String getDescription();
/**
* @param desc La nouvelle valeur de la description.
* @param desc New value of the description.
*/
void setDescription(final String desc);
/**
* Supprime l'idee, en la mettant a la poubelle.
* Delete the idea, putting it in the trash.
*/
void mettreALaPoubelle();
void putInTrash();
/**
* Restaurer la tache depuis la poubelle.
* Restore the task from the trash.
*/
void restaurer();
void restore();
/**
* @return Le boolean indiquant si l'idee est dans la poubelle.
* @return boolean indicating if the idea is in the trash.
*/
boolean isTrash();
/**
* @param estDansPoubelle La nouvelle valeur du boolean indiquant si l'idee est dans la poubelle.
* @param isTrash The new value of the boolean indicating whether the idea is in the trash.
*/
void setTrash(final boolean estDansArchive);
void setTrash(final boolean isTrash);
/**
* @return Le boolean indiquant si l'idee a ete archivee.
* @return boolean indicating whether the idea has been archived.
*/
boolean isArchived();
/**
* @param estDansPoubelle La nouvelle valeur du boolean indiquant si l'idee a ete archivee.
* @param isArchived The new boolean value indicating whether the idea has been archived.
*/
void setArchived(final boolean estDansArchive);
void setArchived(final boolean isArchived);
/**
* @return Le createur de l'idee.
* @return The creator of the idea.
*/
IParticipant getCreator();
/**
* @param c La nouvelle valeur du createur.
* @param c New value of the creator.
*/
void setCreator(final IParticipant c);
......
package fr.alma.gtd.server.core;
/**
* Interface representant un participant.
* author Nobody
* Interface representing a participant.
* author Nobody
* @version 1.0.0
*/
public interface IParticipant extends IServerObject {
/**
* @return Le pseudonyme.
* @return Pseudonym.
*/
String getPseudonym();
/**
* @param pseudo La nouvelle valeur du pseudonyme.
* @param pseudo New value of the pseudonym.
*/
void setPseudonym(final String pseudo);
......
......@@ -4,141 +4,141 @@ import java.util.ArrayList;
import java.util.List;
/**
* Interface representant les projets.
* author Nobody
* Interface representing the projects.
* author Nobody
* @version 1.0.0
*/
public interface IProject extends IServerObject {
/**
* Ajoute une tache au projet.
* @param t La tache a ajouter.
* Adds a task to the project.
* @param t The tâche to add.
*/
void addTask(final ITask t);
/**
* Supprime la tache du projet.
* @param t La tache a supprimer.
* Removes the task from the project.
* @param t The tâche to remove.
*/
void deleteTask(final ITask t);
/**
* Supprime toutes les taches du projet.
* Removes all tasks from the project.
*/
void deleteAllTasks();
/**
* Archive le projet.
* Archive the project.
*/
void archive();
/**
* Supprime le projet, en le mettant a la poubelle.
* Delete the project, putting it in the trash.
*/
void putInTrash();
/**
* Restaurer le projet depuis la poubelle.
* Restore the project from the trash.
*/
void restore();
/**
* @return Le nom.
* @return Name.
*/
String getName();
/**
* @param n La nouvelle valeur du nom.
* @param n New value of the name.
*/
void setName(final String n);
/**
* @return Le boolean indiquant si l'idee est dans la poubelle.
* @return Boolean indicating if the idea is in the trash.
*/
boolean isTrash();
/**
* @param estDansPoubelle La nouvelle valeur du boolean indiquant si l'idee est dans la poubelle.
* @param isTrash The new value of the boolean indicating whether the idea is in the trash.
*/
void setTrash(final boolean estDansPoubelle);
void setTrash(final boolean isTrash);
/**
* @return L'avancement.
* @return Progress.
*/
Progress getProgress();
/**
* @param a La nouvelle valeur de l'avancement.
* @param p New value of the progress.
*/
void setProgress(final Progress a);
void setProgress(final Progress p);
/**
* @return Le contexteParDefaut.
* @return Default context.
*/
IContext getDefaultContext();
/**
* @param contexteDefaut La nouvelle valeur du contexte par defaut.
* @param defaultContext New value of the default context.
*/
void setDefaultContext(final IContext contexteDefaut);
void setDefaultContext(final IContext defaultContext);
/**
* @return La listeDesTaches.
* @return Tasks list.
*/
List<ITask> getTasksList();
/**
* @param listeTaches La liste des taches.
* @param tasksList Tasks list.
*/
void setTasksList(final ArrayList<ITask> listeTaches);
void setTasksList(final ArrayList<ITask> tasksList);
/**
* @return La liste des sous-projets associes a ce projet.
* @return The list of sub-projects associated with this project.
*/
List<IProject> getSubprojectsList();
/**
* @param La liste des sous-projets associes a ce projet.
* @param projectList The new list of sub-projects associated with this project.
*/
void setSubprojectsList(final List<IProject> listeProjets);
void setSubprojectsList(final List<IProject> projectList);
/**
* @return La listeDesParticipants.
* @return The list of participant associated with this project.
*/
List<IParticipant> getParticipantsList();
/**
* @param listeParticipants La nouvelle valeur de la liste des participants.
* @param participantList The new list of participant associated with this project.
*/
void setParticipantsList(final List<IParticipant> listeParticipants);
void setParticipantsList(final List<IParticipant> participantList);
/**
* @return Le createur du projet.
* @return Creator of the project.
*/
IParticipant getCreator();
/**
* @param c La nouvelle valeur du createur.
* @param c New creator of the project.
*/
void setCreator(final IParticipant c);
/**
* @return Personnes a contacter a propos de cette projet.
* @return People to contact about this project.
*/
List<IContact> getContactsList();
/**
* @param contacts Personnes a contacter a propos de ce projet.
* @param contacts People to contact about this project.
*/
void setContactsList(final List<IContact> contacts);
/**
* @return vrai si le projet est dans les archive, faux sinon.
* @return true if the project is archived, false otherwise.
*/
boolean isDansArchive();
boolean isArchived();
/**
* @param archived indique si le projet doit etre place ou non dans les archives.
* @param archived indicates whether the project should be placed in the archives or not.
*/
void setArchived(final boolean archived);
}
......@@ -5,30 +5,30 @@ import java.io.Serializable;
import java.util.Date;
/**
* Interface regroupant l'ensemble des comportements communs a tous les objets stockes sur le serveur.
* author Nobody
* Interface grouping together all the behaviors common to all the objects stored on the server.
* author Nobody
* @version 1.0.0
*/
public interface IServerObject extends Serializable {
/**
* @return L'identifiantServeur.
* @return serverIdentifier.
*/
String getServerIdentifier();
/**
* @param idServeur La nouvelle valeur de l'identifiant serveur.
* @param idServer New value of the serverIdentifier.
*/
void setServerIdentifier(final String idServeur);
void setServerIdentifier(final String idServer);
/**
* @return La date de derniere modification.
* @return Last modification date.
*/
Date getLastModificationDate();
/**
* @param dateDerniereModification La nouvelle date de derniere modification.
* @param lastModificationDate New value of the last modification date.
*/
void setLastModificationDate(final Date dateDerniereModification);
void setLastModificationDate(final Date lastModificationDate);
}
package fr.alma.gtd.server.core;
/**
* Interface representant les tags.
* author Nobody
* Interface representing tags.
* author Nobody
* @version 1.0.0
*/
public interface ITag extends IServerObject {
/**
* @return Le nom.
* @return Name.
*/
String getName();
/**
* @param n La nouvelle valeur du nom.
* @param n New value of the name.
*/
void setName(final String n);
/**
* @return Le createur de l'idee.
* @return Creator of the idea.
*/
IParticipant getCreator();
/**
* @param c La nouvelle valeur du createur.
* @param c New value of the creator.
*/
void setCreator(final IParticipant c);
......
......@@ -2,197 +2,196 @@ package fr.alma.gtd.server.core;
import java.util.Date;
import java.util.List;
/**
* Interface representant les taches.
* author Nobody
* Interface representing the tasks.
* author Nobody
* @version 1.0.0
*/
public interface ITask extends IServerObject {
/**
* Archive la tache.
* Archive the task.
*/
void archive();
/**
* Supprime la tache, en la mettant a la poubelle.
* Remove the task, putting it in the trash.
*/
void putInTrash();
/**
* Restaurer la tache depuis la poubelle.
* Restore the task from the trash.
*/
void restore();
/**
* @return Le nom.
* @return Name.
*/
String getName();
/**
* @param n La nouvelle valeur du nom.
* @param n New value of the name.
*/
void setName(final String n);
/**
* @return La priorite.
* @return Priority.
*/
int getPriority();
/**
* @param p La nouvelle valeur de la priorite.
* @param p New value of the priority.
*/
void setPriority(final int p);
/**
* @return Le tauxEffort.
* @return effortRate.
*/
int getEffortRate();
/**
* @param effort La nouvelle valeur du taux d'effort.
* @param effort New value of the effortRate.
*/
void setEffortRate(final int effort);
/**
* @return L'avancement.
* @return Progress.
*/
Progress getAvancement();
Progress getProgress();
/**
* @param a La nouvelle valeur de l'avancement.
* @param p New value of the progress.
*/
void setProgress(final Progress a);
void setProgress(final Progress p);
/**
* @return La frequence.
* @return Frequency.
*/
Frequency getFrequence();
Frequency getFrequency();
/**
* @param f La nouvelle valeur de la frequence.
* @param f New value of the frequency.
*/
void setFrequency(final Frequency f);
/**
* @return La dateDebut.
* @return beginningDate.
*/
Date getBeginningDate();
/**
* @param debut La nouvelle valeur de la date de debut.
* @param beginningDate New value of the beginningDate.
*/
void setBeginningDate(final Date debut);
void setBeginningDate(final Date beginningDate);
/**
* @return La dateFin.
* @return endingDate.
*/
Date getEndingDate();
/**
* @param fin La nouvelle valeur de la date de fin.
* @param endingDate New value of the endingDate.
*/
void setEndingDate(final Date fin);
void setEndingDate(final Date endingDate);
/**
* @return Un boolean indiquant si la tache est dans la poubelle.
* @return A boolean indicating if the stain is in the trash.
*/
boolean isTrash();
/**
* @param dansPoubelle La nouvelle valeur du boolean indiquant si la tache est dans la poubelle.
* @param isTrash The new value of the boolean indicating whether the task is in the trash.
*/
void setTrash(final boolean dansPoubelle);
void setTrash(final boolean isTrash);
/**
* @return Un boolean indiquant si la tache est dans les archives.
* @return A boolean indicating if the task is in the archives.
*/
boolean isDansArchive();
boolean isArchived();
/**
* @param archived La nouvelle valeur du boolean indiquant si la tache est dans les archives.