1 23 24 package org.infoglue.cms.entities.publishing; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.util.ConstraintExceptionBuffer; 28 import org.infoglue.cms.util.DateHelper; 29 30 public class PublicationDetailVO implements BaseEntityVO 31 { 32 public static final Integer UNDEFINED = new Integer (0); 33 public static final Integer PUBLISH = new Integer (1); 34 public static final Integer PUBLISH_DENIED = new Integer (2); 35 public static final Integer UNPUBLISH_LATEST = new Integer (3); 36 public static final Integer UNPUBLISH_DENIED = new Integer (4); 37 38 39 private java.lang.Integer publicationDetailId; 40 private java.lang.String name = ""; 41 private java.lang.String description = ""; 42 private java.lang.String entityClass = ""; 43 private java.lang.Integer entityId = null; 44 private java.util.Date creationDateTime = DateHelper.getSecondPreciseDate(); 45 private java.lang.Integer typeId = UNDEFINED; 46 private String creator = null; 47 48 51 52 public PublicationDetailVO() 53 { 54 } 55 56 public java.lang.Integer getPublicationDetailId() 57 { 58 return this.publicationDetailId; 59 } 60 61 public void setPublicationDetailId(java.lang.Integer publicationDetailId) 62 { 63 this.publicationDetailId = publicationDetailId; 64 } 65 66 public java.lang.String getName() 67 { 68 return this.name; 69 } 70 71 public void setName(java.lang.String name) 72 { 73 this.name = name; 74 } 75 76 public java.lang.String getDescription() 77 { 78 return this.description; 79 } 80 81 public void setDescription(java.lang.String description) 82 { 83 this.description = description; 84 } 85 86 public java.lang.String getEntityClass() 87 { 88 return this.entityClass; 89 } 90 91 public void setEntityClass(java.lang.String entityClass) 92 { 93 this.entityClass = entityClass; 94 } 95 96 public java.lang.Integer getEntityId() 97 { 98 return entityId; 99 } 100 101 public void setEntityId(java.lang.Integer entityId) 102 { 103 this.entityId = entityId; 104 } 105 106 public java.lang.Integer getTypeId() 107 { 108 return this.typeId; 109 } 110 111 public void setTypeId(java.lang.Integer typeId) 112 { 113 this.typeId = typeId; 114 } 115 116 public java.util.Date getCreationDateTime() 117 { 118 return this.creationDateTime; 119 } 120 121 public void setCreationDateTime(java.util.Date creationDateTime) 122 { 123 this.creationDateTime = creationDateTime; 124 } 125 126 public String getCreator() 127 { 128 return this.creator; 129 } 130 131 public void setCreator(String creator) 132 { 133 this.creator = creator; 134 } 135 136 137 140 public Integer getId() 141 { 142 return getPublicationDetailId(); 143 } 144 145 146 149 public ConstraintExceptionBuffer validate() 150 { 151 ConstraintExceptionBuffer ceb = new ConstraintExceptionBuffer(); 152 153 return ceb; 154 } 155 156 157 } 158 159 | Popular Tags |