spec/lib/data/status.cfc
2025-06-02 16:16:51 +03:00

43 lines
1.4 KiB
Plaintext

<cfcomponent displayname="Bean Status" output="false">
<!--- v 0.03 2024-09-05 12:36:40 added recordExists --->
<cfproperty name="errorState" type="boolean"/>
<cfproperty name="errorMessage" type="string"/>
<cfproperty name="processingMode" type="string"/>
<cfproperty name="recordExists" type="boolean"/>
<cffunction name="init">
<cfset this.errorState=false/>
<cfset this.errorMessage=""/>
<cfset this.processingMode=""/>
<cfset this.recordExists=false/>
<cfreturn this>
</cffunction>
<cffunction name="init">
<cfargument name="errorState" type="boolean"/>
<cfargument name="errorMessage" type="string"/>
<cfargument name="processingMode" type="string"/>
<cfset this.errorState=arguments.errorState/>
<cfset this.errorMessage=arguments.errorMessage/>
<cfset this.processingMode=arguments.processingMode/>
<cfreturn this>
</cffunction>
<cffunction name="init">
<cfargument name="errorState" type="boolean"/>
<cfargument name="errorMessage" type="string"/>
<cfargument name="processingMode" type="string"/>
<cfargument name="recordExists" type="boolean"/>
<cfset this.errorState=arguments.errorState/>
<cfset this.errorMessage=arguments.errorMessage/>
<cfset this.processingMode=arguments.processingMode/>
<cfset this.recordExists=arguments.recordExists/>
<cfreturn this>
</cffunction>
</cfcomponent>