QRODS
Public Member Functions | Public Attributes | List of all members
QRODSPrivate Class Reference

Public Member Functions

 QRODSPrivate (QRODS *qrods)
 QRODSPrivate::QRODSPrivate constructor. More...
 
bool connectToServer (QString path, bool secureHttp)
 QRODSPrivate::connectToServer connets to a server. More...
 
void setUser (QString &user)
 QRODSPrivate::setUser sets the user. More...
 
void setPassword (QString &password)
 QRODSPrivate::setPassword sets the password. More...
 
void setHost (QString &host)
 QRODSPrivate::setHost sets the host. More...
 
void setPort (int port)
 QRODSPrivate::setPort sets the Port. More...
 
QString & getQRODSVersion ()
 QRODSPrivate::getQRODSVersion gets QRODS version. More...
 
QString & user ()
 QRODSPrivate::user gets user. More...
 
QString & password ()
 QRODSPrivate::password returns the password. More...
 
QString & host ()
 QRODSPrivate::host returns the host. More...
 
int port ()
 QRODSPrivate::port gets the port. More...
 
void addCollection (QString &path)
 QRODSPrivate::addCollection adds a collection. More...
 
void removeCollection (QString &path)
 QRODSPrivate::removeCollection removes a collection. More...
 
void uploadFile (QString &remotePath, QString &localPath)
 QRODSPrivate::uploadFile uploads a file. More...
 
void getFile (QString &remotePath, QString &localPath)
 QRODSPrivate::getFile get a file. More...
 
QList< MetadataEntry * > * getDataObjectMetadata (QString &path)
 QRODSPrivate::getDataObjectMetadata gets the object data of a metadata. More...
 
void addCollectionMetadata (QString &path, MetadataEntry &entry)
 QRODSPrivate::addCollectionMetadata adds a collection to a metadata. More...
 
void deleteCollectionMetadata (QString &path, MetadataEntry &entry)
 QRODSPrivate::deleteCollectionMetadata. More...
 
void getCollectionDataLazy (FileListingEntry *entry) const
 QRODSPrivate::getCollectionDataLazy List the collection contents by using a load lazing approach. More...
 
void removeDataObject (QString &path, bool force)
 QRODSPrivate::removeDataObject. More...
 
void setDataPath (QString &dataObj)
 QRODSPrivate::setDataPath Sets the path of a remote object associated with the QRODS metadata model. More...
 
void getNextPage (FileListingEntry *entry) const
 QRODSPrivate::getNextPage. More...
 
QMetadataModelgetDataModel ()
 QRODSPrivate::getDataModel returns a QRODS. More...
 

Public Attributes

QMap< QString, FileListingEntry * > _collections
 
FileListingEntry_rootNode = 0
 
QScrollBar * bar = 0
 
int oldValue
 
QMap< QString, FileListingEntry * > nodes
 
QMap< QString, QModelIndex > indexes
 
QMap< FileListingEntry::EntryColumn, QString > columns
 
QList< FileListingEntry::EntryColumn > visibleColumns
 
QAbstractItemView * view = NULL
 

Constructor & Destructor Documentation

QRODSPrivate::QRODSPrivate ( QRODS qrods)

QRODSPrivate::QRODSPrivate constructor.

Constructor of QRODSPrivate.

Parameters
qrods

Member Function Documentation

void QRODSPrivate::addCollection ( QString &  path)

QRODSPrivate::addCollection adds a collection.

This method adds a collection according to the path received as parameter.

Parameters
patha string parameter that represents the path where the collection will be created.
void QRODSPrivate::addCollectionMetadata ( QString &  path,
MetadataEntry entry 
)

QRODSPrivate::addCollectionMetadata adds a collection to a metadata.

This method adds a metadata entry to a remote object specified in path.

Parameters
patha string that represents the path of the collection to be added.
maprepresents the metadata entry.
bool QRODSPrivate::connectToServer ( QString  path,
bool  secureHttp 
)

QRODSPrivate::connectToServer connets to a server.

This method connects to the server in the iRODS zone specified by parameter.

