Revision 58452b54
Added by Katja Luther over 14 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/ICdmBase.java | ||
---|---|---|
26 | 26 |
* Returns local unique identifier for the concrete subclass |
27 | 27 |
* @return |
28 | 28 |
*/ |
29 |
public abstract int getId();
|
|
29 |
public int getId(); |
|
30 | 30 |
|
31 | 31 |
/** |
32 | 32 |
* Assigns a unique local ID to this object. |
... | ... | |
34 | 34 |
* set automatically by the persistence framework when object is saved. |
35 | 35 |
* @param id |
36 | 36 |
*/ |
37 |
public abstract void setId(int id);
|
|
37 |
public void setId(int id); |
|
38 | 38 |
|
39 |
public abstract UUID getUuid();
|
|
39 |
public UUID getUuid(); |
|
40 | 40 |
|
41 |
public abstract void setUuid(UUID uuid);
|
|
41 |
public void setUuid(UUID uuid); |
|
42 | 42 |
|
43 |
public abstract DateTime getCreated();
|
|
43 |
public DateTime getCreated(); |
|
44 | 44 |
|
45 | 45 |
/** |
46 | 46 |
* Sets the timestamp this object was created. |
... | ... | |
50 | 50 |
* |
51 | 51 |
* @param created |
52 | 52 |
*/ |
53 |
public abstract void setCreated(DateTime created);
|
|
53 |
public void setCreated(DateTime created); |
|
54 | 54 |
|
55 |
public abstract User getCreatedBy();
|
|
55 |
public User getCreatedBy(); |
|
56 | 56 |
|
57 |
public abstract void setCreatedBy(User createdBy);
|
|
57 |
public void setCreatedBy(User createdBy); |
|
58 | 58 |
|
59 | 59 |
} |
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IEvent.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
public interface IEvent { |
15 | 15 |
|
16 |
public abstract TimePeriod getTimeperiod();
|
|
16 |
public TimePeriod getTimeperiod(); |
|
17 | 17 |
|
18 |
public abstract void setTimeperiod(TimePeriod timeperiod);
|
|
18 |
public void setTimeperiod(TimePeriod timeperiod); |
|
19 | 19 |
|
20 |
public abstract AgentBase getActor();
|
|
20 |
public AgentBase getActor(); |
|
21 | 21 |
|
22 |
public abstract void setActor(AgentBase actor);
|
|
22 |
public void setActor(AgentBase actor); |
|
23 | 23 |
|
24 | 24 |
} |
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/media/IMediaEntity.java | ||
---|---|---|
29 | 29 |
* @return |
30 | 30 |
*/ |
31 | 31 |
|
32 |
public abstract Set<Media> getMedia();
|
|
32 |
public Set<Media> getMedia(); |
|
33 | 33 |
|
34 | 34 |
/** |
35 | 35 |
* Adds a media to this object |
36 | 36 |
* @param media |
37 | 37 |
*/ |
38 |
public abstract void addMedia(Media media);
|
|
38 |
public void addMedia(Media media); |
|
39 | 39 |
|
40 | 40 |
/** |
41 | 41 |
* Removes a media from this object |
42 | 42 |
* @param media |
43 | 43 |
*/ |
44 |
public abstract void removeMedia(Media media);
|
|
44 |
public void removeMedia(Media media); |
|
45 | 45 |
|
46 | 46 |
} |
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/ITreeNode.java | ||
---|---|---|
30 | 30 |
* @param synonymToBeUsed |
31 | 31 |
* @return |
32 | 32 |
*/ |
33 |
public abstract TaxonNode addChildNode(TaxonNode childNode, ReferenceBase citation, String microCitation, Synonym synonymToBeUsed);
|
|
33 |
public TaxonNode addChildNode(TaxonNode childNode, ReferenceBase citation, String microCitation, Synonym synonymToBeUsed); |
|
34 | 34 |
|
35 | 35 |
/** |
36 | 36 |
* Adds a taxon as a child of the ITreeNode |
... | ... | |
41 | 41 |
* @param synonymToBeUsed |
42 | 42 |
* @return |
43 | 43 |
*/ |
44 |
public abstract TaxonNode addChildTaxon(Taxon taxon, ReferenceBase citation, String microCitation, Synonym synonymToBeUsed);
|
|
44 |
public TaxonNode addChildTaxon(Taxon taxon, ReferenceBase citation, String microCitation, Synonym synonymToBeUsed); |
|
45 | 45 |
|
46 | 46 |
/** |
47 | 47 |
* This recursively removes all child nodes from this node and from this taxonomic view. |
... | ... | |
51 | 51 |
* @param node |
52 | 52 |
* @return true on success |
53 | 53 |
*/ |
54 |
public abstract boolean deleteChildNode(TaxonNode node);
|
|
54 |
public boolean deleteChildNode(TaxonNode node); |
|
55 | 55 |
|
56 | 56 |
/** |
57 | 57 |
* @return the citation for the parent child relationship or the tree itself |
58 | 58 |
*/ |
59 |
public abstract ReferenceBase getReference();
|
|
59 |
public ReferenceBase getReference(); |
|
60 | 60 |
|
61 | 61 |
/** |
62 | 62 |
* |
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IAgentService.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
public interface IAgentService extends IIdentifiableEntityService<AgentBase> { |
30 | 30 |
|
31 |
public abstract List<Institution> searchInstitutionByCode(String code);
|
|
31 |
public List<Institution> searchInstitutionByCode(String code); |
|
32 | 32 |
|
33 | 33 |
/** |
34 | 34 |
* Return a paged list of the institutional memberships held by a person |
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IIdentifiableEntityService.java | ||
---|---|---|
29 | 29 |
/** |
30 | 30 |
* (Re-)generate the title caches for all objects of this concrete IdentifiableEntity class |
31 | 31 |
*/ |
32 |
public abstract void generateTitleCache();
|
|
32 |
public void generateTitleCache(); |
|
33 | 33 |
|
34 | 34 |
/** |
35 | 35 |
* Return a Pager of sources belonging to this object |
... | ... | |
53 | 53 |
*/ |
54 | 54 |
public Pager<Rights> getRights(T t, Integer pageSize, Integer pageNumber, List<String> propertyPaths); |
55 | 55 |
|
56 |
public abstract ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace);
|
|
56 |
public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace); |
|
57 | 57 |
|
58 | 58 |
/** |
59 | 59 |
* Return a list of all uuids mapped to titleCache in the convenient <code>UuidAndTitleCache</code> object. |
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java | ||
---|---|---|
41 | 41 |
* @param start |
42 | 42 |
* @return |
43 | 43 |
*/ |
44 |
public abstract List<Synonym> getAllSynonyms(int limit, int start);
|
|
44 |
public List<Synonym> getAllSynonyms(int limit, int start); |
|
45 | 45 |
|
46 | 46 |
/** |
47 | 47 |
* Computes all taxon bases. |
... | ... | |
50 | 50 |
* @param start |
51 | 51 |
* @return |
52 | 52 |
*/ |
53 |
public abstract List<Taxon> getAllTaxa(int limit, int start);
|
|
53 |
public List<Taxon> getAllTaxa(int limit, int start); |
|
54 | 54 |
|
55 | 55 |
/** |
56 | 56 |
* Computes all Taxon instances that do not have a taxonomic parent and has at least one child. |
... | ... | |
69 | 69 |
* @return The List<Taxon> of root taxa. |
70 | 70 |
* @deprecated obsolete when using taxonomicTree |
71 | 71 |
*/ |
72 |
public abstract List<Taxon> getRootTaxa(ReferenceBase sec, CdmFetch cdmFetch, boolean onlyWithChildren);
|
|
72 |
public List<Taxon> getRootTaxa(ReferenceBase sec, CdmFetch cdmFetch, boolean onlyWithChildren); |
|
73 | 73 |
|
74 | 74 |
/** |
75 | 75 |
* Computes all Taxon instances that do not have a taxonomic parent. |
... | ... | |
80 | 80 |
* @return The List<Taxon> of root taxa. |
81 | 81 |
* @deprecated obsolete when using taxonomicTree |
82 | 82 |
*/ |
83 |
public abstract List<Taxon> getRootTaxa(ReferenceBase sec, boolean onlyWithChildren, boolean withMisapplications);
|
|
83 |
public List<Taxon> getRootTaxa(ReferenceBase sec, boolean onlyWithChildren, boolean withMisapplications); |
|
84 | 84 |
|
85 | 85 |
/** |
86 | 86 |
* Computes all Taxon instances which name is of a certain Rank. |
... | ... | |
97 | 97 |
* @return The List<Taxon> of root taxa. |
98 | 98 |
* @deprecated obsolete when using taxonomicTree |
99 | 99 |
*/ |
100 |
public abstract List<Taxon> getRootTaxa(Rank rank, ReferenceBase sec, boolean onlyWithChildren, boolean withMisapplications, List<String> propertyPaths);
|
|
100 |
public List<Taxon> getRootTaxa(Rank rank, ReferenceBase sec, boolean onlyWithChildren, boolean withMisapplications, List<String> propertyPaths); |
|
101 | 101 |
|
102 | 102 |
/** |
103 | 103 |
* Computes all relationships. |
... | ... | |
105 | 105 |
* @param start |
106 | 106 |
* @return |
107 | 107 |
*/ |
108 |
public abstract List<RelationshipBase> getAllRelationships(int limit, int start);
|
|
108 |
public List<RelationshipBase> getAllRelationships(int limit, int start); |
|
109 | 109 |
|
110 | 110 |
/** |
111 | 111 |
* Returns TaxonRelationshipType vocabulary |
... | ... | |
115 | 115 |
public OrderedTermVocabulary<TaxonRelationshipType> getTaxonRelationshipTypeVocabulary(); |
116 | 116 |
|
117 | 117 |
/** */ |
118 |
public abstract List<TaxonBase> searchTaxaByName(String name, ReferenceBase sec);
|
|
118 |
public List<TaxonBase> searchTaxaByName(String name, ReferenceBase sec); |
|
119 | 119 |
|
120 | 120 |
/** |
121 | 121 |
* Changes an accepted taxon to a synonym of another taxon. |
Also available in: Unified diff
modifier "abstract" removed in interfaces