1 5 package org.exoplatform.services.portal.impl; 6 7 import org.exoplatform.services.portal.PageDescription; 8 17 public class PageDescriptionData implements PageDescription { 18 protected String id_ ; 19 protected String name_ ; 20 protected String owner_ ; 21 protected String title_ ; 22 protected String viewPermission_ ; 23 protected String editPermission_ ; 24 25 28 public String getId() { return id_ ; } 29 public void setId(String id) { id_ = id ; } 30 31 34 public String getName() { return name_ ; } 35 public void setName(String name) { name_ = name ; } 36 37 40 public String getOwner() { return owner_ ; } 41 public void setOwner(String owner) { owner_ = owner ; } 42 43 46 public String getTitle() { return title_ ; } 47 public void setTitle(String title) { title_ = title ; } 48 49 52 public String getViewPermission() { return viewPermission_ ; } 53 public void setViewPermission(String s) { viewPermission_ = s ; } 54 55 58 public String getEditPermission() { 59 if(editPermission_ == null) return "owner"; 60 return editPermission_ ; 61 } 62 public void setEditPermission(String s) { editPermission_ = s ; } 63 } 64 | Popular Tags |