| 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.webharvest.protocol.ProtocolInvoker
public class ProtocolInvoker
Invokes various methods on protocol through Reflection.
| Constructor Summary | |
|---|---|
ProtocolInvoker()
 | 
|
| Method Summary | |
|---|---|
static boolean | 
getAutoApprove(Protocol protocol)
Checks if 'auto-approve' is enabled.  | 
static boolean | 
getLockTitle(Protocol protocol)
Checks if 'lock-title' is enabled.  | 
static boolean | 
getUpdateContent(Protocol protocol)
Checks if 'deep harvest' is enabled.  | 
static boolean | 
getUpdateDefinition(Protocol protocol)
Checks if 'xml generation' is enabled.  | 
static void | 
ping(Protocol protocol,
     String url)
Invokes ping on the protocol.  | 
static void | 
setAutoApprove(Protocol protocol,
               boolean autoApprove)
Enables/disables 'auto-approve'  | 
static void | 
setLockTitle(Protocol protocol,
             boolean lockTitle)
Enables/disables 'lock-title'.  | 
static void | 
setUpdateContent(Protocol protocol,
                 boolean enabled)
Enables/disables 'deep harvest'  | 
static void | 
setUpdateDefinition(Protocol protocol,
                    boolean enabled)
Enables/disables 'xml generation'  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProtocolInvoker()
| Method Detail | 
|---|
public static void ping(Protocol protocol,
                        String url)
                 throws Exception
protocol - protocolurl - resource URL
IllegalArgumentException - if invalid protocol definition
IOException - if error connection resource
Exceptionpublic static boolean getUpdateContent(Protocol protocol)
protocol - protocol
true if 'deep harvest' is enabled
public static void setUpdateContent(Protocol protocol,
                                    boolean enabled)
protocol - protocolenabled - true to enable 'deep harvest'public static boolean getUpdateDefinition(Protocol protocol)
protocol - protocol
true if 'xml generation' is enabled
public static void setUpdateDefinition(Protocol protocol,
                                       boolean enabled)
protocol - protocolenabled - true to enable 'xml generation'public static boolean getAutoApprove(Protocol protocol)
protocol - protocol
true if 'auto-approve' is enabled
public static void setAutoApprove(Protocol protocol,
                                  boolean autoApprove)
protocol - protocolautoApprove - true to enable 'auto-approve'public static boolean getLockTitle(Protocol protocol)
protocol - protocol
true if 'lock-title' is enabled
public static void setLockTitle(Protocol protocol,
                                boolean lockTitle)
protocol - protocollockTitle - true to enable 'lock-title'
  | 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||