001/** 002 * Copyright 2010-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.common.util.secure; 017 018/** 019 * @deprecated 020 */ 021@Deprecated 022public class RemoteFile { 023 024 String absolutePath; 025 Integer groupId; 026 Integer userId; 027 Integer permissions; 028 Long size; 029 boolean directory; 030 031 /** 032 * @deprecated 033 */ 034 @Deprecated 035 Status status = Status.DEFAULT_REMOTE_FILE_STATUS; 036 037 public RemoteFile() { 038 this(null); 039 } 040 041 public RemoteFile(String absolutePath) { 042 this.absolutePath = absolutePath; 043 } 044 045 public String getAbsolutePath() { 046 return absolutePath; 047 } 048 049 public void setAbsolutePath(String absolutePath) { 050 this.absolutePath = absolutePath; 051 } 052 053 public Integer getGroupId() { 054 return groupId; 055 } 056 057 public void setGroupId(Integer groupId) { 058 this.groupId = groupId; 059 } 060 061 public Integer getUserId() { 062 return userId; 063 } 064 065 public void setUserId(Integer userId) { 066 this.userId = userId; 067 } 068 069 public Integer getPermissions() { 070 return permissions; 071 } 072 073 public void setPermissions(Integer permissions) { 074 this.permissions = permissions; 075 } 076 077 public Long getSize() { 078 return size; 079 } 080 081 public void setSize(Long size) { 082 this.size = size; 083 } 084 085 public boolean isDirectory() { 086 return directory; 087 } 088 089 public void setDirectory(boolean directory) { 090 this.directory = directory; 091 } 092 093 /** 094 * @deprecated 095 */ 096 @Deprecated 097 public Status getStatus() { 098 return status; 099 } 100 101 /** 102 * @deprecated 103 */ 104 @Deprecated 105 public void setStatus(Status status) { 106 this.status = status; 107 } 108 109}