Core
ContainerPolicy
Contains container and its items policies.
public class ContainerPolicy{
ItemPolicy item
}
Fields
Name | Type | Description |
---|---|---|
item | ItemPolicy | Policy for container's items. |
ContainerPolicyWithoutItem
Contains container's policies.
public class ContainerPolicyWithoutItem{
String delete,
String get,
String ownerCanBeRemovedFromManagers,
String update,
String updatePolicy,
String updaterCanBeRemovedFromManagers
}
Fields
Name | Type | Description |
---|---|---|
delete | String | Determines who can delete a container. |
get | String | Determines who can get a container. |
ownerCanBeRemovedFromManagers | String | Determines whether the owner can be removed from the list of managers. |
update | String | Determines who can update a container. |
updatePolicy | String | Determines who can update policy. |
updaterCanBeRemovedFromManagers | String | Determines whether the updater can be removed from the list of managers. |
Context
Contains base Context information.
public class Context{
String contextId,
String userId
}
Fields
Name | Type | Description |
---|---|---|
contextId | String | ID of the Context. |
userId | String | ID of the user requesting information. |
ItemPolicy
Contains container items policies.
public class ItemPolicy{
String create,
String delete,
String get,
String listAll,
String listMy,
String update
}
Fields
Name | Type | Description |
---|---|---|
create | String | Determines who can create an item. |
delete | String | Determines who can delete an item. |
get | String | Determines who can get an item. |
listAll | String | Determines who can list all items. |
listMy | String | Determines who can list items created by themselves. |
update | String | Determines who can update an item. |
PagingList
Contains results of listing methods.
public class PagingList<T>{
List<T> readItems,
Long totalAvailable
}
Fields
Name | Type | Description |
---|---|---|
readItems | List<T> | List of items read during single method call. |
totalAvailable | Long | Total items available to get. |
UserWithPubKey
Contains ID of user and the corresponding public key.
public class UserWithPubKey{
String pubKey,
String userId
}
Fields
Name | Type | Description |
---|---|---|
pubKey | String | User's public key. |
userId | String | ID of the user. |