public class Group extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
String |
adminIds
Comma-delimited list of user IDs who are group administrators (separated by commas)
|
String |
allowedIps
A list of allowed IPs if applicable.
|
Boolean |
davPermission
If true, users in this group can use WebDAV to login.
|
Boolean |
ftpPermission
If true, users in this group can use FTP to login.
|
Long |
id
Group ID
|
String |
name
Group name
|
String |
notes
Notes about this group
|
Boolean |
restapiPermission
If true, users in this group can use the REST API to login.
|
Boolean |
sftpPermission
If true, users in this group can use SFTP to login.
|
String |
userIds
Comma-delimited list of user IDs who belong to this group (separated by commas)
|
String |
usernames
Comma-delimited list of usernames who belong to this group (separated by commas)
|
| Constructor and Description |
|---|
Group() |
Group(HashMap<String,Object> parameters) |
Group(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<Group> |
all() |
static ListIterator<Group> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Group |
create(HashMap<String,Object> parameters)
Parameters:
notes - string - Group notes.
|
static Group |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Group |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Group |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Group ID.
|
static Group |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Group |
get() |
static Group |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Group> |
list()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<Group> |
list(HashMap<String,Object> parameters) |
static ListIterator<Group> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
Group |
update()
Parameters:
notes - string - Group notes.
|
static Group |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Group |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
notes - string - Group notes.
|
static Group |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String name
public String allowedIps
public String adminIds
public String notes
public String userIds
public String usernames
public Boolean ftpPermission
public Boolean sftpPermission
public Boolean davPermission
public Boolean restapiPermission
public Group update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<Group> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Group> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Group> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Group> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Group> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Group find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group get() throws RuntimeException
RuntimeExceptionpublic static Group get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Group create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Group update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Group update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.