| |
|
| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.ext.dbobj.DownloadLog
DownloadLog | public class DownloadLog extends SecuredDBObject (Code) | | DownloadLog
Log the latest download of a file by a user
author: Michael Nash |
Method Summary | |
public synchronized void | add() Override of add to set the 'Downloaded' time to when the record was created. | public void | setupFields() |
FLD_DOWNLOADED | final public static String FLD_DOWNLOADED(Code) | | Field name constant
|
FLD_EXP_UID | final public static String FLD_EXP_UID(Code) | | Field name constant
|
FLD_FILEPATHNAME | final public static String FLD_FILEPATHNAME(Code) | | Field name constant
|
FLD_FILE_NUMBER | final public static String FLD_FILE_NUMBER(Code) | | Field name constant
|
FLD_IP | final public static String FLD_IP(Code) | | Field name constant
|
FLD_LOG_ENTRY | final public static String FLD_LOG_ENTRY(Code) | | Field name constant
|
DownloadLog | public DownloadLog(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 |
DownloadLog | public DownloadLog(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 error |
setupFields | public void setupFields() throws DBException(Code) | | Define the table and fields for this object
throws: DBException - If the fields cannot be set up |
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)
|
|
|
|