1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.secure;
17
18 public class RemoteFile {
19
20 String absolutePath;
21 Integer groupId;
22 Integer userId;
23 Integer permissions;
24 Long size;
25 boolean directory;
26 Status status = Status.DEFAULT_REMOTE_FILE_STATUS;
27
28 public RemoteFile() {
29 this(null);
30 }
31
32 public RemoteFile(String absolutePath) {
33 super();
34 this.absolutePath = absolutePath;
35 }
36
37 public String getAbsolutePath() {
38 return absolutePath;
39 }
40
41 public void setAbsolutePath(String absolutePath) {
42 this.absolutePath = absolutePath;
43 }
44
45 public Integer getGroupId() {
46 return groupId;
47 }
48
49 public void setGroupId(Integer groupId) {
50 this.groupId = groupId;
51 }
52
53 public Integer getUserId() {
54 return userId;
55 }
56
57 public void setUserId(Integer userId) {
58 this.userId = userId;
59 }
60
61 public Integer getPermissions() {
62 return permissions;
63 }
64
65 public void setPermissions(Integer permissions) {
66 this.permissions = permissions;
67 }
68
69 public Long getSize() {
70 return size;
71 }
72
73 public void setSize(Long size) {
74 this.size = size;
75 }
76
77 public boolean isDirectory() {
78 return directory;
79 }
80
81 public void setDirectory(boolean directory) {
82 this.directory = directory;
83 }
84
85 public Status getStatus() {
86 return status;
87 }
88
89 public void setStatus(Status status) {
90 this.status = status;
91 }
92
93 }