001 package org.kuali.common.util.secure;
002
003 public class RemoteFile {
004
005 String absolutePath;
006 Integer groupId;
007 Integer userId;
008 Integer permissions;
009 Long size;
010 boolean directory;
011 Status status = Status.DEFAULT_REMOTE_FILE_STATUS;
012
013 public RemoteFile() {
014 this(null);
015 }
016
017 public RemoteFile(String absolutePath) {
018 super();
019 this.absolutePath = absolutePath;
020 }
021
022 public String getAbsolutePath() {
023 return absolutePath;
024 }
025
026 public void setAbsolutePath(String absolutePath) {
027 this.absolutePath = absolutePath;
028 }
029
030 public Integer getGroupId() {
031 return groupId;
032 }
033
034 public void setGroupId(Integer groupId) {
035 this.groupId = groupId;
036 }
037
038 public Integer getUserId() {
039 return userId;
040 }
041
042 public void setUserId(Integer userId) {
043 this.userId = userId;
044 }
045
046 public Integer getPermissions() {
047 return permissions;
048 }
049
050 public void setPermissions(Integer permissions) {
051 this.permissions = permissions;
052 }
053
054 public Long getSize() {
055 return size;
056 }
057
058 public void setSize(Long size) {
059 this.size = size;
060 }
061
062 public boolean isDirectory() {
063 return directory;
064 }
065
066 public void setDirectory(boolean directory) {
067 this.directory = directory;
068 }
069
070 public Status getStatus() {
071 return status;
072 }
073
074 public void setStatus(Status status) {
075 this.status = status;
076 }
077
078 }