\hypertarget{classFileServer}{
\section{FileServer Class Reference}
\label{classFileServer}\index{FileServer@{FileServer}}
}


Abstract file server class.  


{\ttfamily \#include $<$fileserver.h$>$}Inheritance diagram for FileServer::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classFileServer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFileServer_acf61e415a20375b9c9aec30b1a4abcc8}{
\hyperlink{classFileServer_acf61e415a20375b9c9aec30b1a4abcc8}{FileServer} ()}
\label{classFileServer_acf61e415a20375b9c9aec30b1a4abcc8}

\begin{DoxyCompactList}\small\item\em Create a \hyperlink{classFileServer}{FileServer} object. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ac68456fef4916731a0941714e770afd8}{
void \hyperlink{classFileServer_ac68456fef4916731a0941714e770afd8}{setNotifyParent} (bool flag)}
\label{classFileServer_ac68456fef4916731a0941714e770afd8}

\begin{DoxyCompactList}\small\item\em Set flag for notifying parent. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a07f7318446a57f4076dc13587c0379ad}{
bool \hyperlink{classFileServer_a07f7318446a57f4076dc13587c0379ad}{getNotifyParent} ()}
\label{classFileServer_a07f7318446a57f4076dc13587c0379ad}

\begin{DoxyCompactList}\small\item\em return parent notification flag. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ad67f81e9dbd7ebc91937f9f81d463179}{
virtual QStringList \hyperlink{classFileServer_ad67f81e9dbd7ebc91937f9f81d463179}{getFileInfoLabels} ()=0}
\label{classFileServer_ad67f81e9dbd7ebc91937f9f81d463179}

\begin{DoxyCompactList}\small\item\em Returns the column names in the file list (name, size, last change date...). Allows different protocols to display their own info. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a9af8673249c8eec5730f543138438e8d}{
virtual void \hyperlink{classFileServer_a9af8673249c8eec5730f543138438e8d}{updateFileList} (QString URL)=0}
\label{classFileServer_a9af8673249c8eec5730f543138438e8d}

\begin{DoxyCompactList}\small\item\em Reads a new list of files from the server to the filelist. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a2d20131e64d0f22edd6776954a84ba01}{
virtual QVector$<$ \hyperlink{classARCFileElement}{ARCFileElement} $\ast$ $>$ \& \hyperlink{classFileServer_a2d20131e64d0f22edd6776954a84ba01}{getFileList} ()=0}
\label{classFileServer_a2d20131e64d0f22edd6776954a84ba01}

\begin{DoxyCompactList}\small\item\em Return a reference to the filelist. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a08ef06edcb11d4bbcf9c519a7abb8f15}{
virtual bool \hyperlink{classFileServer_a08ef06edcb11d4bbcf9c519a7abb8f15}{goUpOneFolder} ()=0}
\label{classFileServer_a08ef06edcb11d4bbcf9c519a7abb8f15}

\begin{DoxyCompactList}\small\item\em Go up one folder in the folder structure (cd ..). \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a1b6810a7d2c09975f5e5d86b52cac144}{
virtual QString \hyperlink{classFileServer_a1b6810a7d2c09975f5e5d86b52cac144}{getCurrentURL} ()=0}
\label{classFileServer_a1b6810a7d2c09975f5e5d86b52cac144}

\begin{DoxyCompactList}\small\item\em Get current URL (== file protocol + path). \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a196d7805a96d3826669f0ea27aa61033}{
virtual QString \hyperlink{classFileServer_a196d7805a96d3826669f0ea27aa61033}{getCurrentPath} ()=0}
\label{classFileServer_a196d7805a96d3826669f0ea27aa61033}

\begin{DoxyCompactList}\small\item\em Get current path. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a1ff66b187e05b145dc5066fb0c3bf241}{
virtual unsigned int \hyperlink{classFileServer_a1ff66b187e05b145dc5066fb0c3bf241}{getFilePermissions} (QString path)=0}
\label{classFileServer_a1ff66b187e05b145dc5066fb0c3bf241}

\begin{DoxyCompactList}\small\item\em Get file permissions. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a5a3a31658c22e2bc1c090e8250c38bde}{
virtual void \hyperlink{classFileServer_a5a3a31658c22e2bc1c090e8250c38bde}{setFilePermissions} (QString path, unsigned int permissions)=0}
\label{classFileServer_a5a3a31658c22e2bc1c090e8250c38bde}

\begin{DoxyCompactList}\small\item\em Set file permissions. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ad7fcb6028b2c5b1b632917187eb20d05}{
virtual bool \hyperlink{classFileServer_ad7fcb6028b2c5b1b632917187eb20d05}{copyFromServer} (QString sourcePath, QString destinationPah)=0}
\label{classFileServer_ad7fcb6028b2c5b1b632917187eb20d05}

