com.sas.swing.models.remotefileselector2.informationservices
Class InformationServicesNavigationModel

com.sas.swing.models.remotefileselector2.informationservices.InformationServicesNavigationModel
All Implemented Interfaces:
com.sas.swing.models.remotefileselector2.AddFolderInterface, BaseRemoteFileModelInterface, com.sas.swing.models.remotefileselector2.DeleteFileInterface, com.sas.swing.models.remotefileselector2.informationservices.IncludeSystemFoldersInterface, com.sas.swing.models.remotefileselector2.LocaleDataInterface, com.sas.swing.models.remotefileselector2.MutableFileFilterInterface, com.sas.swing.models.remotefileselector2.PasteFileInterface, com.sas.swing.models.remotefileselector2.RemoteFileModel2Interface, com.sas.swing.models.remotefileselector2.RemoteFileModelDirectoriesOnlyInterface, RemoteFileNavigationModelInterface, com.sas.swing.models.remotefileselector2.RenameFileInterface, java.io.Serializable, javax.swing.table.TableModel

public class InformationServicesNavigationModel
implements com.sas.swing.models.remotefileselector2.RemoteFileModel2Interface, com.sas.swing.models.remotefileselector2.AddFolderInterface, com.sas.swing.models.remotefileselector2.DeleteFileInterface, com.sas.swing.models.remotefileselector2.RenameFileInterface, com.sas.swing.models.remotefileselector2.PasteFileInterface

InformationServicesNavigationModel is the model used for navigating an InformationServices data source defined by a RepositoryInterface or a UserContextInterface.

Since:
9.1.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.swing.models.remotefileselector2.informationservices.BaseInformationServicesModel
allowNewFoldersInRootFolder, CHOOSE_REPORT_METADATA_TEMPLATE, FOLDER_TYPE, FOLDER_TYPE_AND_SLASH, folderLocalizedType, FOLDERTYPE_FOLDER, FOLDERTYPE_MYFOLDER, FOLDERTYPE_ROOTFOLDER, FOLDERTYPE_WEBDAVFOLDER, includeSystemFolders, isPathUrl, LOAD_ROOT_FOLDER_TEMPLATE, locations, locationsCurrentPathIndex, log, MY_FOLDER, myFolderLocationUrl, myFolderName, myFolderNode, navigatingRepository, PACKAGE, RB_KEY, repository, repositoryForFilteringRootFolders, reposList, rootFolder, rootFolderInfo, rootFolderLocation, rootFolderName, rootLocations, SBIP, server, SLASH, SYSTEM_FOLDER_TYPE, typeDescriptor, userHomeFolder, userHomeFolderInfo, userHomeFolderName, webDavReposList, webDavReposNames
 
Fields inherited from class com.sas.swing.models.remotefileselector2.BaseRemoteFileServerModel
currentPath, directoriesOnly, filterValues, infoList, modelNeedsRefresh, readingFromCache, rootLocation, showDirectoriesOnly, spcs, tableEditable
 
Fields inherited from interface com.sas.swing.models.remotefileselector2.BaseRemoteFileModelInterface
AUTHOR_COLUMN, CREATED_DATE_COLUMN, DESCRIPTION_COLUMN, ENGINE_COLUMN, ENTITY_KEY_COLUMN, FILE_METADATA_COLUMN, IS_A_FOLDER_COLUMN, KEYWORDS_COLUMN, MODIFIED_DATE_COLUMN, NAME_COLUMN, PATH_COLUMN, SIZE_COLUMN, SPECIAL_TYPE_COLUMN, TYPE_COLUMN
 
Constructor Summary
InformationServicesNavigationModel(com.sas.services.information.RepositoryInterface repository)
          Deprecated. Use the ServerInterface.
InformationServicesNavigationModel(com.sas.services.user.UserContextInterface user)
          Deprecated. use the ServerInterface constructor
 
Method Summary
protected  java.lang.Object getCurrentObject(java.lang.String path)
          Returns the object associated with the fully qualified path provided.
 java.util.List getFolderInterfaceFiles(com.sas.services.information.metadata.FolderInterface startFolder)
          Deprecated. use getFolderItems method
 void loadFileInfo()
          Method initiates the gathering of the file information based on the currently set path location and other parameters.
 
Methods inherited from class com.sas.swing.models.remotefileselector2.informationservices.BaseInformationServicesModel
combinePathAndFileName, createMetadataItems, createMetadataPackageItems, createRepositoryNodeMetadataItems, filterData, filterPackageData, getColumnCount, getColumnIndex, getCurrentFolder, getCurrentRepository, getDirectoryPath, getLocale, getRepository, getRepositoryList, getRepositoryRootLocation, getServerName, getUserContext, getValueAt, initialize, isUpwardPathRestricted, isValidURL, parseIntoFoldersAndLocations, setLocale, setRepository, setUserContext, splitPathAndFileName, updateLocations
 
Methods inherited from class com.sas.swing.models.remotefileselector2.BaseRemoteFileServerModel
addToPasteBuffer, cancelLoadFileInfo, clearPasteBuffer, getBasePath, getLocation, getNodeAt, getPasteBuffer, getPasteBufferCommandType, getRowCount, isRefreshNeeded, isTableEditable, setPasteBufferCommandType, setRefreshNeeded, setTableEditable
 
Methods inherited from interface com.sas.swing.models.remotefileselector2.BaseRemoteFileModelInterface
addToPasteBuffer, cancelLoadFileInfo, clearPasteBuffer, getBasePath, getColumnIndex, getLocation, getNodeAt, getPasteBuffer, getPasteBufferCommandType, getServerName, isRefreshNeeded, isTableEditable, isUpwardPathRestricted, parseIntoFoldersAndLocations, setLocation, setPasteBufferCommandType, setRefreshNeeded, setTableEditable
 

Constructor Detail

InformationServicesNavigationModel

public InformationServicesNavigationModel(com.sas.services.information.RepositoryInterface repository)
Deprecated. Use the ServerInterface.

Constructor used when a repository is being used to provide the connection to the data.

Parameters:
repository - the repository

InformationServicesNavigationModel

public InformationServicesNavigationModel(com.sas.services.user.UserContextInterface user)
Deprecated. use the ServerInterface constructor

Allows specification of a UserContext to communicate with the file system. The UserContext is used to get all repositories the user is connected to.

Parameters:
user - the UserContext class
Method Detail

loadFileInfo

public void loadFileInfo()
Method initiates the gathering of the file information based on the currently set path location and other parameters.

Specified by:
loadFileInfo in interface RemoteFileNavigationModelInterface

getCurrentObject

protected java.lang.Object getCurrentObject(java.lang.String path)
Returns the object associated with the fully qualified path provided.

Parameters:
location -

getFolderInterfaceFiles

public java.util.List getFolderInterfaceFiles(com.sas.services.information.metadata.FolderInterface startFolder)
Deprecated. use getFolderItems method

A convenience method that allows access to a list of items for a given folder.

Parameters:
startFolder - the folder that provides the items
Returns:
a list of InformationServicesFileMetadata items representing the items of the folder



Copyright © 2009 SAS Institute Inc. All Rights Reserved.