nyla.solutions.global.patterns.command.commas.CommandFactsDAO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.patterns.command.commas;
import java.util.Set;
/**
* DAO for Command facts
* @author Gregory Green
*
*/
public interface CommandFactsDAO
{
/**
*
* @param key the command's key
* @return the located Command
*/
public CommandFacts findFactsByKey(String key);
/**
*
* @param key the command key
* @param facts the command facts
* @return the command facts
*/
public CommandFacts saveByKey(String key, CommandFacts facts);
/**
*
* @return collection of all facts
*/
public Set selectFactKeys();
}