| Package | Description | 
|---|---|
| com.contentful.java.cma.model | 
| Modifier and Type | Method and Description | 
|---|---|
| CMAPolicy | CMAPolicy. allow()This policy describes action _allowed_ by the assigned role. | 
| CMAPolicy | CMAPolicy. archive()Add archiving to the allowed actions. | 
| CMAPolicy | CMAPolicy. create()Add creating to the allowed actions. | 
| CMAPolicy | CMAPolicy. delete()Add deleting to the allowed actions. | 
| CMAPolicy | CMAPolicy. deny()This policy should describe actions which are _denied_ by the assigned role. | 
| CMAPolicy | CMAPolicy. publish()Add publishing to the allowed actions. | 
| CMAPolicy | CMAPolicy. read()Add reading to the allowed actions. | 
| CMAPolicy | CMAPolicy. setActions(java.util.List<java.lang.String> actions)Replace the current actions with new ones. | 
| CMAPolicy | CMAPolicy. setConstraint(CMAConstraint constraint)Set the constraint to be used. | 
| CMAPolicy | CMAPolicy. setEffect(java.lang.String effect)Set a general effect of this policy. | 
| CMAPolicy | CMAPolicy. unarchive()Add unarchiving to the allowed actions. | 
| CMAPolicy | CMAPolicy. unpublish()Add unpublishing to the allowed actions. | 
| CMAPolicy | CMAPolicy. update()Add updating to the allowed actions. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<CMAPolicy> | CMARole. getPolicies() | 
| Modifier and Type | Method and Description | 
|---|---|
| CMARole | CMARole. addPolicy(CMAPolicy policy)Add a new policy to the existing ones, creating a new list if needed. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CMARole. setPolicies(java.util.List<CMAPolicy> policies)Update the complete list of policies. | 
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.