-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lam, Doris T (393A)
authored and
Lam, Doris T (393A)
committed
Dec 10, 2018
1 parent
b5d9162
commit 0190108
Showing
13 changed files
with
93 additions
and
57 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
13 changes: 11 additions & 2 deletions
13
crud/src/main/java/org/openmbee/sdvc/crud/controllers/elements/ElementJson.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 |
---|---|---|
@@ -1,9 +1,18 @@ | ||
package org.openmbee.sdvc.crud.controllers.elements; | ||
|
||
import java.util.List; | ||
import org.openmbee.sdvc.crud.controllers.BaseJson; | ||
import org.openmbee.sdvc.crud.domains.Node; | ||
import org.openmbee.sdvc.crud.domains.NodeType; | ||
|
||
public class ElementJson extends BaseJson { | ||
|
||
public static final String INREFIDS = "_inRefIds"; | ||
|
||
public List<String> getInRefIds() { | ||
return (List<String>) this.get(INREFIDS); | ||
} | ||
|
||
public ElementJson setInRefIds(List<String> inRefIds) { | ||
this.put(INREFIDS, inRefIds); | ||
return this; | ||
} | ||
} |
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
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
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
5 changes: 3 additions & 2 deletions
5
crud/src/main/java/org/openmbee/sdvc/crud/services/ProjectService.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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package org.openmbee.sdvc.crud.services; | ||
|
||
import org.openmbee.sdvc.crud.controllers.projects.ProjectJson; | ||
import org.openmbee.sdvc.crud.controllers.projects.ProjectsRequest; | ||
import org.openmbee.sdvc.crud.controllers.projects.ProjectsResponse; | ||
|
||
public interface ProjectService { | ||
|
||
public ProjectsResponse get(String projectId); | ||
ProjectsResponse get(String projectId); | ||
|
||
public ProjectsResponse post(ProjectsRequest projectsPost); | ||
ProjectJson post(ProjectJson projectsPost); | ||
} |
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