Class DenormalisedPermissionsResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.denormalisedpermissions.rest.DenormalisedPermissionsResource
-
public class DenormalisedPermissionsResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DenormalisedPermissionsResource(DenormalisedPermissionStateManager denormalisedPermissionStateManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedisableService(boolean cleanDenormalisedData)Disable (turn off) denormalised permissions servicejavax.ws.rs.core.ResponseenableService()Enable (turn on) denormalised permissions servicejavax.ws.rs.core.ResponsegetState(int logLimit)
-
-
-
Constructor Detail
-
DenormalisedPermissionsResource
public DenormalisedPermissionsResource(DenormalisedPermissionStateManager denormalisedPermissionStateManager)
-
-
Method Detail
-
getState
public javax.ws.rs.core.Response getState(int logLimit)
- Returns:
- Returns denormalised permissions service state
-
enableService
public javax.ws.rs.core.Response enableService()
Enable (turn on) denormalised permissions service
-
disableService
public javax.ws.rs.core.Response disableService(boolean cleanDenormalisedData)
Disable (turn off) denormalised permissions service- Parameters:
cleanDenormalisedData- Indicates whether denormalised data should be removed from database. If value is TRUE, than all data should be deleted.
-
-