QRODS
Public Types | Public Member Functions | List of all members
FileListingEntry Class Reference
Inheritance diagram for FileListingEntry:

Public Types

enum  ObjectType {
  UNKNOWN, DATA_OBJECT, COLLECTION, UNKNOWN_FILE,
  LOCAL_FILE, LOCAL_DIR, NO_INPUT
}
 
enum  EntryColumn {
  PARENT_PATH = 0, PATH_OR_NAME = 1, SPECIAL_OBJECT_PATH = 2, OBJECT_TYPE = 3,
  CREATED_AT = 4, MODIFIED_AT = 5, DATA_SIZE = 6, OWNER_NAME = 7,
  OWNER_ZONE = 8, ID = 9, IS_COLLECTION = 10
}
 

Public Member Functions

 FileListingEntry (QObject *parent=0)
 FileListingEntry::FileListingEntry Constructor method. More...
 
QVariant getField (FileListingEntry::EntryColumn col)
 
const QString & parentPath () const
 FileListingEntry::parentPath Gets the parent path. More...
 
const QString & pathOrName () const
 FileListingEntry::pathOrName Gets the path or name. More...
 
const QString & specialObjectPath () const
 FileListingEntry::specialObjectPath Gets special object path. More...
 
ObjectType objectType () const
 FileListingEntry::objectType Gets the object type. More...
 
long long int createdAt () const
 FileListingEntry::createdAt Gets the creation date. More...
 
long long int modifiedAt () const
 FileListingEntry::modifiedAt Gets the last modification date. More...
 
long long int dataSize () const
 FileListingEntry::dataSize Gets the data size. More...
 
const QString & ownerName () const
 FileListingEntry::ownerName Gets the owner name. More...
 
const QString & ownerZone () const
 FileListingEntry::ownerZone Gets the owner zone. More...
 
int id () const
 FileListingEntry::id Gets id. More...
 
bool isCollection ()
 FileListingEntry::isCollection Checks if the ObjectType is a collection. More...
 
int row () const
 FileListingEntry::row Gets the row. More...
 
int offset ()
 FileListingEntry::offset Gets the offset. More...
 
bool hasMorePages ()
 FileListingEntry::hasMorePages Returns the presence of more pages. More...
 
int collectionsOffset ()
 FileListingEntry::collectionsOffset Gets the collection offset. More...
 
int dataObjectsOffset ()
 FileListingEntry::dataObjectsOffset Gets the data object offset. More...
 
bool hasMoreCollections ()
 FileListingEntry::hasMoreCollections Checks the presence of more collections. More...
 
bool hasMoreDataObjects ()
 FileListingEntry::hasMoreDataObjects Gets the presence of more data objects. More...
 
void setCollectionsOffset (int)
 FileListingEntry::setCollectionsOffset Sets the collection offset. More...
 
void setDataObjectsOffset (int)
 FileListingEntry::setDataObjectsOffset Sets data object offset. More...
 
void setHasMoreCollections (bool)
 FileListingEntry::setHasMoreCollections Sets the presence of more collections. More...
 
void setHasMoreDataObjects (bool)
 FileListingEntry::setHasMoreDataObjects Sets the presence of more data objects. More...
 
const QString getFullPath () const
 FileListingEntry::getFullPath Gets the full path. More...
 
void setParentPath (QString &)
 FileListingEntry::setParentPath Sets parent path. More...
 
void setPathOrName (QString &)
 FileListingEntry::setPathOrName Sets the path. More...
 
void setSpecialObjectPath (QString &)
 FileListingEntry::setSpecialObjectPath Sets special object path. More...
 
void setObjectType (ObjectType)
 FileListingEntry::setObjectType Sets object type. More...
 
void setCreatedAt (long long int)
 FileListingEntry::setCreatedAt Sets the creation date. More...
 
void setModifiedAt (long long int)
 FileListingEntry::setModifiedAt Sets the modification date. More...
 
void setDataSize (long long int)
 FileListingEntry::setDataSize Sets the data size. More...
 
void setOwnerName (QString &)
 FileListingEntry::setOwnerName Sets the owner name. More...
 
void setOwnerZone (QString &)
 FileListingEntry::setOwnerZone Sets owner zone. More...
 
void setId (int)
 FileListingEntry::setId Sets the id. More...
 
void setRow (int)
 FileListingEntry::setRow Sets the row. More...
 
void setOffset (int)
 FileListingEntry::setOffset Sets the Offset. More...
 
void setHasMorePages (bool)
 FileListingEntry::setHasMorePages Sets the presence of more pages. More...
 
void deleteChildren ()
 FileListingEntry::deleteChildren Deletes the children. More...
 
void setParentNode (FileListingEntry *)
 FileListingEntry::setParentNode Sets parent nodes. More...
 
FileListingEntryparentNode ()
 FileListingEntry::parentNode Gets the parent node. More...
 
QList< FileListingEntry * > * children ()
 FileListingEntry::children Gets the children. More...
 
void addChild (FileListingEntry *)
 FileListingEntry::addChild Adds a child. More...
 
bool flag ()
 FileListingEntry::flag Gets the flag. More...
 
void setFlag (bool)
 FileListingEntry::setFlag Sets the flag. More...
 

Constructor & Destructor Documentation

FileListingEntry::FileListingEntry ( QObject *  parent = 0)
explicit

FileListingEntry::FileListingEntry Constructor method.

This is a constructor for AbstractHTTPClient class.

Parameters
parentthe parent.

Member Function Documentation

void FileListingEntry::addChild ( FileListingEntry entry)

FileListingEntry::addChild Adds a child.

Adds a child.

Parameters
entrya FileListingEntry.
QList< FileListingEntry * > * FileListingEntry::children ( )

FileListingEntry::children Gets the children.

Gets the children.

Returns
returns the children.
int FileListingEntry::collectionsOffset ( )

FileListingEntry::collectionsOffset Gets the collection offset.

Gets the collection offset.

Returns
returns the collection offset.
long long int FileListingEntry::createdAt ( ) const

FileListingEntry::createdAt Gets the creation date.

Gets the creation date.

Returns
returns the creation date.
int FileListingEntry::dataObjectsOffset ( )

FileListingEntry::dataObjectsOffset Gets the data object offset.

Gets the data object offset.

Returns
returns the data object offset.
long long int FileListingEntry::dataSize ( ) const

FileListingEntry::dataSize Gets the data size.

Gets the data size.

Returns
returns the data size.
void FileListingEntry::deleteChildren ( )

FileListingEntry::deleteChildren Deletes the children.

Deletes the children.

bool FileListingEntry::flag ( )

FileListingEntry::flag Gets the flag.

Gets the flag.

Returns
returns the flag.
const QString FileListingEntry::getFullPath ( ) const

FileListingEntry::getFullPath Gets the full path.

Gets the full path.

Returns
returns a string that represents the path or nome.
bool FileListingEntry::hasMoreCollections ( )

FileListingEntry::hasMoreCollections Checks the presence of more collections.

Checks the presence of more collections.

Returns
returns a boolean.
bool FileListingEntry::hasMoreDataObjects ( )

FileListingEntry::hasMoreDataObjects Gets the presence of more data objects.

Gets the presence of more data objects.

Returns
returns a boolean representing the presence of more data objects.
bool FileListingEntry::hasMorePages ( )

FileListingEntry::hasMorePages Returns the presence of more pages.

Returns the presence of more pages of collections or data objects.

Returns
returns a boolean.
int FileListingEntry::id ( ) const

FileListingEntry::id Gets id.

Gets id.

Returns
returns the id.
bool FileListingEntry::isCollection ( )

FileListingEntry::isCollection Checks if the ObjectType is a collection.

Checks if the ObjectType is a collection.

Returns
returns true if the objectType is a collection or false otherwise.
long long int FileListingEntry::modifiedAt ( ) const

FileListingEntry::modifiedAt Gets the last modification date.

Gets the last modification date.

Returns
returns the last modification date.
FileListingEntry::ObjectType FileListingEntry::objectType ( ) const

FileListingEntry::objectType Gets the object type.

Gets the object type.

Returns
returns the object type.
int FileListingEntry::offset ( )

FileListingEntry::offset Gets the offset.

Gets the offset.

Returns
returns the offset.
const QString & FileListingEntry::ownerName ( ) const

FileListingEntry::ownerName Gets the owner name.

Gets the owner name.

Returns
returns the owner name.
const QString & FileListingEntry::ownerZone ( ) const

FileListingEntry::ownerZone Gets the owner zone.

Gets the owner zone.