\begin{DoxyCompactList}\small\item\em Copy a file from the server to a local disk. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a246f4f098f498faf267ec833b34c6813}{
virtual bool \hyperlink{classFileServer_a246f4f098f498faf267ec833b34c6813}{copyToServer} (QString sourcePath, QString destinationPah)=0}
\label{classFileServer_a246f4f098f498faf267ec833b34c6813}

\begin{DoxyCompactList}\small\item\em Copy a file from local disk to server. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a606ff55601d8e2fb5be925ce3fb914f2}{
virtual bool \hyperlink{classFileServer_a606ff55601d8e2fb5be925ce3fb914f2}{copyToServer} (QList$<$ QUrl $>$ \&urlList, QString destinationPath)=0}
\label{classFileServer_a606ff55601d8e2fb5be925ce3fb914f2}

\begin{DoxyCompactList}\small\item\em Copy a list of files from local disk to server. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ab3486434a1974976dc63c0ee676dce1e}{
virtual bool \hyperlink{classFileServer_ab3486434a1974976dc63c0ee676dce1e}{deleteItem} (QString path)=0}
\label{classFileServer_ab3486434a1974976dc63c0ee676dce1e}

\begin{DoxyCompactList}\small\item\em Delete a file from the server. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ae2a968d9c3dfa6481804cea393a3e458}{
virtual bool \hyperlink{classFileServer_ae2a968d9c3dfa6481804cea393a3e458}{deleteItems} (QStringList \&paths)=0}
\label{classFileServer_ae2a968d9c3dfa6481804cea393a3e458}

\begin{DoxyCompactList}\small\item\em Delete several files from the server. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_afcf4d31a63271c340517a74d9cc69fbf}{
virtual bool \hyperlink{classFileServer_afcf4d31a63271c340517a74d9cc69fbf}{makeDir} (QString path)=0}
\label{classFileServer_afcf4d31a63271c340517a74d9cc69fbf}

\begin{DoxyCompactList}\small\item\em Create a folder on the server. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ac3f3259a879f01c31e234a375ee877bf}{
virtual QMap$<$ QString, QString $>$ \hyperlink{classFileServer_ac3f3259a879f01c31e234a375ee877bf}{fileProperties} (QString URL)=0}
\label{classFileServer_ac3f3259a879f01c31e234a375ee877bf}

\begin{DoxyCompactList}\small\item\em Return a property value list of file properties. \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a1020f2bc46aabbaac79ee48be6d2f70d}{
virtual bool \hyperlink{classFileServer_a1020f2bc46aabbaac79ee48be6d2f70d}{rename} (QString fromURL, QString toURL)=0}
\label{classFileServer_a1020f2bc46aabbaac79ee48be6d2f70d}

\begin{DoxyCompactList}\small\item\em Rename a file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFileServer_a743c89eecaec8afa36cdd4051237576e}{
void \hyperlink{classFileServer_a743c89eecaec8afa36cdd4051237576e}{clearFileList} ()}
\label{classFileServer_a743c89eecaec8afa36cdd4051237576e}

\begin{DoxyCompactList}\small\item\em Clear file list. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFileServer_ab281926d224ed2225c718f981841de30}{
QVector$<$ \hyperlink{classARCFileElement}{ARCFileElement} $\ast$ $>$ \hyperlink{classFileServer_ab281926d224ed2225c718f981841de30}{fileList}}
\label{classFileServer_ab281926d224ed2225c718f981841de30}

\begin{DoxyCompactList}\small\item\em A list of the files that were last browsed (and are currently displayed in the gui). \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_ae49994aca53280593cbe9f5ed0fe4595}{
QString \hyperlink{classFileServer_ae49994aca53280593cbe9f5ed0fe4595}{currentPath}}
\label{classFileServer_ae49994aca53280593cbe9f5ed0fe4595}

\begin{DoxyCompactList}\small\item\em The current path (that is displayed in the gui). \item\end{DoxyCompactList}\item 
\hypertarget{classFileServer_a23c88250f23135311f5072a0055dda00}{
bool {\bfseries m\_\-notifyParent}}
\label{classFileServer_a23c88250f23135311f5072a0055dda00}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Abstract file server class. The \hyperlink{classFileServer}{FileServer} class described an abstract File Server. It contains abstract methods that describe operations that a file server would typically need to perform. It doesn't act as a file server, it talks to a file server. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/jonas/Development/arc-\/gui-\/clients/src/arcstorage-\/ui/fileserver.h\item 
/home/jonas/Development/arc-\/gui-\/clients/src/arcstorage-\/ui/fileserver.cpp\end{DoxyCompactItemize}
