java.lang.Object
com.genologics.ri.permission.Permissions
- All Implemented Interfaces:
Batch<PermissionLink>,Serializable,Iterable<PermissionLink>
The representation of a list of permission links.
- Since:
- 2.19
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<PermissionLink>The list of permission links.protected StringThe URI of the permissions collection. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
permissions
The list of permission links. -
uri
The URI of the permissions collection.
-
-
Constructor Details
-
Permissions
public Permissions()Default constructor. -
Permissions
Constructor with URI.- Parameters:
uri- The permissions collection URI.
-
-
Method Details
-
getPermissions
Get the list of permission links.- Returns:
- The list of permission links.
-
getList
Gets the list of items in this batch.- Specified by:
getListin interfaceBatch<PermissionLink>- Returns:
- The list of items.
-
getSize
public int getSize()Gets the number of items in this batch.- Specified by:
getSizein interfaceBatch<PermissionLink>- Returns:
- The size of the batch.
-
getUri
Get the URI.- Returns:
- The URI.
-
setUri
Set the URI.- Parameters:
uri- The URI.
-