|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hermesftp.usermanager.model.GroupDataList
public class GroupDataList
Data of a user group.
Constructor Summary | |
---|---|
GroupDataList()
|
Method Summary | |
---|---|
void |
addGroup(GroupData data)
Adds group data. |
void |
clear()
Clears all group data from the list. |
GroupData |
getGroup(java.lang.String name)
Returns the group of a given name. |
int |
getPermission(java.lang.String path,
java.lang.String username,
java.lang.String ftproot)
The permission on a given path. |
long |
getUpperLimit(java.lang.String key)
The upper limit of the constraints named by the passed key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupDataList()
Method Detail |
---|
public void addGroup(GroupData data)
data
- group data.public void clear()
public GroupData getGroup(java.lang.String name)
name
- The group name.
public long getUpperLimit(java.lang.String key)
key
- The name of the constraint.
public int getPermission(java.lang.String path, java.lang.String username, java.lang.String ftproot) throws FtpConfigException
path
- The path to check.username
- The user that wants to access the path.ftproot
- The absolute ftp root directory.
FtpConfigException
- Error in configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |