|
|||||||||
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
Method Summary | |
---|---|
void |
clear()
Removes all permissions from the document. |
Permission |
findById(java.lang.String id)
Finds |
Permission |
get(int index)
Gets the |
Permission |
get(java.lang.String id)
Gets the |
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)
id
-
public Permission get(int index)
index
-
public Permission findById(java.lang.String id)
name
- The Permission id
public void removeAt(int index)
index
- The index.public void remove(Permission permission)
permission
- The permission.public void clear()
clear
in class CollectionEx
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |