X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2Fsp%2FServiceProxyCommands.java;h=c874cc17133dc35aa1a7e94abf6e8e7dd4153f99;hb=017a20f6da489d3d968025f0442213aee7252c41;hp=8c4fefac898120c9c10bab52c4deb2ef5037c1cd;hpb=d400a082759c1a58cb79713f04ab2f3d62bca97c;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java index 8c4fefa..c874cc1 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/ServiceProxyCommands.java @@ -7,6 +7,13 @@ import org.apache.log4j.Logger; import com.indexdata.mkjsf.pazpar2.state.StateManager; import com.indexdata.mkjsf.utils.Utils; +/** + * ServiceProxyCommands holds references to all commands that are + * Service Proxy-only, those that are NOT supported by straight Pazpar2, that is. + * + * @author Niels Erik + * + */ public class ServiceProxyCommands implements Serializable { public static final String AUTH = "auth"; @@ -20,10 +27,20 @@ public class ServiceProxyCommands implements Serializable { this.stateMgr = stateMgr; } + /** + * auth command - referenced from UI as pzreq.sp.auth + * + * @return auth command from current state + */ public AuthCommand getAuth() { return (AuthCommand) (stateMgr.getCommand(AUTH)); } + /** + * categories command - referenced from UI as pzreq.sp.categories + * + * @return categories command from current state + */ public CategoriesCommand getCategories() { return (CategoriesCommand) (stateMgr.getCommand(CATEGORIES)); }