Returns
returns the owner zone.
FileListingEntry * FileListingEntry::parentNode ( )

FileListingEntry::parentNode Gets the parent node.

Gets the parent node.

Returns
returns the parent node.
const QString & FileListingEntry::parentPath ( ) const

FileListingEntry::parentPath Gets the parent path.

Gets the parent path.

Returns
returns the parent path.
const QString & FileListingEntry::pathOrName ( ) const

FileListingEntry::pathOrName Gets the path or name.

Gets the path or name.

Returns
returns the path or name.
int FileListingEntry::row ( ) const

FileListingEntry::row Gets the row.

Gets the row.

Returns
returns the row.
void FileListingEntry::setCollectionsOffset ( int  offset)

FileListingEntry::setCollectionsOffset Sets the collection offset.

Sets the collection offset.

Parameters
offsetthe offset.
void FileListingEntry::setCreatedAt ( long long int  at)

FileListingEntry::setCreatedAt Sets the creation date.

Sets the creation date.

Parameters
atthe date.
void FileListingEntry::setDataObjectsOffset ( int  offset)

FileListingEntry::setDataObjectsOffset Sets data object offset.

Sets data object offset.

Parameters
offsetthe offset.
void FileListingEntry::setDataSize ( long long int  size)

FileListingEntry::setDataSize Sets the data size.

Sets the data size.

Parameters
sizethe size.
void FileListingEntry::setFlag ( bool  b)

FileListingEntry::setFlag Sets the flag.

Sets the flag.

Parameters
ba boolean.
void FileListingEntry::setHasMoreCollections ( bool  b)

FileListingEntry::setHasMoreCollections Sets the presence of more collections.

Sets the presence of more collections.

Parameters
ba boolean which sets the presence or not of more collections.
void FileListingEntry::setHasMoreDataObjects ( bool  b)

FileListingEntry::setHasMoreDataObjects Sets the presence of more data objects.

Sets the presence of more data objects.

Parameters
ba boolean that sets the presence or not of more data objects.
void FileListingEntry::setHasMorePages ( bool  b)

FileListingEntry::setHasMorePages Sets the presence of more pages.

Sets the presence of more pages.

Parameters
ba boolean that represents the presence of more pages.
void FileListingEntry::setId ( int  i)

FileListingEntry::setId Sets the id.

Sets the id for the FileListingEntry.

Parameters
ian integer that is the id.
void FileListingEntry::setModifiedAt ( long long int  at)

FileListingEntry::setModifiedAt Sets the modification date.

Sets the modification date.

Parameters
atthe date.
void FileListingEntry::setObjectType ( ObjectType  tp)

FileListingEntry::setObjectType Sets object type.

Sets object type.

Parameters
tpthe object type.
void FileListingEntry::setOffset ( int  off)

FileListingEntry::setOffset Sets the Offset.

Sets the Offset.

Parameters
offan integer that is the offset.
void FileListingEntry::setOwnerName ( QString &  str)

FileListingEntry::setOwnerName Sets the owner name.

Sets the owner name.

Parameters
stra string that represents the owner name.
void FileListingEntry::setOwnerZone ( QString &  str)

FileListingEntry::setOwnerZone Sets owner zone.

Sets owner zone.

Parameters
stra string that represents the owner zone.
void FileListingEntry::setParentNode ( FileListingEntry parent)

FileListingEntry::setParentNode Sets parent nodes.

Sets parent nodes.

Parameters
parentthe parent.
void FileListingEntry::setParentPath ( QString &  str)

FileListingEntry::setParentPath Sets parent path.

Sets parent path.

Parameters
stra string that represents the path.
void FileListingEntry::setPathOrName ( QString &  str)

FileListingEntry::setPathOrName Sets the path.

Sets the path.

Parameters
stra string that represents the path.
void FileListingEntry::setRow ( int  i)

FileListingEntry::setRow Sets the row.

Sets the row of the FileListingEntry

Parameters
ian integer that is the row.
void FileListingEntry::setSpecialObjectPath ( QString &  str)

FileListingEntry::setSpecialObjectPath Sets special object path.

Sets special object path.

Parameters
stra string that represents the path.
const QString & FileListingEntry::specialObjectPath ( ) const

FileListingEntry::specialObjectPath Gets special object path.

Gets special object path.

Returns
returns special object path.

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