Index: lams_common/src/java/org/lamsfoundation/lams/workspace/dto/FolderContentDTO.java =================================================================== diff -u -r6465a6b73b944e4d700487aa2f3d32c2498cf67b -r542f8be15d42c70ff07243e81f40975b15a36b9c --- lams_common/src/java/org/lamsfoundation/lams/workspace/dto/FolderContentDTO.java (.../FolderContentDTO.java) (revision 6465a6b73b944e4d700487aa2f3d32c2498cf67b) +++ lams_common/src/java/org/lamsfoundation/lams/workspace/dto/FolderContentDTO.java (.../FolderContentDTO.java) (revision 542f8be15d42c70ff07243e81f40975b15a36b9c) @@ -49,6 +49,7 @@ public Integer permissionCode; public Vector versionDetails; public Long licenseID; // applicable for designs only + public String licenseText; // applicable for designs only public FolderContentDTO(){ @@ -78,6 +79,7 @@ this.resourceID = design.getLearningDesignId(); this.permissionCode = permissionCode; this.licenseID = ( design.getLicense() != null ? design.getLicense().getLicenseID() : null); + this.licenseText = design.getLicenseText(); this.versionDetails = null; } public FolderContentDTO(WorkspaceFolder workspaceFolder, Integer permissionCode){ @@ -165,4 +167,12 @@ public void setLicenseID(Long licenseID) { this.licenseID = licenseID; } + + public String getLicenseText() { + return licenseText; + } + + public void setLicenseText(String licenseText) { + this.licenseText = licenseText; + } }