public class TrainingCourseObj
extends org.gcube.portal.trainingmodule.shared.TrainingCourseDTO
| Constructor and Description |
|---|
TrainingCourseObj()
Instantiates a new training course obj.
|
TrainingCourseObj(long internalId,
String title,
String description,
String commitment,
String languages,
String scope,
String ownerLogin,
String workspaceFolderId,
String workspaceFolderName,
String createdBy,
boolean courseActive,
List<String> sharedWith)
Instantiates a new training course obj.
|
| Modifier and Type | Method and Description |
|---|---|
List<TrainingContact> |
getGroupSharedWith()
Gets the group shared with.
|
List<TrainingContact> |
getUserSharedWith()
Gets the user shared with.
|
void |
setGroupSharedWith(List<TrainingContact> groupSharedWith) |
void |
setUserSharedWith(List<TrainingContact> userSharedWith)
Sets the user shared with.
|
String |
toString() |
getCommitment, getCreatedBy, getDescription, getInternalId, getLanguages, getOwnerLogin, getScope, getSharedWith, getTitle, getWorkspaceFolderId, getWorkspaceFolderName, isCourseActive, setCommitment, setCourseActive, setCreatedBy, setDescription, setInternalId, setLanguages, setOwnerLogin, setScope, setSharedWith, setTitle, setWorkspaceFolderId, setWorkspaceFolderNamepublic TrainingCourseObj()
public TrainingCourseObj(long internalId,
String title,
String description,
String commitment,
String languages,
String scope,
String ownerLogin,
String workspaceFolderId,
String workspaceFolderName,
String createdBy,
boolean courseActive,
List<String> sharedWith)
internalId - the internal idtitle - the titledescription - the descriptioncommitment - the commitmentlanguages - the languagesscope - the scopeownerLogin - the owner loginworkspaceFolderId - the workspace folder idworkspaceFolderName - the workspace folder namecreatedBy - the created bycourseActive - the course activesharedWith - the shared withpublic List<TrainingContact> getUserSharedWith()
public List<TrainingContact> getGroupSharedWith()
public void setUserSharedWith(List<TrainingContact> userSharedWith)
userSharedWith - the new user shared withpublic void setGroupSharedWith(List<TrainingContact> groupSharedWith)
public String toString()
toString in class org.gcube.portal.trainingmodule.shared.TrainingCourseDTOCopyright © 2018. All Rights Reserved.