it.geosolutions.geobatch.ftpserver.model
Class FtpProps

java.lang.Object
  extended by it.geosolutions.geobatch.ftpserver.model.FtpProps
All Implemented Interfaces:
java.io.Serializable

public class FtpProps
extends java.lang.Object
implements java.io.Serializable

Author:
giuseppe
See Also:
Serialized Form

Constructor Summary
FtpProps()
           
FtpProps(java.lang.Long id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getDownloadRate()
           
 java.lang.Long getId()
           
 int getMaxIdleTime()
           
 int getMaxLoginNumber()
           
 int getMaxLoginPerIp()
           
 int getUploadRate()
           
 int hashCode()
           
 boolean isWritePermission()
           
 void setDownloadRate(int downloadRate)
           
 void setId(java.lang.Long id)
           
 void setMaxIdleTime(int idleTime)
           
 void setMaxLoginNumber(int maxLoginNumber)
           
 void setMaxLoginPerIp(int maxLoginPerIp)
           
 void setUploadRate(int uploadRate)
           
 void setWritePermission(boolean writePermission)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpProps

public FtpProps()

FtpProps

public FtpProps(java.lang.Long id)
Method Detail

getId

public java.lang.Long getId()
Returns:
the id

setId

public void setId(java.lang.Long id)
Parameters:
id - the id to set

isWritePermission

public boolean isWritePermission()
Returns:
true if the user has write permissions

setWritePermission

public void setWritePermission(boolean writePermission)

getMaxIdleTime

public int getMaxIdleTime()
Returns:
the idleTime in seconds. 0 means idletime is not considered

setMaxIdleTime

public void setMaxIdleTime(int idleTime)
Parameters:
idleTime - the idleTime to set

getUploadRate

public int getUploadRate()
Returns:
the uploadRate

setUploadRate

public void setUploadRate(int uploadRate)
Parameters:
uploadRate - the uploadRate to set

getDownloadRate

public int getDownloadRate()
Returns:
the downloadRate

setDownloadRate

public void setDownloadRate(int downloadRate)
Parameters:
downloadRate - the downloadRate to set

getMaxLoginNumber

public int getMaxLoginNumber()
Returns:
the maxLoginNumber the user can perform at the same time
See Also:
ConnectionConfigFactory.getMaxLogins()

setMaxLoginNumber

public void setMaxLoginNumber(int maxLoginNumber)
Parameters:
maxLoginNumber - the maxLoginNumber to set

getMaxLoginPerIp

public int getMaxLoginPerIp()
Returns:
the maxLoginPerIp

setMaxLoginPerIp

public void setMaxLoginPerIp(int maxLoginPerIp)
Parameters:
maxLoginPerIp - the maxLoginPerIp to set

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.