public class MyCommand extends Object implements com.google.gwt.user.client.Command
Modifier and Type | Field and Description |
---|---|
protected String |
collectionId
collectionId
|
CollectionServiceAsync |
collectionService
Create the client proxy.
|
protected static int |
counter
counter
|
protected String |
metadataCollectionId
metadataCollectionId
|
protected String |
objectId
objectId
|
protected String |
title
title
|
Constructor and Description |
---|
MyCommand(Controller controller,
ActionType selectedOption,
String OID,
String colId,
String metadataCollectionId,
String title,
String username) |
Modifier and Type | Method and Description |
---|---|
static String |
anchor(String txt,
int j) |
void |
execute()
(non-Javadoc)
|
static void |
goToAnnotations(HashMap<String,String> links)
Redirects the page to Annotation porltet page.
|
void |
goToContentViewer(HashMap<String,String> links) |
static void |
goToMetadata(ActionType selectedOption)
Redirects the page to Metadata porltet page.
|
static void |
goToOntology(HashMap<String,String> links)
Redirects the page to Annotation porltet page.
|
static String |
portalURL() |
protected String objectId
protected String collectionId
protected String metadataCollectionId
protected String title
protected static int counter
public CollectionServiceAsync collectionService
public MyCommand(Controller controller, ActionType selectedOption, String OID, String colId, String metadataCollectionId, String title, String username)
selectedOption
- OID
- colId
- metadataCollectionId
- title
- username
- public static void goToAnnotations(HashMap<String,String> links)
public static void goToOntology(HashMap<String,String> links)
public static void goToMetadata(ActionType selectedOption)
public static String portalURL()
public static String anchor(String txt, int j)
txt
- the text the should exist in the <a></a> statementj
- jpublic void execute()
execute
in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
execute
in interface com.google.gwt.user.client.Command
Command.execute()
Copyright © 2014. All Rights Reserved.