|
Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference 11g Release 1 (11.1) E17350-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICommandFacade
Entry point into the command interface. Allows for interaction with the command layer, including command retrieval, registration, and execution. Commands are referenced by name, where a name can be any string. A name consisting of the dot character (".") will be treated in a hierarchy, where the first segment is the top-level category, and the next segment is the second-level category, etc. Commands can either be retrieved by their full command name or by browsing all available commands.
| Method Summary | |
|---|---|
java.lang.Object |
executeCommand(ICommand command)Execute the command. |
java.util.Collection |
getCategories(java.lang.String category)Get a list of the sub-categories under the given category. |
ICommand |
getCommand(java.lang.String commandUri)Locate an ICommand object by name |
ICommandAPI |
getCommandAPI(java.lang.String category)Retrieve the ICommandAPI associated with the commands at a given category. |
ICommandDescriptor |
getCommandDescriptor(java.lang.String commandUri)Locate the ICommandDescriptor object for a given command. |
java.util.Collection |
getCommands(java.lang.String category)Get a list of all the commands under a given category that have the supplied API type |
boolean |
isLocalInvocation() |
java.util.Collection |
listCommands()List all of the available command names |
java.util.Map |
searchCommandDescriptors(java.lang.String category, java.util.Map queries, boolean isAndQuery)Search for commands descriptors matching the given query string |
| Method Detail |
|---|
ICommand getCommand(java.lang.String commandUri)
throws CommandNotFoundException,
CommandCreateException,
CommandException
ICommand object by namecommandUri - the URI to the commandICommand object associated with this nameCommandNotFoundException - if there was an error locating the command objectCommandCreateException - if there was an error creating/instatiating the command objectCommandExceptionICommandAPI getCommandAPI(java.lang.String category)
ICommandAPI associated with the commands at a given category.category - the command API category.
java.lang.Object executeCommand(ICommand command)
throws CommandException
command - the populated command beanCommandExceptionjava.rmi.RemoteException - if a network error occurs
ICommandDescriptor getCommandDescriptor(java.lang.String commandUri)
throws CommandNotFoundException,
CommandException
ICommandDescriptor object for a given command.commandUri - the uri of the commandCommandNotFoundExceptionCommandException
java.util.Collection getCommands(java.lang.String category)
throws CommandException
category - the categoryICommand objects under the given categoryCommandException
java.util.Collection getCategories(java.lang.String category)
throws CommandException
category - the parent category, or null for the root categoryCommandException
java.util.Collection listCommands()
throws CommandException
CommandExceptionboolean isLocalInvocation()
java.util.Map searchCommandDescriptors(java.lang.String category,
java.util.Map queries,
boolean isAndQuery)
throws CommandException
category - the name of the category to search in, or null for all categoriesqueries - a map of queries, matching attribute name to attribute valueisAndQuery - true to match all criteria, false to match just oneString command name to ICommandDescriptor object matching the queryCommandException
|
Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference 11g Release 1 (11.1) E17350-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||