Interface PermissionLoader
-
- All Known Implementing Classes:
GroupPermissionLoader
,UserLoader
,UserPermissionsLoader
public interface PermissionLoader
An interface for loading permissions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PermissionLoader.Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialise(PermissionLoader.Context context)
This notifies thePermissionLoader
that it is about to be loaded.void
loadPermissionsWithoutTransaction(com.caplin.permissioning.PermissioningDataSource permissioningDataSource, int runCount)
void
loadPermissionsWithTransaction(com.caplin.permissioning.PermissioningDataSource permissioningDataSource, int runCount)
-
-
-
Method Detail
-
initialise
void initialise(PermissionLoader.Context context) throws PermissionsLoaderException
This notifies the
PermissionLoader
that it is about to be loaded. This method will be called by the system once.You should use this method to perform any initialisation required before the
PermissionLoader
is loaded by the system.- Throws:
PermissionsLoaderException
- if for any reason initialisation fails.
-
loadPermissionsWithTransaction
void loadPermissionsWithTransaction(com.caplin.permissioning.PermissioningDataSource permissioningDataSource, int runCount) throws PermissionsLoaderException
- Throws:
PermissionsLoaderException
-
loadPermissionsWithoutTransaction
void loadPermissionsWithoutTransaction(com.caplin.permissioning.PermissioningDataSource permissioningDataSource, int runCount) throws PermissionsLoaderException
- Throws:
PermissionsLoaderException
-
-