1 23 24 package org.infoglue.cms.entities.publishing.impl.simple; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.entities.publishing.Publication; 28 import org.infoglue.cms.entities.publishing.PublicationVO; 29 30 public class PublicationImpl implements Publication 31 { 32 33 36 37 public void setRepositoryId(Integer repositoryId) 38 { 39 this.valueObject.setRepositoryId(repositoryId); 40 } 41 42 45 46 public Integer getRepositoryId() 47 { 48 return this.valueObject.getRepositoryId(); 49 } 50 51 public Object getIdAsObject() 52 { 53 return getId(); 54 } 55 56 59 public Integer getId() 60 { 61 return getPublicationId(); 62 } 63 64 67 public BaseEntityVO getVO() 68 { 69 return (BaseEntityVO) getValueObject(); 70 } 71 72 75 public void setVO(BaseEntityVO valueObject) 76 { 77 setValueObject((PublicationVO) valueObject); 78 } 79 80 81 private PublicationVO valueObject = new PublicationVO(); 82 83 public PublicationVO getValueObject() 84 { 85 return this.valueObject; 86 } 87 88 89 public void setValueObject(PublicationVO valueObject) 90 { 91 this.valueObject = valueObject; 92 } 93 94 private java.util.Collection publicationDetails; 95 private java.util.Collection contentVersionsToPublish; 96 private java.util.Collection siteNodeVersionsToPublish; 97 98 99 public java.lang.Integer getPublicationId() 100 { 101 return this.valueObject.getPublicationId(); 102 } 103 104 public void setPublicationId(java.lang.Integer publicationId) 105 { 106 this.valueObject.setPublicationId(publicationId); 107 } 108 109 public java.lang.String getName() 110 { 111 return this.valueObject.getName(); 112 } 113 114 public void setName(java.lang.String name) 115 { 116 this.valueObject.setName(name); 117 } 118 119 public java.lang.String getDescription() 120 { 121 return this.valueObject.getDescription(); 122 } 123 124 public void setDescription(java.lang.String description) 125 { 126 this.valueObject.setDescription(description); 127 } 128 129 public java.util.Date getPublicationDateTime() 130 { 131 return this.valueObject.getPublicationDateTime(); 132 } 133 134 public void setPublicationDateTime(java.util.Date publicationDateTime) 135 { 136 this.valueObject.setPublicationDateTime(publicationDateTime); 137 } 138 139 public java.util.Collection getPublicationDetails() 140 { 141 return this.publicationDetails; 142 } 143 144 public void setPublicationDetails(java.util.Collection publicationDetails) 145 { 146 this.publicationDetails = publicationDetails; 147 } 148 149 public java.util.Collection getContentVersionsToPublish() 150 { 151 return this.contentVersionsToPublish; 152 } 153 154 public void setContentVersionsToPublish (java.util.Collection contentVersionsToPublish) 155 { 156 this.contentVersionsToPublish = contentVersionsToPublish; 157 } 158 159 public java.util.Collection getSiteNodeVersionsToPublish() 160 { 161 return this.siteNodeVersionsToPublish; 162 } 163 164 public void setSiteNodeVersionsToPublish (java.util.Collection siteNodeVersionsToPublish) 165 { 166 this.siteNodeVersionsToPublish = siteNodeVersionsToPublish; 167 } 168 169 public String getPublisher() 170 { 171 return this.valueObject.getPublisher(); 172 } 173 174 public void setPublisher (String publisher) 175 { 176 this.valueObject.setPublisher(publisher); 177 } 178 } 179 | Popular Tags |