Class ClassPathWithAnnoAndPermissionSource
java.lang.Object
com.levigo.jadice.web.shared.model.Source
com.levigo.jadice.web.shared.PasswordContainingSource
com.levigo.jadice.web.demo.common.shared.service.sources.ClassPathWithAnnoAndPermissionSource
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddenyAll()Deny everything.voidDeny adding annotations on the whole document.voidDeny changing annotations on the whole document.voidDeny removing annotations on the whole document.voidvoidvoidvoidDeny reordering pages on the whole document.List<Permission<? super Document>> List<Permission<? super Annotation>> voidgrantAll()Allow everything.voidsetResource(String resource) toString()Methods inherited from class com.levigo.jadice.web.shared.PasswordContainingSource
getPassword, setPassword
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ClassPathWithAnnoAndPermissionSource
public ClassPathWithAnnoAndPermissionSource() -
ClassPathWithAnnoAndPermissionSource
-
-
Method Details
-
getResource
-
setResource
-
toString
-
denyReorderPages
public void denyReorderPages()Deny reordering pages on the whole document. -
denyAnnotationRemove
public void denyAnnotationRemove()Deny removing annotations on the whole document. -
denyAnnotationChange
public void denyAnnotationChange()Deny changing annotations on the whole document. -
denyAnnotationAdd
public void denyAnnotationAdd()Deny adding annotations on the whole document. -
denyAll
public void denyAll()Deny everything. -
grantAll
public void grantAll()Allow everything. -
getDocumentPermissionList
-
getIndividualAnnotationPermissionList
-
denyIndividualAnnotationChange
public void denyIndividualAnnotationChange() -
denyIndividualAnnotationRemove
public void denyIndividualAnnotationRemove() -
denyIndividualAnnotationShow
public void denyIndividualAnnotationShow() -
getIdentifier
-