Parameters
patha string that represents the iRODS zone.
void QRODSPrivate::deleteCollectionMetadata ( QString &  path,
MetadataEntry entry 
)

QRODSPrivate::deleteCollectionMetadata.

This method deletes a metada entry from a remote object specified in path.

Parameters
path
entry
void QRODSPrivate::getCollectionDataLazy ( FileListingEntry entry) const

QRODSPrivate::getCollectionDataLazy List the collection contents by using a load lazing approach.

List the collection contents by using a load lazing approach.

Parameters
entryThe iRODS object descriptor.
QMetadataModel * QRODSPrivate::getDataModel ( )

QRODSPrivate::getDataModel returns a QRODS.

This method returns a QRODS metadata model.

Returns
a QRODS data model.
QList< MetadataEntry * > * QRODSPrivate::getDataObjectMetadata ( QString &  path)

QRODSPrivate::getDataObjectMetadata gets the object data of a metadata.

This method gets a list of metadata related to a specified remote object.

Parameters
patha string that represents the object path.
Returns
a list of object data of the metadata entry specfied as parameter.
void QRODSPrivate::getFile ( QString &  remotePath,
QString &  localPath 
)

QRODSPrivate::getFile get a file.

This method download a file located in remotePath to the localPath

Parameters
remotePatha string that represents the path on the iRODS system.
localPatha string that represents the local path.
void QRODSPrivate::getNextPage ( FileListingEntry entry) const

QRODSPrivate::getNextPage.

This method is called when a new page is requested by lazy loading collection listing approach.

Parameters
entry
QString & QRODSPrivate::getQRODSVersion ( )

QRODSPrivate::getQRODSVersion gets QRODS version.

Returns the QRODS Version.

Returns
the QRODS version.
QString & QRODSPrivate::host ( )

QRODSPrivate::host returns the host.

Returns the host.

Returns
the host.
QString & QRODSPrivate::password ( )

QRODSPrivate::password returns the password.

Returns the password.

Returns
the password.
int QRODSPrivate::port ( )

QRODSPrivate::port gets the port.

Returns the port.

Returns
the port
void QRODSPrivate::removeCollection ( QString &  path)

QRODSPrivate::removeCollection removes a collection.

This method removes the collection passed as parameter.

Parameters
patha string that represents the path of the collection to be removed.
void QRODSPrivate::removeDataObject ( QString &  path,
bool  force 
)

QRODSPrivate::removeDataObject.

This method removes a data object specified as parameter.

Parameters
patha string that represents the object to be removed.
forcea boolean to force the remove operation.
void QRODSPrivate::setDataPath ( QString &  dataObj)

QRODSPrivate::setDataPath Sets the path of a remote object associated with the QRODS metadata model.

Sets the path of a remote object associated with the QRODS metadata model.

Parameters
dataObja data object.
void QRODSPrivate::setHost ( QString &  host)

QRODSPrivate::setHost sets the host.

Sets the IRODS host.

Parameters
hosta string that represents the host.
void QRODSPrivate::setPassword ( QString &  password)

QRODSPrivate::setPassword sets the password.

Sets the IRODS password associated with the user.

Parameters
passworda string that represents the password.
void QRODSPrivate::setPort ( int  port)

QRODSPrivate::setPort sets the Port.

Sets the Port.

Parameters
portan integer that represents the port to be used for communication with iRODS system.
void QRODSPrivate::setUser ( QString &  user)

QRODSPrivate::setUser sets the user.

Sets the IRODS user.

Parameters
usera string that represents the user.
void QRODSPrivate::uploadFile ( QString &  remotePath,
QString &  localPath 
)

QRODSPrivate::uploadFile uploads a file.

This method uploads a file from the local path to the remote path specified as parameters.

Parameters
remotePatha string that represents the path on the iRODS system.
localPatha string that represents the source path.
QString & QRODSPrivate::user ( )

QRODSPrivate::user gets user.

Returns the iRODS user.

Returns
the iRODS user.

The documentation for this class was generated from the following files: