01: package org.theospi.portfolio.presentation.model.impl;
02:
03: import org.sakaiproject.site.api.Site;
04: import org.sakaiproject.user.api.UserNotDefinedException;
05: import org.theospi.portfolio.presentation.model.Presentation;
06: import org.theospi.portfolio.shared.model.SortableListObject;
07:
08: /**
09: * Created by IntelliJ IDEA.
10: * User: bbiltimier
11: * Date: Mar 7, 2006
12: * Time: 2:13:20 PM
13: * To change this template use File | Settings | File Templates.
14: */
15: public class DecoratedPresentation extends SortableListObject {
16:
17: private Presentation presentation;
18:
19: public DecoratedPresentation(Presentation pres, Site site)
20: throws UserNotDefinedException {
21: super (pres.getId().getValue(), pres.getName(), pres
22: .getDescription(), pres.getOwner(), site, pres
23: .getPresentationType(), pres.getModified());
24:
25: this .presentation = pres;
26: }
27:
28: /**
29: * @return the presentation
30: */
31: public Presentation getPresentation() {
32: return presentation;
33: }
34:
35: /**
36: * @param presentation the presentation to set
37: */
38: public void setPresentation(Presentation presentation) {
39: this.presentation = presentation;
40: }
41:
42: }
|