org.example.finance
Class ProjectTimesheetsOp
java.lang.Object
net.wgen.op.Op
org.example.finance.ProjectTimesheetsOp
- All Implemented Interfaces:
- java.io.Serializable
- public class ProjectTimesheetsOp
- extends Op
- Version:
- $Id: ProjectTimesheetsOp.html,v 1.2 2007/01/28 04:09:38 paulfeuer Exp $
- Author:
- Paul Feuer, Wireless Generation, Inc.
- See Also:
- Serialized Form
| Methods inherited from class net.wgen.op.Op |
execute, getAmountOfWorkDone, getCallersUserId, getDefaultDataSourceName, getLogger, getOptions, getRootOp, getTraceKey, makeFunction, makeProcedure, makeQuery, setDefaultDataSourceName, setOpExecutor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROCEDURE
private static final java.lang.String PROCEDURE
- See Also:
- Constant Field Values
_projectSid
private java.lang.Integer _projectSid
_timesheetResults
private java.util.List _timesheetResults
_projectInfo
private java.util.Map _projectInfo
ProjectTimesheetsOp
public ProjectTimesheetsOp(TraceKey traceKey)
- Default constructor must use a TraceKey object. During initialization, the Op's
options will be retrieved from the TraceKey's userData map at key
ParamTriggerState.TRACE_KEY_USER_DATA_KEY. The defaultDataSourceName will also be
initialized using the dataSourceName of the OpModule in the TraceKey. The
defaultDataSourceName is used to initialize the dataSourceName of the DatabaseCalls
created by the Op's DatabaseCall convenience methods.
- Parameters:
traceKey - the traceKey identifying the request responsible for the
instantiation and execution of this Op
- Throws:
java.lang.NullPointerException - if traceKey or traceKey.getUserId() is null- See Also:
ParamTriggerState.TRACE_KEY_USER_DATA_KEY,
OpModule.getDataSourceName()
_execute
protected void _execute(CallExecutor exec)
throws OpException
- Execute the body of the Op.
- Specified by:
_execute in class Op
- Parameters:
exec - what will perform DB or other calls
- Throws:
OpException
setProjectSid
public void setProjectSid(java.lang.Integer projectSid)
getTimesheetResults
public java.util.List getTimesheetResults()
getProjectInfo
public java.util.Map getProjectInfo()