|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.collections.CollectionEx
com.spire.doc.collections.PermissionCollection
public class PermissionCollection
A collection of Permission
objects that
represent the permission in the document.
Method Summary | |
---|---|
void |
clear()
Removes all permissions from the document. |
Permission |
findById(java.lang.String id)
Finds Permission object by specified id |
Permission |
get(int index)
Gets the Permission at the specified index. |
Permission |
get(java.lang.String id)
Gets the Permission with the specified id. |
void |
remove(Permission permission)
Removes the specified permission. |
void |
removeAt(int index)
Removes a permission at the specified index. |
Methods inherited from class com.spire.doc.collections.CollectionEx |
---|
getCount, iterator |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Method Detail |
---|
public Permission get(java.lang.String id)
Permission
with the specified id.
id
- The id
public Permission get(int index)
Permission
at the specified index.
index
- The index
public Permission findById(java.lang.String id)
Permission
object by specified id
id
- The Permission id
public void removeAt(int index)
index
- The indexpublic void remove(Permission permission)
permission
- The permissionpublic void clear()
clear
in class CollectionEx
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |