public class Permission extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Long |
groupId
Group ID
|
String |
groupName
Group name (if applicable)
|
Long |
id
Permission ID
|
String |
path
Path.
|
String |
permission
Permission type.
|
Boolean |
recursive
Recursive: does this permission apply to subfolders?
|
Long |
userId
User ID
|
String |
username
Username (if applicable)
|
| Constructor and Description |
|---|
Permission() |
Permission(HashMap<String,Object> parameters) |
Permission(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<Permission> |
all() |
static ListIterator<Permission> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Permission |
create(HashMap<String,Object> parameters)
Parameters:
path (required) - string - Folder path
group_id - int64 - Group ID.
|
static Permission |
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 ListIterator<Permission> |
list()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<Permission> |
list(HashMap<String,Object> parameters) |
static ListIterator<Permission> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String path
public Long userId
public String username
public Long groupId
public String groupName
public String permission
public Boolean recursive
public void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<Permission> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Permission> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Permission> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Permission> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Permission> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Permission create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Permission create(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.