-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced EJB-singleton annotations with stateless
- Loading branch information
Martin Wahnschaffe
committed
Jun 29, 2016
1 parent
edecacf
commit 1d80e45
Showing
30 changed files
with
461 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
sormas-api/src/main/java/de/symeda/sormas/api/ReferenceDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package de.symeda.sormas.api; | ||
|
||
import de.symeda.sormas.api.DataTransferObject; | ||
|
||
public class ReferenceDto extends DataTransferObject { | ||
|
||
private static final long serialVersionUID = 4500877980734738141L; | ||
|
||
public static final String CAPTION = "caption"; | ||
|
||
private String caption; | ||
|
||
@Override | ||
public String toString() { | ||
return getCaption(); | ||
} | ||
|
||
public String getCaption() { | ||
return caption; | ||
} | ||
|
||
public void setCaption(String caption) { | ||
this.caption = caption; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
sormas-api/src/main/java/de/symeda/sormas/api/facility/FacilityFacade.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package de.symeda.sormas.api.facility; | ||
|
||
import java.util.List; | ||
|
||
import javax.ejb.Remote; | ||
|
||
import de.symeda.sormas.api.ReferenceDto; | ||
|
||
@Remote | ||
public interface FacilityFacade { | ||
|
||
public abstract List<ReferenceDto> getAllAsReference(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
sormas-api/src/main/java/de/symeda/sormas/api/user/UserFacade.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package de.symeda.sormas.api.user; | ||
|
||
import java.util.List; | ||
|
||
import javax.ejb.Remote; | ||
|
||
import de.symeda.sormas.api.ReferenceDto; | ||
|
||
@Remote | ||
public interface UserFacade { | ||
|
||
public abstract List<ReferenceDto> getAllAsReference(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 34 additions & 20 deletions
54
sormas-backend/src/main/java/de/symeda/sormas/backend/caze/CaseFacadeEjb.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.