public class SimplePAPStatusDataHandler extends Object implements PAPStatusDataHandler
Constructor and Description |
---|
SimplePAPStatusDataHandler() |
Modifier and Type | Method and Description |
---|---|
StatusHolder[] |
getStatusData(String about,
String key,
String type,
String searchString) |
void |
handle(String about,
StatusHolder statusHolder) |
void |
handle(String about,
String key,
List<StatusHolder> statusHolder)
Handles
|
void |
init(Properties properties)
init entitlement status data handler module
|
public void init(Properties properties)
PAPStatusDataHandler
init
in interface PAPStatusDataHandler
properties
- propertiespublic void handle(String about, String key, List<StatusHolder> statusHolder) throws EntitlementException
PAPStatusDataHandler
handle
in interface PAPStatusDataHandler
about
- indicates what is related with this admin status actionkey
- key value of the statusstatusHolder
- StatusHolder
EntitlementException
- throws, if fails to handlepublic void handle(String about, StatusHolder statusHolder) throws EntitlementException
handle
in interface PAPStatusDataHandler
about
- indicates what is related with this admin status actionstatusHolder
- StatusHolder
EntitlementException
- if fails to handlepublic StatusHolder[] getStatusData(String about, String key, String type, String searchString) throws EntitlementException
getStatusData
in interface PAPStatusDataHandler
about
- indicates what is related with this admin status actionkey
- key value of the statustype
- admin action typesearchString
- search string for StatusHolder
StatusHolder
EntitlementException
Copyright © 2016 WSO2. All rights reserved.