forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-28008 Add attachments, descriptions & short descriptions to Forum…
…s entity broker feed git-svn-id: https://source.sakaiproject.org/svn/msgcntr/trunk@315370 66ffb92e-73f9-0310-93c1-f5514f145a0a
- Loading branch information
1 parent
9f4dc24
commit ecef198
Showing
5 changed files
with
298 additions
and
107 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
...orums-api/src/java/org/sakaiproject/api/app/messageforums/entity/DecoratedAttachment.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,83 @@ | ||
/********************************************************************************** | ||
* | ||
* Copyright (c) 2014 The Sakai Foundation | ||
* | ||
* Licensed under the Educational Community License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.opensource.org/licenses/ECL-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
**********************************************************************************/ | ||
package org.sakaiproject.api.app.messageforums.entity; | ||
|
||
/** | ||
* Class used to return information about attachments. | ||
* | ||
*/ | ||
public class DecoratedAttachment { | ||
private String id; | ||
private String name; | ||
private String type; | ||
private String url; | ||
private String ref; | ||
|
||
public DecoratedAttachment() { | ||
} | ||
|
||
public DecoratedAttachment(String id, String name, String type, String url, | ||
String ref) { | ||
this.id = id; | ||
this.name = name; | ||
this.type = type; | ||
this.url = url; | ||
this.ref = ref; | ||
} | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setRef(String ref) { | ||
this.ref = ref; | ||
} | ||
|
||
public String getRef() { | ||
return ref; | ||
} | ||
|
||
} |
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.