|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseRemoteFileModelInterface
RemoteFileServerModelInterface defines the model interface that communicates between the service model and the user interface.
Field Summary | |
---|---|
static java.lang.String |
AUTHOR_COLUMN
|
static java.lang.String |
CREATED_DATE_COLUMN
|
static java.lang.String |
DESCRIPTION_COLUMN
|
static java.lang.String |
ENGINE_COLUMN
|
static java.lang.String |
ENTITY_KEY_COLUMN
|
static java.lang.String |
FILE_METADATA_COLUMN
|
static java.lang.String |
IS_A_FOLDER_COLUMN
|
static java.lang.String |
KEYWORDS_COLUMN
|
static java.lang.String |
MODIFIED_DATE_COLUMN
|
static java.lang.String |
NAME_COLUMN
|
static java.lang.String |
PATH_COLUMN
|
static java.lang.String |
SIZE_COLUMN
|
static java.lang.String |
SPECIAL_TYPE_COLUMN
|
static java.lang.String |
TYPE_COLUMN
|
Method Summary | |
---|---|
void |
addToPasteBuffer(java.lang.Object node)
Add the given metadata node to the paste buffer. |
void |
cancelLoadFileInfo()
|
void |
clearPasteBuffer()
Clears the buffer of all metadata items. |
java.lang.String |
getBasePath()
Returns the file system path used as the base for all navigation. |
int |
getColumnIndex(java.lang.String column)
A utility method that returns a column index as defined by the column name constants defined in this interface. |
java.lang.String |
getLocation()
Returns the file system path currently being viewed. |
RemoteFileMetadataInterface |
getNodeAt(int rowIndex)
Returns a RemoteFileMetadataInterface for specified index. |
java.util.List |
getPasteBuffer()
Returns the contents of the paste buffer. |
int |
getPasteBufferCommandType()
Returns the command type. |
java.lang.String |
getServerName()
Returns the name of the file system top level. |
boolean |
isRefreshNeeded()
Returns the status of the model's refresh flag. |
boolean |
isTableEditable()
Determine if the table is editable. |
boolean |
isUpwardPathRestricted()
Returns true if the model's current path is at the topmost path of the current server, false otherwise. |
java.lang.String[][] |
parseIntoFoldersAndLocations(java.lang.String path)
A utility method that returns an array containing the individual folder elements of the path and the directory path representing the element's parent folder. |
void |
setLocation(java.lang.String path)
Sets the file system path to be viewed. |
void |
setPasteBufferCommandType(int commandType)
Sets the paste buffer command type so it know's if we are copying or cutting the items. |
void |
setRefreshNeeded(boolean needsRefresh)
Sets a dirty flag that can be queried to determine if the model needs to ask for more file information. |
void |
setTableEditable(boolean editable)
Set the table to state defined by editable. |
Field Detail |
---|
static final java.lang.String NAME_COLUMN
static final java.lang.String AUTHOR_COLUMN
static final java.lang.String MODIFIED_DATE_COLUMN
static final java.lang.String CREATED_DATE_COLUMN
static final java.lang.String KEYWORDS_COLUMN
static final java.lang.String DESCRIPTION_COLUMN
static final java.lang.String PATH_COLUMN
static final java.lang.String ENTITY_KEY_COLUMN
static final java.lang.String IS_A_FOLDER_COLUMN
static final java.lang.String SIZE_COLUMN
static final java.lang.String ENGINE_COLUMN
static final java.lang.String TYPE_COLUMN
static final java.lang.String SPECIAL_TYPE_COLUMN
static final java.lang.String FILE_METADATA_COLUMN
Method Detail |
---|
void setLocation(java.lang.String path)
path
- the file system pathgetLocation()
java.lang.String getLocation()
setLocation(String)
void cancelLoadFileInfo()
boolean isUpwardPathRestricted()
java.lang.String getBasePath()
java.lang.String getServerName()
RemoteFileMetadataInterface getNodeAt(int rowIndex)
rowIndex
- the specified table row
boolean isTableEditable()
setTableEditable(boolean)
void setTableEditable(boolean editable)
editable
- the editable statusisTableEditable()
java.lang.String[][] parseIntoFoldersAndLocations(java.lang.String path)
path
- the path to be parsed
int getColumnIndex(java.lang.String column)
column
- the column name constant
void setRefreshNeeded(boolean needsRefresh)
needsRefresh
- the dirty flagboolean isRefreshNeeded()
void addToPasteBuffer(java.lang.Object node)
node
- the node to be added.void clearPasteBuffer()
java.util.List getPasteBuffer()
void setPasteBufferCommandType(int commandType)
commandType
- the command type, copy = 0 and cut = 1getPasteBufferCommandType()
int getPasteBufferCommandType()
setPasteBufferCommandType(int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |