|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service allows plugins to request that the query results be refreshed when they have made a change that should affect the resultset. All component plugins that make changes to data packages that should result in the "My Data" result set being updated should utilize this interface and call the refresh method after the change is completed.
Field Summary | |
static java.lang.String |
DOCID
|
static java.lang.String |
HASDATA
|
static java.lang.String |
KEYWORDS
|
static java.lang.String |
LASTMODIFIED
|
static java.lang.String |
LOCAL
|
static java.lang.String |
NET
|
static int |
OPEN_DATAPACKAGE_COMMAND
Denotes an instance of the OpenDataPackageCommand object |
static int |
SEARCH_COMMAND
Denotes an instance of the SearchCommand object |
static java.lang.String |
SURNAME
|
static java.lang.String |
TITLE
|
Method Summary | |
ColumnSortableTableModel |
doOwnerQueryForCurrentUser(java.lang.String[] headName,
java.lang.String deletedDocid)
performs a local query to get the documents owned by the user, as identified by the current profile |
Command |
getCommandObject(int commandIdentifier)
return an instance of a Command object, identified by one of the integer constants defined above |
void |
refresh()
This method is called to refresh the main query when a change is made that should be propogated to the query result screens. |
void |
updateSavedQueryMenuItems(Morpho newMorpho)
This mehod will be called when Morpho switch to another profile. |
Field Detail |
public static final java.lang.String HASDATA
public static final java.lang.String TITLE
public static final java.lang.String DOCID
public static final java.lang.String SURNAME
public static final java.lang.String KEYWORDS
public static final java.lang.String LASTMODIFIED
public static final java.lang.String LOCAL
public static final java.lang.String NET
public static final int OPEN_DATAPACKAGE_COMMAND
public static final int SEARCH_COMMAND
Method Detail |
public void refresh()
public void updateSavedQueryMenuItems(Morpho newMorpho)
newMorpho
- new Morpho object after switch profilepublic Command getCommandObject(int commandIdentifier) throws java.lang.ClassNotFoundException
commandIdentifier
- integer constant identifying the command
Options include:ommandNotFoundException
- if Command not found
java.lang.ClassNotFoundException
public ColumnSortableTableModel doOwnerQueryForCurrentUser(java.lang.String[] headName, java.lang.String deletedDocid)
headName
- the columns selecteddeletedDocid
- the docid should be delted from the vector
(@see edu.ucsb.nceas.morpho.query.ResultSet)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |