Package io.jans.configapi.service.auth
Class AgamaFlowService
- java.lang.Object
-
- io.jans.configapi.service.auth.AgamaFlowService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped public class AgamaFlowService extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
AGAMA_FLOWS_BASE
-
Constructor Summary
Constructors Constructor Description AgamaFlowService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAgamaFlow(io.jans.agama.model.Flow flow)
io.jans.configapi.model.configuration.AgamaConfiguration
getAgamaConfiguration()
String
getAgamaFlowDn(String flowName)
List<io.jans.agama.model.Flow>
getAllAgamaFlows(int sizeLimit)
List<io.jans.agama.model.Flow>
getAllFlows()
io.jans.agama.model.Flow
getFlowByDn(String dn)
io.jans.agama.model.Flow
getFlowByName(String flowName)
void
removeAgamaFlow(String flowName)
List<io.jans.agama.model.Flow>
searchAgamaFlows(String pattern, int sizeLimit)
List<io.jans.agama.model.Flow>
searchAgamaFlows(String pattern, int sizeLimit, boolean enabled)
io.jans.orm.model.PagedResult<io.jans.agama.model.Flow>
searchFlows(io.jans.model.SearchRequest searchRequest)
void
updateFlow(io.jans.agama.model.Flow flow)
String
validateFlowFields(io.jans.agama.model.Flow flow, boolean checkNonMandatoryFields)
String
validateFlowFields(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes, boolean checkNonMandatoryFields)
String
validateNonMandatoryFields(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes)
-
-
-
Field Detail
-
AGAMA_FLOWS_BASE
public static final String AGAMA_FLOWS_BASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
searchAgamaFlows
public List<io.jans.agama.model.Flow> searchAgamaFlows(String pattern, int sizeLimit)
-
searchAgamaFlows
public List<io.jans.agama.model.Flow> searchAgamaFlows(String pattern, int sizeLimit, boolean enabled)
-
searchFlows
public io.jans.orm.model.PagedResult<io.jans.agama.model.Flow> searchFlows(io.jans.model.SearchRequest searchRequest)
-
getAllAgamaFlows
public List<io.jans.agama.model.Flow> getAllAgamaFlows(int sizeLimit)
-
getAllFlows
public List<io.jans.agama.model.Flow> getAllFlows()
-
getFlowByName
public io.jans.agama.model.Flow getFlowByName(String flowName)
-
getFlowByDn
public io.jans.agama.model.Flow getFlowByDn(String dn)
-
addAgamaFlow
public void addAgamaFlow(io.jans.agama.model.Flow flow)
-
updateFlow
public void updateFlow(io.jans.agama.model.Flow flow)
-
removeAgamaFlow
public void removeAgamaFlow(String flowName)
-
getAgamaConfiguration
public io.jans.configapi.model.configuration.AgamaConfiguration getAgamaConfiguration()
-
validateFlowFields
public String validateFlowFields(io.jans.agama.model.Flow flow, boolean checkNonMandatoryFields) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
-
validateFlowFields
public String validateFlowFields(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes, boolean checkNonMandatoryFields) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
-
-