Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu GICQUEL
GTD Server
Commits
1dbfefc7
Commit
1dbfefc7
authored
Mar 31, 2021
by
Mathieu Gicquel
Browse files
Change constructor visibility of anstract classes - Fix
#28
parent
4002f1d8
Changes
14
Hide whitespace changes
Inline
Side-by-side
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractContact.java
View file @
1dbfefc7
...
...
@@ -34,7 +34,7 @@ public abstract class AbstractContact extends AbstractServerObject implements IC
/**
* Default constructor.
*/
p
ublic
AbstractContact
()
{
p
rotected
AbstractContact
()
{
super
();
}
...
...
@@ -45,7 +45,7 @@ public abstract class AbstractContact extends AbstractServerObject implements IC
* @param address contact address
* @param phoneNumber contact phone number
*/
p
ublic
AbstractContact
(
final
String
name
,
final
String
email
,
final
String
address
,
final
String
phoneNumber
)
{
p
rotected
AbstractContact
(
final
String
name
,
final
String
email
,
final
String
address
,
final
String
phoneNumber
)
{
super
();
this
.
name
=
name
;
this
.
email
=
email
;
...
...
@@ -57,7 +57,7 @@ public abstract class AbstractContact extends AbstractServerObject implements IC
* Constructor to copy a contact.
* @param contact contact to copy.
*/
p
ublic
AbstractContact
(
final
IContact
contact
)
{
p
rotected
AbstractContact
(
final
IContact
contact
)
{
super
();
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractContext.java
View file @
1dbfefc7
...
...
@@ -24,7 +24,7 @@ public abstract class AbstractContext extends AbstractServerObject implements IC
/**
* Default constructor.
*/
p
ublic
AbstractContext
()
{
p
rotected
AbstractContext
()
{
super
();
}
...
...
@@ -32,7 +32,7 @@ public abstract class AbstractContext extends AbstractServerObject implements IC
* Constructor initializing the name.
* @param name selected name.
*/
p
ublic
AbstractContext
(
final
String
name
)
{
p
rotected
AbstractContext
(
final
String
name
)
{
super
();
this
.
name
=
name
;
}
...
...
@@ -41,7 +41,7 @@ public abstract class AbstractContext extends AbstractServerObject implements IC
* Constructor to copy a context.
* @param ctx context to copy.
*/
p
ublic
AbstractContext
(
final
IContext
ctx
)
{
p
rotected
AbstractContext
(
final
IContext
ctx
)
{
this
.
copy
(
ctx
);
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractIdea.java
View file @
1dbfefc7
...
...
@@ -56,7 +56,7 @@ public abstract class AbstractIdea extends AbstractServerObject implements IIdea
/**
* Default constructor.
*/
p
ublic
AbstractIdea
()
{
p
rotected
AbstractIdea
()
{
super
();
}
...
...
@@ -66,7 +66,7 @@ public abstract class AbstractIdea extends AbstractServerObject implements IIdea
* @param desc selected description.
* @param c creator of the idee.
*/
p
ublic
AbstractIdea
(
final
String
n
,
final
String
desc
,
final
IParticipant
c
)
{
p
rotected
AbstractIdea
(
final
String
n
,
final
String
desc
,
final
IParticipant
c
)
{
super
();
this
.
name
=
n
;
this
.
description
=
desc
;
...
...
@@ -78,7 +78,7 @@ public abstract class AbstractIdea extends AbstractServerObject implements IIdea
* Constructor to copy an idea.
* @param idea idea to copy.
*/
p
ublic
AbstractIdea
(
final
IIdea
idea
)
{
p
rotected
AbstractIdea
(
final
IIdea
idea
)
{
this
.
copy
(
idea
);
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractParticipant.java
View file @
1dbfefc7
...
...
@@ -25,7 +25,7 @@ public abstract class AbstractParticipant extends AbstractServerObject implement
/**
* Default constructor.
*/
p
ublic
AbstractParticipant
()
{
p
rotected
AbstractParticipant
()
{
super
();
}
...
...
@@ -33,7 +33,7 @@ public abstract class AbstractParticipant extends AbstractServerObject implement
* Constructor allowing the initialization of the pseudonym.
* @param pseudonym selected pseudonym.
*/
p
ublic
AbstractParticipant
(
final
String
pseudonym
)
{
p
rotected
AbstractParticipant
(
final
String
pseudonym
)
{
super
();
this
.
pseudonym
=
pseudonym
;
}
...
...
@@ -42,7 +42,7 @@ public abstract class AbstractParticipant extends AbstractServerObject implement
* Constructor to copy a participant.
* @param p participant to copy.
*/
p
ublic
AbstractParticipant
(
final
IParticipant
p
)
{
p
rotected
AbstractParticipant
(
final
IParticipant
p
)
{
this
.
copy
(
p
);
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractProject.java
View file @
1dbfefc7
...
...
@@ -83,7 +83,7 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
/**
* Default constructor.
*/
p
ublic
AbstractProject
()
{
p
rotected
AbstractProject
()
{
super
();
}
...
...
@@ -93,7 +93,7 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
* @param context Chosen context.
* @param c Project creator.
*/
p
ublic
AbstractProject
(
final
String
n
,
final
IContext
context
,
final
IParticipant
c
)
{
p
rotected
AbstractProject
(
final
String
n
,
final
IContext
context
,
final
IParticipant
c
)
{
super
();
this
.
name
=
n
;
this
.
defaultContext
=
context
;
...
...
@@ -104,7 +104,7 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
* Recopy constructor of a project.
* @param p Project to copy
*/
p
ublic
AbstractProject
(
final
IProject
p
)
{
p
rotected
AbstractProject
(
final
IProject
p
)
{
this
.
copy
(
p
);
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractTag.java
View file @
1dbfefc7
...
...
@@ -42,7 +42,7 @@ public abstract class AbstractTag implements ITag {
/**
* Default constructor.
*/
p
ublic
AbstractTag
()
{
p
rotected
AbstractTag
()
{
super
();
}
...
...
@@ -51,7 +51,7 @@ public abstract class AbstractTag implements ITag {
* @param name Name corresponding to the Tag
* @param p Participant who created the task
*/
p
ublic
AbstractTag
(
final
String
name
,
final
IParticipant
p
)
{
p
rotected
AbstractTag
(
final
String
name
,
final
IParticipant
p
)
{
this
.
name
=
name
;
this
.
creator
=
p
;
}
...
...
@@ -61,7 +61,7 @@ public abstract class AbstractTag implements ITag {
* Recopy constructor of a Tag.
* @param tag Tag to copy
*/
p
ublic
AbstractTag
(
final
ITag
tag
)
{
p
rotected
AbstractTag
(
final
ITag
tag
)
{
this
.
copy
(
tag
);
}
...
...
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractTask.java
View file @
1dbfefc7
...
...
@@ -117,7 +117,7 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
/**
* The default constructor.
*/
p
ublic
AbstractTask
()
{
p
rotected
AbstractTask
()
{
super
();
}
...
...
@@ -129,7 +129,7 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
* @param c Context.
* @param cr Creator.
*/
p
ublic
AbstractTask
(
final
String
n
,
final
int
p
,
final
int
effort
,
final
IContext
c
,
final
IParticipant
cr
)
{
p
rotected
AbstractTask
(
final
String
n
,
final
int
p
,
final
int
effort
,
final
IContext
c
,
final
IParticipant
cr
)
{
this
.
name
=
n
;
this
.
priority
=
p
;
this
.
effortRate
=
effort
;
...
...
@@ -141,7 +141,7 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
* Recopy constructor of a task.
* @param t Copy task
*/
p
ublic
AbstractTask
(
final
ITask
t
)
{
p
rotected
AbstractTask
(
final
ITask
t
)
{
this
.
copy
(
t
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractContact.java
View file @
1dbfefc7
...
...
@@ -28,7 +28,7 @@ public abstract class AbstractContact extends AbstractObjetServeur implements IC
/**
* Constructeur par defaut.
*/
p
ublic
AbstractContact
()
{
p
rotected
AbstractContact
()
{
super
();
}
...
...
@@ -39,7 +39,7 @@ public abstract class AbstractContact extends AbstractObjetServeur implements IC
* @param adresse adresse du contact
* @param numeroTelephone numero de telephone du contact
*/
p
ublic
AbstractContact
(
final
String
nom
,
final
String
email
,
final
String
adresse
,
final
String
numeroTelephone
)
{
p
rotected
AbstractContact
(
final
String
nom
,
final
String
email
,
final
String
adresse
,
final
String
numeroTelephone
)
{
super
();
this
.
nom
=
nom
;
this
.
email
=
email
;
...
...
@@ -51,7 +51,7 @@ public abstract class AbstractContact extends AbstractObjetServeur implements IC
* Constructeur de recopier d'un contact.
* @param contact contact a copier.
*/
p
ublic
AbstractContact
(
final
IContact
contact
)
{
p
rotected
AbstractContact
(
final
IContact
contact
)
{
super
();
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractContexte.java
View file @
1dbfefc7
...
...
@@ -21,7 +21,7 @@ public abstract class AbstractContexte extends AbstractObjetServeur implements I
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractContexte
()
{
p
rotected
AbstractContexte
()
{
super
();
}
...
...
@@ -29,7 +29,7 @@ public abstract class AbstractContexte extends AbstractObjetServeur implements I
* Le constructeur initialisant le nom.
* @param n Le nom choisi.
*/
p
ublic
AbstractContexte
(
final
String
n
)
{
p
rotected
AbstractContexte
(
final
String
n
)
{
super
();
this
.
nom
=
n
;
}
...
...
@@ -38,7 +38,7 @@ public abstract class AbstractContexte extends AbstractObjetServeur implements I
* Constructeur de recopie d'un contexte.
* @param ctx Contexte a recopier.
*/
p
ublic
AbstractContexte
(
final
IContexte
ctx
)
{
p
rotected
AbstractContexte
(
final
IContexte
ctx
)
{
this
.
copier
(
ctx
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractIdee.java
View file @
1dbfefc7
...
...
@@ -47,7 +47,7 @@ public abstract class AbstractIdee extends AbstractObjetServeur implements IIdee
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractIdee
()
{
p
rotected
AbstractIdee
()
{
super
();
}
...
...
@@ -57,7 +57,7 @@ public abstract class AbstractIdee extends AbstractObjetServeur implements IIdee
* @param desc Le description choisie.
* @param c Le createur de l'idee.
*/
p
ublic
AbstractIdee
(
final
String
n
,
final
String
desc
,
final
IParticipant
c
)
{
p
rotected
AbstractIdee
(
final
String
n
,
final
String
desc
,
final
IParticipant
c
)
{
super
();
this
.
nom
=
n
;
this
.
description
=
desc
;
...
...
@@ -69,7 +69,7 @@ public abstract class AbstractIdee extends AbstractObjetServeur implements IIdee
* Constructeur de recopie d'une idee.
* @param idee Idee a recopier.
*/
p
ublic
AbstractIdee
(
final
IIdee
idee
)
{
p
rotected
AbstractIdee
(
final
IIdee
idee
)
{
this
.
copier
(
idee
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractParticipant.java
View file @
1dbfefc7
...
...
@@ -26,7 +26,7 @@ public abstract class AbstractParticipant extends AbstractObjetServeur implement
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractParticipant
()
{
p
rotected
AbstractParticipant
()
{
super
();
}
...
...
@@ -34,7 +34,7 @@ public abstract class AbstractParticipant extends AbstractObjetServeur implement
* Constructeur permettant l'initialisation du pseudonyme.
* @param pseudo Le pseudonyme choisi.
*/
p
ublic
AbstractParticipant
(
final
String
pseudo
)
{
p
rotected
AbstractParticipant
(
final
String
pseudo
)
{
super
();
this
.
pseudonyme
=
pseudo
;
}
...
...
@@ -43,7 +43,7 @@ public abstract class AbstractParticipant extends AbstractObjetServeur implement
* Constructeur de recopie d'un participant.
* @param p Participant a recopier.
*/
p
ublic
AbstractParticipant
(
final
IParticipant
p
)
{
p
rotected
AbstractParticipant
(
final
IParticipant
p
)
{
this
.
copier
(
p
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractProjet.java
View file @
1dbfefc7
...
...
@@ -83,17 +83,17 @@ public abstract class AbstractProjet extends AbstractObjetServeur implements IPr
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractProjet
()
{
p
rotected
AbstractProjet
()
{
super
();
}
/**
* Le constructeur avec initialisation du nom, du contexte par defaut et du createur.
* @param n Le nom choisi.
* @param contexte Le contexte choisi.
* @param c Le createur du projet.
*/
p
ublic
AbstractProjet
(
final
String
n
,
final
IContexte
contexte
,
final
IParticipant
c
)
{
p
rotected
AbstractProjet
(
final
String
n
,
final
IContexte
contexte
,
final
IParticipant
c
)
{
super
();
this
.
nom
=
n
;
this
.
contexteParDefaut
=
contexte
;
...
...
@@ -104,7 +104,7 @@ public abstract class AbstractProjet extends AbstractObjetServeur implements IPr
* Constructeur de recopie d'un projet.
* @param p Projet a recopier
*/
p
ublic
AbstractProjet
(
final
IProjet
p
)
{
p
rotected
AbstractProjet
(
final
IProjet
p
)
{
this
.
copier
(
p
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractTache.java
View file @
1dbfefc7
...
...
@@ -118,7 +118,7 @@ public abstract class AbstractTache extends AbstractObjetServeur implements ITac
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractTache
()
{
p
rotected
AbstractTache
()
{
super
();
}
...
...
@@ -130,7 +130,7 @@ public abstract class AbstractTache extends AbstractObjetServeur implements ITac
* @param c Le contexte.
* @param cr Le createur de la tache.
*/
p
ublic
AbstractTache
(
final
String
n
,
final
int
p
,
final
int
effort
,
final
IObjetServeur
c
,
final
IParticipant
cr
)
{
p
rotected
AbstractTache
(
final
String
n
,
final
int
p
,
final
int
effort
,
final
IObjetServeur
c
,
final
IParticipant
cr
)
{
this
.
nom
=
n
;
this
.
priorite
=
p
;
this
.
tauxEffort
=
effort
;
...
...
@@ -142,7 +142,7 @@ public abstract class AbstractTache extends AbstractObjetServeur implements ITac
* Constructeur de recopie d'une tache.
* @param t Tache a recopier
*/
p
ublic
AbstractTache
(
final
ITache
t
)
{
p
rotected
AbstractTache
(
final
ITache
t
)
{
this
.
copier
(
t
);
}
...
...
gtd-server-gui/src/main/java/fr/alma/gtd/donneespartagees/AbstractTag.java
View file @
1dbfefc7
...
...
@@ -37,7 +37,7 @@ public abstract class AbstractTag implements ITag {
/**
* Le constructeur par defaut.
*/
p
ublic
AbstractTag
()
{
p
rotected
AbstractTag
()
{
super
();
}
...
...
@@ -46,7 +46,7 @@ public abstract class AbstractTag implements ITag {
* @param name Nom correspondant au Tag
* @param p Participant ayant creer la tache
*/
p
ublic
AbstractTag
(
final
String
name
,
final
IParticipant
p
)
{
p
rotected
AbstractTag
(
final
String
name
,
final
IParticipant
p
)
{
this
.
nom
=
name
;
this
.
createur
=
p
;
}
...
...
@@ -55,7 +55,7 @@ public abstract class AbstractTag implements ITag {
* Constructeur de recopie d'un Tag.
* @param tag Tag a recopier
*/
p
ublic
AbstractTag
(
final
ITag
tag
)
{
p
rotected
AbstractTag
(
final
ITag
tag
)
{
this
.
copier
(
tag
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment