public class GeRegexRepository extends Object implements RegexRepository
| Modifier and Type | Field and Description |
|---|---|
static BcVisibility |
VISIBILITY |
VISIBILITY_STRING| Constructor and Description |
|---|
GeRegexRepository(GraphAuthorizationRepository graphAuthorizationRepository,
Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
Regex |
createRegex(String name,
String pattern,
String concept) |
void |
deleteRegex(String id) |
Regex |
findByName(String rgxName) |
Regex |
findRegexById(String regexId) |
Iterable<Regex> |
getAllRegexes() |
ClientApiRegexes |
toClientApi(Iterable<Regex> regexes) |
ClientApiRegex |
toClientApi(Regex regex) |
void |
updateRegex(String id,
String name,
String pattern,
String concept) |
public static final BcVisibility VISIBILITY
@Inject public GeRegexRepository(GraphAuthorizationRepository graphAuthorizationRepository, Graph graph)
public Iterable<Regex> getAllRegexes()
getAllRegexes in interface RegexRepositorypublic Regex findRegexById(String regexId)
findRegexById in interface RegexRepositorypublic Regex findByName(String rgxName)
findByName in interface RegexRepositorypublic Regex createRegex(String name, String pattern, String concept)
createRegex in interface RegexRepositorypublic void updateRegex(String id, String name, String pattern, String concept)
updateRegex in interface RegexRepositorypublic void deleteRegex(String id)
deleteRegex in interface RegexRepositorypublic ClientApiRegexes toClientApi(Iterable<Regex> regexes)
toClientApi in interface RegexRepositorypublic ClientApiRegex toClientApi(Regex regex)
toClientApi in interface RegexRepositoryCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.