|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.hermesftp.usermanager.model.GroupData
public class GroupData
Model data of a user group including the configured limits and path permissions. Note that the order of the configured permission entries is important, since the first path match provides the permission value.
| Field Summary | |
|---|---|
static long |
UNLIMITED
Control code for unlimited. |
| Constructor Summary | |
|---|---|
GroupData()
|
|
| Method Summary | |
|---|---|
long |
getLimit(java.lang.String name)
Convenience method for returning the limit specified by the passed name. |
java.util.Map<java.lang.String,java.lang.Long> |
getLimits()
Getter method for the java bean limits. |
java.lang.String |
getName()
Getter method for the java bean name. |
int |
getPermission(java.lang.String path,
java.lang.String ftproot,
java.lang.String user)
Returns the group permission on the passed path. |
java.util.List<PermissionData> |
getPermissions()
Getter method for the java bean permissions. |
void |
setName(java.lang.String name)
Setter method for the java bean name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long UNLIMITED
| Constructor Detail |
|---|
public GroupData()
| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.Long> getLimits()
limits.
limits.public long getLimit(java.lang.String name)
name - The limit name.
public java.util.List<PermissionData> getPermissions()
permissions.
permissions.
public int getPermission(java.lang.String path,
java.lang.String ftproot,
java.lang.String user)
throws FtpConfigException
path - The path to check.ftproot - The FTP root folder.user - The user's name.
FtpConfigException - Error on reading or processing a configuration file.public java.lang.String getName()
name.
name.public void setName(java.lang.String name)
name.
name - The value of name to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||