Class PBEDirectoryContainer

Object
  |
  +--PBEUnit
        |
        +--PBEObject
              |
              +--PBEContainer
                    |
                    +--PBEDirectoryContainer

public class PBEDirectoryContainer
extends PBEContainer


Description:
PBEDirectoryContainer provides functionality to access the local filesystem in PrimeBase Enterprise Objects applications.


PBE Attributes/Fields:

command

created

file

file#head

icon

link

modified

name

path

type


PBE Methods:

cd, cddotdot, delete, display, download, upload, rename


Fields inherited from class PBEContainer
iCurrentGroup, iFirstGroup, iLastGroup, iPages, iSelected, iSelection
 
Fields inherited from class PBEObject
attributes, iClearInput, methods, name
 
Constructor Summary
PBEDirectoryContainer(varchar name)
           
PBEDirectoryContainer(varchar name, varchar path)
           
 
Method Summary
 varchar changeDir(varchar name)
           
 varchar deleteFile(varchar name)
           
 void downloadFile(varchar type, varchar name)
           
 varchar getPath()
           
 varchar removeDir(varchar name)
           
 varchar renameFile(varchar from, varchar to)
           
 void setPath(varchar path)
           
 varchar uploadFile(varchar name, generic value)
           
 
Methods inherited from class PBEContainer
addGroup, currentColor, currentColor, currentRowStatus, currentRowValid, deleteRow, enterGroup, enterPage, exitGroup, exitPage, firstRow, getCurrentRow, getCurrentRowValue, getCurrentValue, getInvalidValue, getRowCount, getSelectedRow, getSelection, getValidRow, insertRow, lastRow, nextCurrentRow, nextCurrentRow, nextRow, outputValue, previousRow, setCurrentRow, setCurrentRowValue, setCurrentValue, setSelectedRow, setSelection, sum, updateRow
 
Methods inherited from class PBEObject
attributeName, clear, clearInput, disable, disableAttributes, display, enable, enableAttributes, getAttributeStatus, getAttributeStatus, getError, globalReference, hide, init, inputMethod, inputMethod, inputValue, outputValue, outputValue, performActivation, prepareAction, redirect, setActive, setAttributeStatus, setError, show
 
Methods inherited from class PBEUnit
compileActions, compileConditions, prepareEvent
 

Constructor Detail

PBEDirectoryContainer

public PBEDirectoryContainer(varchar name)
Parameters:
name - the name used to access this object.

PBEDirectoryContainer

public PBEDirectoryContainer(varchar name,
                             varchar path)
Parameters:
name - the name used to access this object.
path - the path this object should initially use.
Method Detail

setPath

public void setPath(varchar path)

getPath

public varchar getPath()

changeDir

public varchar changeDir(varchar name)

deleteFile

public varchar deleteFile(varchar name)

renameFile

public varchar renameFile(varchar from,
                          varchar to)

removeDir

public varchar removeDir(varchar name)

downloadFile

public void downloadFile(varchar type,
                         varchar name)

uploadFile

public varchar uploadFile(varchar name,
                          generic value)