permissioncollection-ag凯发旗舰厅
com.spire.doc.collections
class permissioncollection
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.collections.collectionex
com.spire.doc.collections.permissioncollection
- all implemented interfaces:
- java.lang.iterable
public class permissioncollection
- extends collectionex
a collection of permission
objects that
represent the permission in the document.
get
public permission get(java.lang.string id)
- gets the
permission
with the specified id.
- parameters:
id
- the id
- returns:
- the permission
get
public permission get(int index)
- gets the
permission
at the specified index.
- parameters:
index
- the index
- returns:
- the permission
findbyid
public permission findbyid(java.lang.string id)
- finds
permission
object by specified id
- parameters:
id
- the permission id
- returns:
- the permission
removeat
public void removeat(int index)
- removes a permission at the specified index.
- parameters:
index
- the index
remove
public void remove(permission permission)
- removes the specified permission.
- parameters:
permission
- the permission
clear
public void clear()
- removes all permissions from the document.
- overrides:
clear
in class collectionex