C# Class ATUL_v1.AtulBusinessLogic

Exibir arquivo Open project: godaddy/ATUL Class Usage Examples

Public Methods

Method Description
AddActivityToActivityGroup ( int AtulActivityGroupID, int AtulActivityID, int CreatedBy ) : bool

Adds the activity to activity group.

AddActivityToActivityGroup ( string AtulActivityGroupID, string AtulActivityID, string CreatedBy ) : bool

Adds the activity to activity group.

AddProcessManager ( int AtulRemoteSystemID, int AtulUserTypeID, string RemoteSystemLoginID, string DisplayName ) : bool

Adds a process manager. A process can have more than one manager. This method is intended to create a manager, but is generic since the typeId will change The typeid should be set in the webconfig and retreived in the logic layer

AddProcessManager ( string AtulRemoteSystemID, string AtulUserTypeID, string RemoteSystemLoginID, string DisplayName ) : bool

Adds a process manager. A process can have more than one manager. This method is intended to create a manager, but is generic since the typeId will change The typeid should be set in the webconfig and retreived in the logic layer

AttachProcessSubProcess ( System.Int64 AtulProcessID, System.Int64 AtulSubProcessID, int ProcessSubprocessSortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy ) : bool

Creates the sub process.

ConfigVariablesGetByScriptName ( string ScriptName ) : string

Gets the variables get by scriptname.

CreateActivity ( string AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, string AtulActivitySortOrder, string CreatedBy, string OwnedBy ) : bool

Creates the activity.

CreateActivity ( long AtulProcessID, long AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, bool deadlineResultsInMissed, int AtulActivitySortOrder, int CreatedBy, int OwnedBy, int deadline, int deadlineTypeID ) : long

Creates the activity.

CreateActivityGroup ( int AtulActivityGroupPurposeID, string ActivityGroupDescription, string ActivityGroupSummary, int CreatedBy ) : bool

Creates the activity group.

CreateActivityGroup ( string AtulActivityGroupPurposeID, string ActivityGroupDescription, string ActivityGroupSummary, string CreatedBy ) : bool

Creates the activity group.

CreateInstanceProcess ( long AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary ) : long

Creates the instance process.

CreateInstanceProcess ( string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary ) : long

Creates the instance process.

CreateProcess ( string ProcessDescription, string ProcessSummary, int CreatedBy, int OwnedBy, int AtulProcessStatusID, int DeadLineOffset ) : long

Creates the process.

CreateProcess ( string ProcessDescription, string ProcessSummary, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string AtulUserDefinedAttributeID, string DeadLineOffset ) : long

Creates the process.

CreateProcessSchedule ( long ProcessID, string scheduleVersion, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : Schedule
CreateScheduledProcessInstance ( long ProcessID, string scheduleVersion ) : bool
CreateSubProcess ( string AtulProcessID, string AtulSubProcessID, string ProcessSubprocessSortOrder, string NotificationServiceProvideID, string NotificationIdentifier, string ResponsibilityOf, string DeadlineOffset, string CreatedBy ) : bool

Creates the sub process.

CreateSubProcess ( long AtulProcessID, string summary, string description, int sortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy, int OwnedBy ) : long
DeleteActivity ( long ActivityID, int ModifiedBy ) : bool

Deletes the activity.

DeleteActivity ( string AtulProcessID, string ModifiedBy ) : bool

Deletes the activity.

DeleteActivityGroup ( int AtulActivityGroupID, int ModifiedBy ) : bool

Deletes the activity group.

DeleteActivityGroup ( string AtulActivityGroupID, string ModifiedBy ) : bool

Deletes the activity group.

DeleteInstanceProcess ( long AtulInstanceProcessID, long ModifiedBy ) : bool

Deletes the instance process.

DeleteInstanceProcessActivity ( int AtulSubProcessID, int ModifiedBy ) : bool

Deletes the instance process activity.

DeleteInstanceProcessActivity ( string AtulSubProcessID, string ModifiedBy ) : bool

Deletes the instance process activity.

DeleteProcess ( long AtulProcessID, long ModifiedBy ) : bool

Deletes the process.

DeleteProcessManager ( int AtulUserID ) : bool

Deletes the process manager. TODO: [This is invalid, we would need to specify the process, usertypeID and the userID. Probably need a new proc]

DeleteProcessManager ( string AtulUserID ) : bool

Deletes the process manager. TODO: [This is invalid, we would need to specify the process, usertypeID and the userID. Probably need a new proc]

DeleteProcessSchedule ( long ProcessScheduleID ) : bool
DeleteSubProcess ( long AtulSubProcessID, int ModifiedBy ) : bool

Deletes the sub process.

DeleteSubProcess ( string AtulSubProcessID, string ModifiedBy ) : bool

Deletes the sub process.

EnableActivityAutomation ( ) : string

Enables the activity automation. TODO: Find/Define appliciable attribute

FlexFieldDelete ( long AtulFlexFieldID, long ModifiedBy ) : bool

delete the Flexfield

FlexFieldGet ( ) : string

get the Flexfield.

FlexFieldGetByID ( long AtulFlexFieldID ) : string

get the Flexfield by ID.

FlexFieldGetBySearch ( long AtulProcessID, long AtulSubProcessID, long AtulActivityID ) : string

get the Flexfield by search.

FlexFieldStorageDelete ( long AtulFlexFieldStorageID, long ModifiedBy ) : bool

delete the flexfield.

FlexFieldStorageGet ( ) : string

Get the flexfield storage.

FlexFieldStorageGetByID ( long AtulFlexFieldStorageID ) : string

get the flexfield by ID.

FlexFieldStorageGetByProcessID ( long AtulInstanceProcessID ) : string

get the flexfield by process ID.

FlexFieldStorageInsert ( long AtulInstanceProcessID, long AtulFlexFieldID, string tokenValue, long CreatedBy ) : string

insert the flexfield.

FlexFieldStorageUpdate ( long AtulFlexFieldStorageID, long AtulInstanceProcessID, string TokenValue, long ModifiedBy ) : bool

update the flexfield.

FlexFieldUpdate ( long AtulFlexFieldID, string TokenName, int IsRequired, long ModifiedBy, long AtulProcessID, long AtulSubProcessID, long AtulActivityID ) : bool

Update the flexfield.

FlexFieldUpsert ( string TokenName, int IsRequired, long CreatedBy, long AtulProcessID, long AtulSubProcessID, long AtulActivityID, string DefaultTokenValue, string FriendlyName, string ToolTip, int IsParameter ) : bool

Upsert the flexfield.

FlexFieldsGetByProcessID ( long AtulProcessID ) : string
GetActivityByID ( long ActivityID ) : string
GetAllActivity ( ) : string

Gets all activity.

GetAllActivityBySubProcessID ( System.Int64 SubProcessID ) : string
GetAllDeadlineType ( ) : string
GetAllInstanceProcess ( ) : string

Gets all instance process.

GetAllInstanceProcessActivity ( ) : string

Gets all instance process activity.

GetAllProcess ( ) : string

Gets all process.

GetAllProcessActivityGroups ( ) : string

Gets all process activity groups.

GetAllProcessStatus ( ) : string
GetAllProcessSubProcess ( ) : string

Gets all process sub process.

GetAllProcessSubProcessActivity ( ) : string

Gets all process sub process activity. TODO: New proc needed to get a subprocess's activities

GetAllProcessSubProcessByProcessID ( System.Int64 AtulProcessSubprocessID ) : string

Gets all process sub process by process ID.

GetAllSubProcessByProcessID ( System.Int64 ProcessID ) : string
GetCurrentInstanceSubProcess ( System.Int64 AtulInstanceProcessID ) : string

Gets the current instance sub process.

GetInstanceDetail ( string AtulInstanceProcessID ) : string

Gets the instance detail.

GetInstanceProcessByID ( System.Int64 AtulInstanceProcessID ) : string

Gets the instance process by ID.

GetInstanceProcessByID ( string AtulInstanceProcessID ) : string

Gets the instance process by ID.

GetInstanceProcessByProcessID ( System.Int64 AtulProcessID ) : string

Gets all the instance processes for a given process ID.

GetProcessActivityByProcessIDActivityID ( long ProcessID, long ActivityID ) : string
GetProcessByID ( System.Int64 AtulProcessID ) : string

Gets the process by ID.

GetProcessBySummary ( string ProcessSummary ) : Process
GetProcessScheduleByID ( long ScheduleID ) : Schedule
GetProcessScheduleByProcessID ( long ProcessID ) : Schedule
GetProcessSubProcessByProcessIDSubProcessID ( long ProcessID, long SubProcessID ) : string
GetProcessSubProcessDetailsBySubProcessID ( System.Int64 AtulSubProcessID ) : string

Gets all process sub process by process ID.

GetProviderByID ( long providerID ) : string
GetProviderInfoBySubProcessID ( System.Int64 AtulInstanceProcessSubProcessID ) : string

Gets the provider info by sub process ID.

GetProviderParameters ( long providerId, string ProviderVerb ) : string
GetProviders ( ) : string

Gets the providers.

GetQueueMessageByCorrelationID ( string queue, string correlationID ) : string
GetSubProcessByID ( long SubProcessID ) : string
HelloWorldBool ( ) : bool

Helloes the world bool.

HelloWorldString ( string word ) : string

Helloes the world string.

InsertInstanceProcess ( int AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID ) : string

Inserts the instance process.

InsertInstanceProcess ( string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID ) : string

Inserts the instance process.

InsertInstanceProcessActivity ( int AtulInstanceProcessID, int AtulProcessActivityID, int InstanceProcessActivityCompletedBy, int CreatedBy ) : string

Inserts the instance process activity.

InsertInstanceProcessActivity ( string AtulInstanceProcessID, string AtulProcessActivityID, string InstanceProcessActivityCompletedBy, string CreatedBy ) : string

Inserts the instance process activity.

InsertProvider ( string ServiceProviderName, string ServiceProviderDescription, int AtulServiceProviderClassID, string queue, int CreatedBy, string ServiceProviderXML ) : bool

Inserts the provider.

InstanceProcessActivityComplete ( System.Int64 AtulInstanceProcessActivityID, int statusBit, System.Int64 ModifiedBy ) : bool

Instances the process activity complete.

ProcessCurrentSubProcessActor ( long AtulInstanceProcessID ) : string

THIS METHOD WILL BE REPLACED WHEN WE AUTOMATE ALL OBJECTS Processes the Subprocess actor. When this method is called, the instance will be evaluated to see if there is an actor that is scope for processing. If an actor is in scope, the actor will be called with relevant parameters.

ProcessGetDeleted ( int daysBack ) : List
ProcessInstanceGetDeleted ( int daysBack ) : List
PushNextScheduleToAdminQueue ( Schedule s, System.DateTime next ) : string
PushToQueue ( string queue, string body, string>.List headerList ) : string

Pushes to queue.

SetActivityDeadLine ( ) : string

Sets the activity dead line.

SetActivityManMinutes ( ) : string

Sets the activity man minutes. TODO: Add man minute column, update proc(s)

SetActivityPrerequsiteActivityGroup ( ) : string

Sets the activity prerequsite activity group. TODO: Request proc to set prereq group Params: ActivityID, GroupID

UndeleteInstanceProcess ( long InstanceID, long ModifiedBy ) : bool
UndeleteProcess ( long ProcessID, long ModifiedBy ) : bool
UpSertProvider ( string queue, string providerXML ) : bool

Upsert provider.

UpdateActivity ( long AtulActivityID, long AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, int AtulActivitySortOrder, int ModifiedBy, int OwnedBy ) : bool
UpdateActivitySort ( long AtulActivityID, int Sort, int ModifiedBy ) : bool
UpdateInstanceProcess ( long AtulInstanceProcessID, long AtulProcessID, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary, long SubjectServiceProviderID ) : bool

Updates the instance process.

UpdateInstanceProcessActivity ( int AtulInstanceProcessActivityID, int AtulInstanceProcessID, int AtulProcessActivityID, int ProcessActivityCompleted, int ProcessActivityDidNotApply, int ProcessActivityDeadlineMissed, int InstanceProcessActivityCompletedBy, int ModifiedBy ) : string

Updates the instance process activity.

UpdateInstanceProcessActivity ( string AtulInstanceProcessActivityID, string AtulInstanceProcessID, string AtulProcessActivityID, string ProcessActivityCompleted, string ProcessActivityDidNotApply, string ProcessActivityDeadlineMissed, string InstanceProcessActivityCompletedBy, string ModifiedBy ) : string

Updates the instance process activity.

UpdateProcess ( long ProcessID, string ProcessDescription, string ProcessSummary, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, int DeadLineOffset, long SubjectServiceProviderID, string ScopeID ) : bool
UpdateProcessActivity ( long ProcessActivityID, long ProcessID, long ActivityID, int sort, bool deadlineResultsInMissed, int deadlineType, int deadline, int ModifiedBy, long AutomationServiceProviderID ) : bool
UpdateProcessSchedule ( long scheduleProcessID, string scheduleVersion, System.DateTime lastInstantiated, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : bool
UpdateProcessSubProcess ( long ProcessSubProcessID, long ProcessID, long SubProcessID, int sort, int responsibilityOf, int DeadlineOffset, int ModifiedBy, long NotificationServiceProviderID ) : bool

Updates the process sub process.

UpdateProcessSubProcessSort ( long AtulProcessSubProcessID, int Sort, int ModifiedBy ) : bool
UpdateProvider ( long AtulServiceProviderID, string ServiceProviderName, string ServiceProviderDescription, int AtulServiceProviderClassID, string queue, int ModifiedBy, string ServiceProviderXML ) : bool

Updates the provider.

UpdateRunningProcessSpecification ( ) : string

Updates the running process specification. TODO: MAtch to docs, discuss with Cory

UpdateSubProcess ( long SubProcessID, string SubProcessDescription, string SubProcessSummary, int ModifiedBy, int OwnedBy ) : bool

Private Methods

Method Description
AddSubProcessProviderParameters ( long NotificationServiceProviderID, long SubProcessID ) : bool
BuildActorPayload ( DataTable actorInfo, string>.Dictionary parameterList ) : string
ResolveTokens ( string ffname, string ffvalue, string>.Dictionary resolvers ) : string

Method Details

AddActivityToActivityGroup() public method

Adds the activity to activity group.
public AddActivityToActivityGroup ( int AtulActivityGroupID, int AtulActivityID, int CreatedBy ) : bool
AtulActivityGroupID int The atul activity group ID.
AtulActivityID int The atul activity ID.
CreatedBy int The created by ID.
return bool

AddActivityToActivityGroup() public method

Adds the activity to activity group.
public AddActivityToActivityGroup ( string AtulActivityGroupID, string AtulActivityID, string CreatedBy ) : bool
AtulActivityGroupID string The atul activity group ID.
AtulActivityID string The atul activity ID.
CreatedBy string The created by ID.
return bool

AddProcessManager() public method

Adds a process manager. A process can have more than one manager. This method is intended to create a manager, but is generic since the typeId will change The typeid should be set in the webconfig and retreived in the logic layer
public AddProcessManager ( int AtulRemoteSystemID, int AtulUserTypeID, string RemoteSystemLoginID, string DisplayName ) : bool
AtulRemoteSystemID int The atul remote system ID.
AtulUserTypeID int The atul user type ID.
RemoteSystemLoginID string The remote system login ID.
DisplayName string The display name.
return bool

AddProcessManager() public method

Adds a process manager. A process can have more than one manager. This method is intended to create a manager, but is generic since the typeId will change The typeid should be set in the webconfig and retreived in the logic layer
public AddProcessManager ( string AtulRemoteSystemID, string AtulUserTypeID, string RemoteSystemLoginID, string DisplayName ) : bool
AtulRemoteSystemID string The atul remote system ID.
AtulUserTypeID string The atul user type ID.
RemoteSystemLoginID string The remote system login ID.
DisplayName string The display name.
return bool

AttachProcessSubProcess() public method

Creates the sub process.
public AttachProcessSubProcess ( System.Int64 AtulProcessID, System.Int64 AtulSubProcessID, int ProcessSubprocessSortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy ) : bool
AtulProcessID System.Int64 The atul process ID.
AtulSubProcessID System.Int64 The atul sub process ID.
ProcessSubprocessSortOrder int The process subprocess sort order.
NotificationIdentifier string The notification identifier.
ResponsibilityOf int The responsibility of ID.
DeadlineOffset int The deadline offset.
CreatedBy int The created by ID.
return bool

ConfigVariablesGetByScriptName() public method

Gets the variables get by scriptname.
public ConfigVariablesGetByScriptName ( string ScriptName ) : string
ScriptName string Name of the script.
return string

CreateActivity() public method

Creates the activity.
public CreateActivity ( string AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, string AtulActivitySortOrder, string CreatedBy, string OwnedBy ) : bool
AtulSubProcessID string The atul sub process ID.
ActivityDescription string The activity description.
ActivitySummary string The activity summary.
ActivityProcedure string The activity procedure.
AtulActivitySortOrder string The atul activity sort order.
CreatedBy string The created by ID.
OwnedBy string The owned by ID.
return bool

CreateActivity() public method

Creates the activity.
public CreateActivity ( long AtulProcessID, long AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, bool deadlineResultsInMissed, int AtulActivitySortOrder, int CreatedBy, int OwnedBy, int deadline, int deadlineTypeID ) : long
AtulProcessID long
AtulSubProcessID long The atul sub process ID.
ActivityDescription string The activity description.
ActivitySummary string The activity summary.
ActivityProcedure string The activity procedure.
deadlineResultsInMissed bool
AtulActivitySortOrder int The atul activity sort order.
CreatedBy int The created by ID.
OwnedBy int The owned by ID.
deadline int
deadlineTypeID int
return long

CreateActivityGroup() public method

Creates the activity group.
public CreateActivityGroup ( int AtulActivityGroupPurposeID, string ActivityGroupDescription, string ActivityGroupSummary, int CreatedBy ) : bool
AtulActivityGroupPurposeID int The atul activity group purpose ID.
ActivityGroupDescription string The activity group description.
ActivityGroupSummary string The activity group summary.
CreatedBy int The created by ID.
return bool

CreateActivityGroup() public method

Creates the activity group.
public CreateActivityGroup ( string AtulActivityGroupPurposeID, string ActivityGroupDescription, string ActivityGroupSummary, string CreatedBy ) : bool
AtulActivityGroupPurposeID string The atul activity group purpose ID.
ActivityGroupDescription string The activity group description.
ActivityGroupSummary string The activity group summary.
CreatedBy string The created by ID.
return bool

CreateInstanceProcess() public method

Creates the instance process.
public CreateInstanceProcess ( long AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary ) : long
AtulProcessID long The atul process ID.
CreatedBy int The created by ID.
OwnedBy int The owned by ID.
AtulProcessStatusID int The atul process status ID.
SubjectIdentifier string The identifier for the subject of the instance (e.g. server ID).
SubjectSummary string The friendly name for the subject of the instance (e.g. host name).
return long

CreateInstanceProcess() public method

Creates the instance process.
public CreateInstanceProcess ( string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary ) : long
AtulProcessID string The atul process ID.
CreatedBy string The created by ID.
OwnedBy string The owned by ID.
AtulProcessStatusID string The atul process status ID.
SubjectIdentifier string The identifier for the subject of the instance (e.g. server ID).
SubjectSummary string The friendly name for the subject of the instance (e.g. host name).
return long

CreateProcess() public method

Creates the process.
public CreateProcess ( string ProcessDescription, string ProcessSummary, int CreatedBy, int OwnedBy, int AtulProcessStatusID, int DeadLineOffset ) : long
ProcessDescription string The process description.
ProcessSummary string The process summary.
CreatedBy int The created by.
OwnedBy int The owned by.
AtulProcessStatusID int The atul process status ID.
DeadLineOffset int The dead line offset.
return long

CreateProcess() public method

Creates the process.
public CreateProcess ( string ProcessDescription, string ProcessSummary, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string AtulUserDefinedAttributeID, string DeadLineOffset ) : long
ProcessDescription string The process description.
ProcessSummary string The process summary.
CreatedBy string The created by.
OwnedBy string The owned by.
AtulProcessStatusID string The atul process status ID.
AtulUserDefinedAttributeID string The atul user defined attribute ID.
DeadLineOffset string The dead line offset.
return long

CreateProcessSchedule() public method

public CreateProcessSchedule ( long ProcessID, string scheduleVersion, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : Schedule
ProcessID long
scheduleVersion string
nextScheduled System.DateTime
repeatSchedule string
instantiatedUsers string
return Schedule

CreateScheduledProcessInstance() public method

public CreateScheduledProcessInstance ( long ProcessID, string scheduleVersion ) : bool
ProcessID long
scheduleVersion string
return bool

CreateSubProcess() public method

Creates the sub process.
public CreateSubProcess ( string AtulProcessID, string AtulSubProcessID, string ProcessSubprocessSortOrder, string NotificationServiceProvideID, string NotificationIdentifier, string ResponsibilityOf, string DeadlineOffset, string CreatedBy ) : bool
AtulProcessID string The atul process ID.
AtulSubProcessID string The atul sub process ID.
ProcessSubprocessSortOrder string The process subprocess sort order.
NotificationServiceProvideID string The notification service provide ID.
NotificationIdentifier string The notification identifier.
ResponsibilityOf string The responsibility of ID.
DeadlineOffset string The deadline offset.
CreatedBy string The created by ID.
return bool

CreateSubProcess() public method

public CreateSubProcess ( long AtulProcessID, string summary, string description, int sortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy, int OwnedBy ) : long
AtulProcessID long
summary string
description string
sortOrder int
NotificationIdentifier string
ResponsibilityOf int
DeadlineOffset int
CreatedBy int
OwnedBy int
return long

DeleteActivity() public method

Deletes the activity.
public DeleteActivity ( long ActivityID, int ModifiedBy ) : bool
ActivityID long The atul process ID.
ModifiedBy int The modified by.
return bool

DeleteActivity() public method

Deletes the activity.
public DeleteActivity ( string AtulProcessID, string ModifiedBy ) : bool
AtulProcessID string The atul process ID.
ModifiedBy string
return bool

DeleteActivityGroup() public method

Deletes the activity group.
public DeleteActivityGroup ( int AtulActivityGroupID, int ModifiedBy ) : bool
AtulActivityGroupID int The atul activity group ID.
ModifiedBy int The modified by.
return bool

DeleteActivityGroup() public method

Deletes the activity group.
public DeleteActivityGroup ( string AtulActivityGroupID, string ModifiedBy ) : bool
AtulActivityGroupID string The atul activity group ID.
ModifiedBy string The modified by.
return bool

DeleteInstanceProcess() public method

Deletes the instance process.
public DeleteInstanceProcess ( long AtulInstanceProcessID, long ModifiedBy ) : bool
AtulInstanceProcessID long
ModifiedBy long
return bool

DeleteInstanceProcessActivity() public method

Deletes the instance process activity.
public DeleteInstanceProcessActivity ( int AtulSubProcessID, int ModifiedBy ) : bool
AtulSubProcessID int
ModifiedBy int
return bool

DeleteInstanceProcessActivity() public method

Deletes the instance process activity.
public DeleteInstanceProcessActivity ( string AtulSubProcessID, string ModifiedBy ) : bool
AtulSubProcessID string
ModifiedBy string
return bool

DeleteProcess() public method

Deletes the process.
public DeleteProcess ( long AtulProcessID, long ModifiedBy ) : bool
AtulProcessID long The atul process ID.
ModifiedBy long The modified by.
return bool

DeleteProcessManager() public method

Deletes the process manager. TODO: [This is invalid, we would need to specify the process, usertypeID and the userID. Probably need a new proc]
public DeleteProcessManager ( int AtulUserID ) : bool
AtulUserID int The atul user ID.
return bool

DeleteProcessManager() public method

Deletes the process manager. TODO: [This is invalid, we would need to specify the process, usertypeID and the userID. Probably need a new proc]
public DeleteProcessManager ( string AtulUserID ) : bool
AtulUserID string The atul user ID.
return bool

DeleteProcessSchedule() public method

public DeleteProcessSchedule ( long ProcessScheduleID ) : bool
ProcessScheduleID long
return bool

DeleteSubProcess() public method

Deletes the sub process.
public DeleteSubProcess ( long AtulSubProcessID, int ModifiedBy ) : bool
AtulSubProcessID long The atul sub process ID.
ModifiedBy int The modified by.
return bool

DeleteSubProcess() public method

Deletes the sub process.
public DeleteSubProcess ( string AtulSubProcessID, string ModifiedBy ) : bool
AtulSubProcessID string The atul sub process ID.
ModifiedBy string The modified by.
return bool

EnableActivityAutomation() public method

Enables the activity automation. TODO: Find/Define appliciable attribute
public EnableActivityAutomation ( ) : string
return string

FlexFieldDelete() public method

delete the Flexfield
public FlexFieldDelete ( long AtulFlexFieldID, long ModifiedBy ) : bool
AtulFlexFieldID long The atul flexfield ID.
ModifiedBy long The modifiedby ID.
return bool

FlexFieldGet() public method

get the Flexfield.
public FlexFieldGet ( ) : string
return string

FlexFieldGetByID() public method

get the Flexfield by ID.
public FlexFieldGetByID ( long AtulFlexFieldID ) : string
AtulFlexFieldID long The atul flex field ID.
return string

FlexFieldGetBySearch() public method

get the Flexfield by search.
public FlexFieldGetBySearch ( long AtulProcessID, long AtulSubProcessID, long AtulActivityID ) : string
AtulProcessID long The atul process ID.
AtulSubProcessID long The atul sub process ID.
AtulActivityID long The atul activity ID.
return string

FlexFieldStorageDelete() public method

delete the flexfield.
public FlexFieldStorageDelete ( long AtulFlexFieldStorageID, long ModifiedBy ) : bool
AtulFlexFieldStorageID long The atul flex field storage ID.
ModifiedBy long The modified by.
return bool

FlexFieldStorageGet() public method

Get the flexfield storage.
public FlexFieldStorageGet ( ) : string
return string

FlexFieldStorageGetByID() public method

get the flexfield by ID.
public FlexFieldStorageGetByID ( long AtulFlexFieldStorageID ) : string
AtulFlexFieldStorageID long The atul flex field storage ID.
return string

FlexFieldStorageGetByProcessID() public method

get the flexfield by process ID.
public FlexFieldStorageGetByProcessID ( long AtulInstanceProcessID ) : string
AtulInstanceProcessID long The atul instance process ID.
return string

FlexFieldStorageInsert() public method

insert the flexfield.
public FlexFieldStorageInsert ( long AtulInstanceProcessID, long AtulFlexFieldID, string tokenValue, long CreatedBy ) : string
AtulInstanceProcessID long The atul instance process ID.
AtulFlexFieldID long
tokenValue string The token value.
CreatedBy long The created by.
return string

FlexFieldStorageUpdate() public method

update the flexfield.
public FlexFieldStorageUpdate ( long AtulFlexFieldStorageID, long AtulInstanceProcessID, string TokenValue, long ModifiedBy ) : bool
AtulFlexFieldStorageID long The atul flex field storage ID.
AtulInstanceProcessID long The atul instance process ID.
TokenValue string The token value.
ModifiedBy long The modified by.
return bool

FlexFieldUpdate() public method

Update the flexfield.
public FlexFieldUpdate ( long AtulFlexFieldID, string TokenName, int IsRequired, long ModifiedBy, long AtulProcessID, long AtulSubProcessID, long AtulActivityID ) : bool
AtulFlexFieldID long The atul flex field ID.
TokenName string Name of the token.
IsRequired int The is required.
ModifiedBy long The modified by.
AtulProcessID long The atul process ID.
AtulSubProcessID long The atul sub process ID.
AtulActivityID long The atul activity ID.
return bool

FlexFieldUpsert() public method

Upsert the flexfield.
public FlexFieldUpsert ( string TokenName, int IsRequired, long CreatedBy, long AtulProcessID, long AtulSubProcessID, long AtulActivityID, string DefaultTokenValue, string FriendlyName, string ToolTip, int IsParameter ) : bool
TokenName string Name of the token.
IsRequired int The is required.
CreatedBy long The created by.
AtulProcessID long The atul process ID.
AtulSubProcessID long The atul sub process ID.
AtulActivityID long The atul activity ID.
DefaultTokenValue string The default token value.
FriendlyName string Name of the friendly.
ToolTip string The tool tip.
IsParameter int The is parameter.
return bool

FlexFieldsGetByProcessID() public method

public FlexFieldsGetByProcessID ( long AtulProcessID ) : string
AtulProcessID long
return string

GetActivityByID() public method

public GetActivityByID ( long ActivityID ) : string
ActivityID long
return string

GetAllActivity() public method

Gets all activity.
public GetAllActivity ( ) : string
return string

GetAllActivityBySubProcessID() public method

public GetAllActivityBySubProcessID ( System.Int64 SubProcessID ) : string
SubProcessID System.Int64
return string

GetAllDeadlineType() public method

public GetAllDeadlineType ( ) : string
return string

GetAllInstanceProcess() public method

Gets all instance process.
public GetAllInstanceProcess ( ) : string
return string

GetAllInstanceProcessActivity() public method

Gets all instance process activity.
public GetAllInstanceProcessActivity ( ) : string
return string

GetAllProcess() public method

Gets all process.
public GetAllProcess ( ) : string
return string

GetAllProcessActivityGroups() public method

Gets all process activity groups.
public GetAllProcessActivityGroups ( ) : string
return string

GetAllProcessStatus() public method

public GetAllProcessStatus ( ) : string
return string

GetAllProcessSubProcess() public method

Gets all process sub process.
public GetAllProcessSubProcess ( ) : string
return string

GetAllProcessSubProcessActivity() public method

Gets all process sub process activity. TODO: New proc needed to get a subprocess's activities
public GetAllProcessSubProcessActivity ( ) : string
return string

GetAllProcessSubProcessByProcessID() public method

Gets all process sub process by process ID.
public GetAllProcessSubProcessByProcessID ( System.Int64 AtulProcessSubprocessID ) : string
AtulProcessSubprocessID System.Int64
return string

GetAllSubProcessByProcessID() public method

public GetAllSubProcessByProcessID ( System.Int64 ProcessID ) : string
ProcessID System.Int64
return string

GetCurrentInstanceSubProcess() public method

Gets the current instance sub process.
public GetCurrentInstanceSubProcess ( System.Int64 AtulInstanceProcessID ) : string
AtulInstanceProcessID System.Int64 The atul instance process ID.
return string

GetInstanceDetail() public method

Gets the instance detail.
public GetInstanceDetail ( string AtulInstanceProcessID ) : string
AtulInstanceProcessID string The atul instance process ID.
return string

GetInstanceProcessByID() public method

Gets the instance process by ID.
public GetInstanceProcessByID ( System.Int64 AtulInstanceProcessID ) : string
AtulInstanceProcessID System.Int64 The atul instance process ID.
return string

GetInstanceProcessByID() public method

Gets the instance process by ID.
public GetInstanceProcessByID ( string AtulInstanceProcessID ) : string
AtulInstanceProcessID string The atul instance process ID.
return string

GetInstanceProcessByProcessID() public method

Gets all the instance processes for a given process ID.
public GetInstanceProcessByProcessID ( System.Int64 AtulProcessID ) : string
AtulProcessID System.Int64 The atul process ID.
return string

GetProcessActivityByProcessIDActivityID() public method

public GetProcessActivityByProcessIDActivityID ( long ProcessID, long ActivityID ) : string
ProcessID long
ActivityID long
return string

GetProcessByID() public method

Gets the process by ID.
public GetProcessByID ( System.Int64 AtulProcessID ) : string
AtulProcessID System.Int64 The atul process ID.
return string

GetProcessBySummary() public method

public GetProcessBySummary ( string ProcessSummary ) : Process
ProcessSummary string
return Process

GetProcessScheduleByID() public method

public GetProcessScheduleByID ( long ScheduleID ) : Schedule
ScheduleID long
return Schedule

GetProcessScheduleByProcessID() public method

public GetProcessScheduleByProcessID ( long ProcessID ) : Schedule
ProcessID long
return Schedule

GetProcessSubProcessByProcessIDSubProcessID() public method

public GetProcessSubProcessByProcessIDSubProcessID ( long ProcessID, long SubProcessID ) : string
ProcessID long
SubProcessID long
return string

GetProcessSubProcessDetailsBySubProcessID() public method

Gets all process sub process by process ID.
public GetProcessSubProcessDetailsBySubProcessID ( System.Int64 AtulSubProcessID ) : string
AtulSubProcessID System.Int64 The atul sub process ID.
return string

GetProviderByID() public method

public GetProviderByID ( long providerID ) : string
providerID long
return string

GetProviderInfoBySubProcessID() public method

Gets the provider info by sub process ID.
public GetProviderInfoBySubProcessID ( System.Int64 AtulInstanceProcessSubProcessID ) : string
AtulInstanceProcessSubProcessID System.Int64 The atul instance process sub process ID.
return string

GetProviderParameters() public method

public GetProviderParameters ( long providerId, string ProviderVerb ) : string
providerId long
ProviderVerb string
return string

GetProviders() public method

Gets the providers.
public GetProviders ( ) : string
return string

GetQueueMessageByCorrelationID() public method

public GetQueueMessageByCorrelationID ( string queue, string correlationID ) : string
queue string
correlationID string
return string

GetSubProcessByID() public method

public GetSubProcessByID ( long SubProcessID ) : string
SubProcessID long
return string

HelloWorldBool() public method

Helloes the world bool.
public HelloWorldBool ( ) : bool
return bool

HelloWorldString() public method

Helloes the world string.
public HelloWorldString ( string word ) : string
word string The word.
return string

InsertInstanceProcess() public method

Inserts the instance process.
public InsertInstanceProcess ( int AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID ) : string
AtulProcessID int The atul process ID.
CreatedBy int The created by.
OwnedBy int The owned by.
AtulProcessStatusID int The atul process status ID.
return string

InsertInstanceProcess() public method

Inserts the instance process.
public InsertInstanceProcess ( string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID ) : string
AtulProcessID string The atul process ID.
CreatedBy string The created by.
OwnedBy string The owned by.
AtulProcessStatusID string The atul process status ID.
return string

InsertInstanceProcessActivity() public method

Inserts the instance process activity.
public InsertInstanceProcessActivity ( int AtulInstanceProcessID, int AtulProcessActivityID, int InstanceProcessActivityCompletedBy, int CreatedBy ) : string
AtulInstanceProcessID int The atul instance process ID.
AtulProcessActivityID int The atul process activity ID.
InstanceProcessActivityCompletedBy int The instance process activity completed by.
CreatedBy int The created by.
return string

InsertInstanceProcessActivity() public method

Inserts the instance process activity.
public InsertInstanceProcessActivity ( string AtulInstanceProcessID, string AtulProcessActivityID, string InstanceProcessActivityCompletedBy, string CreatedBy ) : string
AtulInstanceProcessID string The atul instance process ID.
AtulProcessActivityID string The atul process activity ID.
InstanceProcessActivityCompletedBy string The instance process activity completed by.
CreatedBy string The created by.
return string

InsertProvider() public method

Inserts the provider.
public InsertProvider ( string ServiceProviderName, string ServiceProviderDescription, int AtulServiceProviderClassID, string queue, int CreatedBy, string ServiceProviderXML ) : bool
ServiceProviderName string Name of the service provider.
ServiceProviderDescription string The service provider description.
AtulServiceProviderClassID int The atul service provider class ID.
queue string The queue.
CreatedBy int The created by.
ServiceProviderXML string The service provider XML.
return bool

InstanceProcessActivityComplete() public method

Instances the process activity complete.
public InstanceProcessActivityComplete ( System.Int64 AtulInstanceProcessActivityID, int statusBit, System.Int64 ModifiedBy ) : bool
AtulInstanceProcessActivityID System.Int64 The atul instance process activity ID.
statusBit int The status bit.
ModifiedBy System.Int64 The modified by.
return bool

ProcessCurrentSubProcessActor() public method

THIS METHOD WILL BE REPLACED WHEN WE AUTOMATE ALL OBJECTS Processes the Subprocess actor. When this method is called, the instance will be evaluated to see if there is an actor that is scope for processing. If an actor is in scope, the actor will be called with relevant parameters.
public ProcessCurrentSubProcessActor ( long AtulInstanceProcessID ) : string
AtulInstanceProcessID long The atul instance process ID.
return string

ProcessGetDeleted() public method

public ProcessGetDeleted ( int daysBack ) : List
daysBack int
return List

ProcessInstanceGetDeleted() public method

public ProcessInstanceGetDeleted ( int daysBack ) : List
daysBack int
return List

PushNextScheduleToAdminQueue() public method

public PushNextScheduleToAdminQueue ( Schedule s, System.DateTime next ) : string
s Schedule
next System.DateTime
return string

PushToQueue() public method

Pushes to queue.
public PushToQueue ( string queue, string body, string>.List headerList ) : string
queue string The queue.
body string The body.
headerList string>.List The header list.
return string

SetActivityDeadLine() public method

Sets the activity dead line.
public SetActivityDeadLine ( ) : string
return string

SetActivityManMinutes() public method

Sets the activity man minutes. TODO: Add man minute column, update proc(s)
public SetActivityManMinutes ( ) : string
return string

SetActivityPrerequsiteActivityGroup() public method

Sets the activity prerequsite activity group. TODO: Request proc to set prereq group Params: ActivityID, GroupID
public SetActivityPrerequsiteActivityGroup ( ) : string
return string

UndeleteInstanceProcess() public method

public UndeleteInstanceProcess ( long InstanceID, long ModifiedBy ) : bool
InstanceID long
ModifiedBy long
return bool

UndeleteProcess() public method

public UndeleteProcess ( long ProcessID, long ModifiedBy ) : bool
ProcessID long
ModifiedBy long
return bool

UpSertProvider() public method

Upsert provider.
public UpSertProvider ( string queue, string providerXML ) : bool
queue string The queue.
providerXML string The provider XML.
return bool

UpdateActivity() public method

public UpdateActivity ( long AtulActivityID, long AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, int AtulActivitySortOrder, int ModifiedBy, int OwnedBy ) : bool
AtulActivityID long
AtulSubProcessID long
ActivityDescription string
ActivitySummary string
ActivityProcedure string
AtulActivitySortOrder int
ModifiedBy int
OwnedBy int
return bool

UpdateActivitySort() public method

public UpdateActivitySort ( long AtulActivityID, int Sort, int ModifiedBy ) : bool
AtulActivityID long
Sort int
ModifiedBy int
return bool

UpdateInstanceProcess() public method

Updates the instance process.
public UpdateInstanceProcess ( long AtulInstanceProcessID, long AtulProcessID, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary, long SubjectServiceProviderID ) : bool
AtulInstanceProcessID long The atul instance process ID.
AtulProcessID long The atul process ID.
ModifiedBy int The modified by.
OwnedBy int The owned by.
AtulProcessStatusID int The atul process status ID.
SubjectIdentifier string
SubjectSummary string
SubjectServiceProviderID long
return bool

UpdateInstanceProcessActivity() public method

Updates the instance process activity.
public UpdateInstanceProcessActivity ( int AtulInstanceProcessActivityID, int AtulInstanceProcessID, int AtulProcessActivityID, int ProcessActivityCompleted, int ProcessActivityDidNotApply, int ProcessActivityDeadlineMissed, int InstanceProcessActivityCompletedBy, int ModifiedBy ) : string
AtulInstanceProcessActivityID int The atul instance process activity ID.
AtulInstanceProcessID int The atul instance process ID.
AtulProcessActivityID int The atul process activity ID.
ProcessActivityCompleted int The process activity completed.
ProcessActivityDidNotApply int The process activity did not apply.
ProcessActivityDeadlineMissed int The process activity deadline missed.
InstanceProcessActivityCompletedBy int The instance process activity completed by.
ModifiedBy int The modified by.
return string

UpdateInstanceProcessActivity() public method

Updates the instance process activity.
public UpdateInstanceProcessActivity ( string AtulInstanceProcessActivityID, string AtulInstanceProcessID, string AtulProcessActivityID, string ProcessActivityCompleted, string ProcessActivityDidNotApply, string ProcessActivityDeadlineMissed, string InstanceProcessActivityCompletedBy, string ModifiedBy ) : string
AtulInstanceProcessActivityID string The atul instance process activity ID.
AtulInstanceProcessID string The atul instance process ID.
AtulProcessActivityID string The atul process activity ID.
ProcessActivityCompleted string The process activity completed.
ProcessActivityDidNotApply string The process activity did not apply.
ProcessActivityDeadlineMissed string The process activity deadline missed.
InstanceProcessActivityCompletedBy string The instance process activity completed by.
ModifiedBy string The modified by.
return string

UpdateProcess() public method

public UpdateProcess ( long ProcessID, string ProcessDescription, string ProcessSummary, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, int DeadLineOffset, long SubjectServiceProviderID, string ScopeID ) : bool
ProcessID long
ProcessDescription string
ProcessSummary string
ModifiedBy int
OwnedBy int
AtulProcessStatusID int
DeadLineOffset int
SubjectServiceProviderID long
ScopeID string
return bool

UpdateProcessActivity() public method

public UpdateProcessActivity ( long ProcessActivityID, long ProcessID, long ActivityID, int sort, bool deadlineResultsInMissed, int deadlineType, int deadline, int ModifiedBy, long AutomationServiceProviderID ) : bool
ProcessActivityID long
ProcessID long
ActivityID long
sort int
deadlineResultsInMissed bool
deadlineType int
deadline int
ModifiedBy int
AutomationServiceProviderID long
return bool

UpdateProcessSchedule() public method

public UpdateProcessSchedule ( long scheduleProcessID, string scheduleVersion, System.DateTime lastInstantiated, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : bool
scheduleProcessID long
scheduleVersion string
lastInstantiated System.DateTime
nextScheduled System.DateTime
repeatSchedule string
instantiatedUsers string
return bool

UpdateProcessSubProcess() public method

Updates the process sub process.
public UpdateProcessSubProcess ( long ProcessSubProcessID, long ProcessID, long SubProcessID, int sort, int responsibilityOf, int DeadlineOffset, int ModifiedBy, long NotificationServiceProviderID ) : bool
ProcessSubProcessID long The process sub process ID.
ProcessID long The process ID.
SubProcessID long The sub process ID.
sort int The sort.
responsibilityOf int The responsibility of.
DeadlineOffset int The deadline offset.
ModifiedBy int The modified by.
NotificationServiceProviderID long The notification service provider ID.
return bool

UpdateProcessSubProcessSort() public method

public UpdateProcessSubProcessSort ( long AtulProcessSubProcessID, int Sort, int ModifiedBy ) : bool
AtulProcessSubProcessID long
Sort int
ModifiedBy int
return bool

UpdateProvider() public method

Updates the provider.
public UpdateProvider ( long AtulServiceProviderID, string ServiceProviderName, string ServiceProviderDescription, int AtulServiceProviderClassID, string queue, int ModifiedBy, string ServiceProviderXML ) : bool
AtulServiceProviderID long The atul service provider ID.
ServiceProviderName string Name of the service provider.
ServiceProviderDescription string The service provider description.
AtulServiceProviderClassID int The atul service provider class ID.
queue string
ModifiedBy int The modified by.
ServiceProviderXML string The service provider XML.
return bool

UpdateRunningProcessSpecification() public method

Updates the running process specification. TODO: MAtch to docs, discuss with Cory
public UpdateRunningProcessSpecification ( ) : string
return string

UpdateSubProcess() public method

public UpdateSubProcess ( long SubProcessID, string SubProcessDescription, string SubProcessSummary, int ModifiedBy, int OwnedBy ) : bool
SubProcessID long
SubProcessDescription string
SubProcessSummary string
ModifiedBy int
OwnedBy int
return bool