public class TimeAccountingScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.TimeAccountingScriptService
Accela Automation File: TimeAccountingScript.java Accela, Inc. Copyright (C): 2008-2013 Description: TODO Notes: $Id: TimeAccountingScript.java 242973 2013-01-21 07:41:46Z bruce.deng $ Revision History <Date>, <Who>, <What> May 6, 2008 hawk.liu Initial.
Constructor and Description |
---|
TimeAccountingScript()
Instantiates a new time accounting script.
|
TimeAccountingScript(java.lang.String serviceProviderCode,
java.lang.String auditID)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScriptResult |
addTimeLogModel(TimeAccountingScriptModel timeAccountingModel)
Adds the time log model.
|
ScriptResult |
getTimeGroupByTimeGroupName(java.lang.String timeGroupName)
get time group by time group name.
|
ScriptResult |
getTimeGroupTypeModel()
Get an initialized TimeGroupTypeScriptModel instance
|
ScriptResult |
getTimeGroupTypeModels(java.lang.String groupName,
java.lang.String typeName)
Get the time accounting group type models by specific group name and type name
|
ScriptResult |
getTimeGroupTypeModels(TimeGroupTypeScriptModel timeGrpTypModel)
Get the time accounting group type models
|
ScriptResult |
getTimeLogModel()
Get a new empty Time Account message.
|
ScriptResult |
getTimeLogModel(long timeLogSeq)
Get Time Account message.
|
ScriptResult |
getTimeLogModelByEntity(com.accela.aa.aamain.cap.CapIDModel capIDModel,
java.lang.String entityId,
java.lang.String entityType,
java.lang.Long taTypeSeq,
java.lang.Long taGroupSeq)
Get time account by entity..
|
ScriptResult |
getTimeTypeByTimeTypeName(java.lang.String timeTypeName)
get time type by time type name.
|
ScriptResult |
updateTimeLogModel(TimeAccountingScriptModel timeAccountingModel)
update the time log model.
|
public TimeAccountingScript(java.lang.String serviceProviderCode, java.lang.String auditID) throws com.accela.aa.exception.AAException
serviceProviderCode
- the service provider codeauditID
- the audit idcom.accela.aa.exception.AAException
- the AA exceptionpublic TimeAccountingScript() throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException
- the AA exceptionpublic ScriptResult getTimeLogModel(long timeLogSeq)
com.accela.aa.emse.dom.service.TimeAccountingScriptService
getTimeLogModel
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
timeLogSeq
- the time log seqpublic ScriptResult getTimeLogModel()
com.accela.aa.emse.dom.service.TimeAccountingScriptService
getTimeLogModel
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
public ScriptResult addTimeLogModel(TimeAccountingScriptModel timeAccountingModel)
com.accela.aa.emse.dom.service.TimeAccountingScriptService
addTimeLogModel
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
timeAccountingModel
- the time accounting modelpublic ScriptResult updateTimeLogModel(TimeAccountingScriptModel timeAccountingModel)
com.accela.aa.emse.dom.service.TimeAccountingScriptService
updateTimeLogModel
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
timeAccountingModel
- the time accounting modelpublic ScriptResult getTimeGroupTypeModels(TimeGroupTypeScriptModel timeGrpTypModel)
com.accela.aa.emse.dom.service.TimeAccountingScriptService
getTimeGroupTypeModels
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
public ScriptResult getTimeGroupTypeModels(java.lang.String groupName, java.lang.String typeName)
com.accela.aa.emse.dom.service.TimeAccountingScriptService
getTimeGroupTypeModels
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
groupName
- The specific group nametypeName
- The specific type namepublic ScriptResult getTimeGroupTypeModel()
getTimeGroupTypeModel
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
public ScriptResult getTimeLogModelByEntity(com.accela.aa.aamain.cap.CapIDModel capIDModel, java.lang.String entityId, java.lang.String entityType, java.lang.Long taTypeSeq, java.lang.Long taGroupSeq)
getTimeLogModelByEntity
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
capIDModel
- cap identityId
- workflow/inspection id etc.entityType
- entity typetaTypeSeq
- time accounting type sequencetaGroupSeq
- time accounting group sequencepublic ScriptResult getTimeTypeByTimeTypeName(java.lang.String timeTypeName)
getTimeTypeByTimeTypeName
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
timeTypeName
- time accounting type namepublic ScriptResult getTimeGroupByTimeGroupName(java.lang.String timeGroupName)
getTimeGroupByTimeGroupName
in interface com.accela.aa.emse.dom.service.TimeAccountingScriptService
timeGroupName
- time accounting group name