View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.tuigwaa.view.wiki;
17  
18  import java.util.Properties;
19  
20  /***
21   * @deprecated
22   */
23  public class PageInfo {
24  
25  
26  	private String pageName;
27  
28  	private String fileName;
29  
30  	private boolean collectionFlag;
31  
32  	private Properties properties = new Properties();
33  
34  	private String creationDate;
35  
36  	private String creationUser;
37  
38  	private String modificationDate;
39  
40  	private String modificationUser;
41  
42  	private String contentType;
43  
44  	public String getFileName() {
45  		return fileName;
46  	}
47  
48  	public boolean isCollectionFlag() {
49  		return collectionFlag;
50  	}
51  
52  	public void setCollectionFlag(boolean collectionFlag) {
53  		this.collectionFlag = collectionFlag;
54  	}
55  
56  	public void setFileName(String fileName) {
57  		this.fileName = fileName;
58  	}
59  
60  	public String getPageName() {
61  		return pageName;
62  	}
63  
64  	public void setPageName(String pageName) {
65  		this.pageName = pageName;
66  	}
67  
68  	public Properties getPropertyMap() {
69  		return properties;
70  	}
71  
72  	public void setProperties(Properties props) {
73  		this.properties = props;
74  	}
75  
76  	public void putProperty(String key, String value) {
77  		properties.put(key, value);
78  	}
79  
80  	public String getCreationDate() {
81  		return creationDate;
82  	}
83  
84  	public void setCreationDate(String creationDate) {
85  		this.creationDate = creationDate;
86  	}
87  
88  	public String getCreationUser() {
89  		return creationUser;
90  	}
91  
92  	public void setCreationUser(String creationUser) {
93  		this.creationUser = creationUser;
94  	}
95  
96  	public String getModificationDate() {
97  		return modificationDate;
98  	}
99  
100 	public void setModificationDate(String modificationDate) {
101 		this.modificationDate = modificationDate;
102 	}
103 
104 	public String getModificationUser() {
105 		return modificationUser;
106 	}
107 
108 	public void setModificationUser(String modificationUser) {
109 		this.modificationUser = modificationUser;
110 	}
111 
112 	public String getContentType() {
113 		return contentType;
114 	}
115 
116 	public void setContentType(String contentType) {
117 		this.contentType = contentType;
118 	}
119 
120 }