FileAdapter class
Methods
-
addPolicy(String sec, String ptype, List<String> rule)
→ void
-
addPolicy adds a policy rule to the storage.
override
-
loadPolicy(Model model)
→ void
-
Loads all policy rules from the storage.
override
-
loadPolicyData(Model model, dynamic handler(Model, String), File f)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFilteredPolicy(String sec, String ptype, int fieldIndex, List<String> fieldValues)
→ void
-
removeFilteredPolicy removes policy rules that match the filter from the storage.
override
-
removePolicy(String sec, String ptype, List<String> rule)
→ void
-
removePolicy removes a policy rule from the storage.
override
-
savePolicy(Model model)
→ void
-
Saves all policy rules to the storage.
override
-
savePolicyFile(String text)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited