| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.ext.dbobj.DownloadFiles
DownloadFiles | public class DownloadFiles extends SecuredDBObject (Code) | | This DBobject is used by the Download Controller to manage information about
files available for download, security groups allowed to download which files,
Download notes, and Mime Types settings.
author: Michael Nash See Also: com.jcorporate.expresso.ext.controller.Download |
Method Summary | |
public void | add() | public synchronized void | checkField(String fieldName, String fieldValue) Overrided to check to make sure that the entered file pathname points to
a real file. | public void | setupFields() | public void | update() |
FLD_DISPLAY_NAME | final public static String FLD_DISPLAY_NAME(Code) | | |
FLD_FILE_NUMBER | final public static String FLD_FILE_NUMBER(Code) | | |
FLD_FILE_PATH_NAME | final public static String FLD_FILE_PATH_NAME(Code) | | |
FLD_GROUP_NAME | final public static String FLD_GROUP_NAME(Code) | | |
FLD_IS_RESTRICTED | final public static String FLD_IS_RESTRICTED(Code) | | |
FLD_LAST_UPDATED | final public static String FLD_LAST_UPDATED(Code) | | |
DownloadFiles | public DownloadFiles(int uid) throws DBException(Code) | | Use over (String) constructor. Initializes the object in the context
of the user who's uid belongs to the parameter.
Parameters: uid - the Uid of the user context throws: DBException - if there's an initialization problem |
DownloadFiles | public DownloadFiles(ControllerRequest request) throws DBException(Code) | | For using DBObjects within Controllers. Initializes based upon the current
user and the requested db. [Of course this can be modified later]
Parameters: request - - The controller request handed to you by the framework. throws: DBException - upon initialization error |
add | public void add() throws DBException(Code) | | Extends the usual add method to fetch a next number field
throws: DBException - If the next number could not be allocatedor the add fails |
checkField | public synchronized void checkField(String fieldName, String fieldValue) throws DBException(Code) | | Overrided to check to make sure that the entered file pathname points to
a real file. If not, throws an exception.
Parameters: fieldName - the name of the field to check Parameters: fieldValue - the value to check throws: DBException - if there is a validation error |
setupFields | public void setupFields() throws DBException(Code) | | Define the table and fields for this object
|
Methods inherited from com.jcorporate.expresso.core.dbobj.SecuredDBObject | public void add() throws DBException(Code)(Java Doc) public boolean canRequesterAdd() throws DBException(Code)(Java Doc) public boolean canRequesterDelete() throws DBException(Code)(Java Doc) public boolean canRequesterRead() throws DBException(Code)(Java Doc) public boolean canRequesterUpdate() throws DBException(Code)(Java Doc) public boolean checkAllowed(String requestedFunction) throws DBException(Code)(Java Doc) public void copyAttributes(DBObject returnObj) throws DBException(Code)(Java Doc) public synchronized int count() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) protected synchronized void createSecurityCache() throws CacheException(Code)(Java Doc) public void delete() throws DBException(Code)(Java Doc) public synchronized void deleteAll() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) public boolean find() throws DBException(Code)(Java Doc) public int getRequestingUid()(Code)(Java Doc) protected String getString(String stringCode, Object[] args) throws DBException(Code)(Java Doc) protected String getString(String stringCode) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3, String arg4) throws DBException(Code)(Java Doc) public int getSystemUid()(Code)(Java Doc) public static SecuredDBObject instantiate(String className) throws DBException(Code)(Java Doc) public void isAllowed(String requestedFunction) throws SecurityException, DBException(Code)(Java Doc) public void retrieve() throws DBException(Code)(Java Doc) public synchronized void search() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList(String sortKeys) throws DBException(Code)(Java Doc) public void setRequestingUid(int newUid)(Code)(Java Doc) public void update() throws DBException(Code)(Java Doc)
|
|
|