1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.tuigwaa.cms.core;
17
18 import java.util.Date;
19 import java.util.Properties;
20
21 /***
22 * @author nishioka
23 */
24 public interface Resource {
25
26 public abstract String getContentType();
27
28 public abstract void setContentType(String contentType);
29
30 public abstract String getCreationDate();
31
32 public abstract void setCreationDate(String creationDate);
33
34 public abstract String getCreationUser();
35
36 public abstract void setCreationUser(String creationUser);
37
38 public abstract boolean isFolder();
39
40 public abstract void setFolder(boolean folder);
41
42 public abstract boolean isFile();
43
44 public abstract String getModificationUser();
45
46 public abstract void setModificationUser(String modificationUser);
47
48 public abstract String getModificationDate();
49
50 public abstract Date getModificationDateAsDate();
51
52 public abstract void setModificationDate(String modificationDate);
53
54 public abstract String getPath();
55
56 public abstract void setPath(String resourcePath);
57
58 public abstract String getSiteName();
59
60 public abstract void setSiteName(String siteName);
61
62 public abstract String getParentPath();
63
64 public abstract String getPageName();
65
66 public abstract boolean isPersistent();
67
68 public abstract void setPersistent(boolean persistent);
69
70 public abstract Resource getClone();
71
72 public abstract String getVersion();
73
74 public abstract void setVersion(String version);
75
76 public int getContentLength();
77
78 public void setContentLength(int contentLength);
79
80 public void setProperties(Properties properties);
81
82 public Properties getProperties();
83
84 public String getProperty(String key);
85 }