}//END setUserRecordAccess // ============================================================================== /// <summary> /// This method creates a save groupCommand. /// </summary> /// <returns>Evado.Model.UniForm.Command object</returns> // ------------------------------------------------------------------------------ private Evado.Model.UniForm.Command createRecordSaveCommand ( Guid RecordGuid, String Title, String SaveAction ) { this.LogMethod ( "createRecordSaveCommand" ); // // Initialise the methods variables and objects. // Evado.Model.UniForm.Parameter parameter = new Evado.Model.UniForm.Parameter ( ); // // initialise the save groupCommand. // Evado.Model.UniForm.Command saveCommand = new Evado.Model.UniForm.Command ( Title, EuAdapter.APPLICATION_ID, EuAdapterClasses.Ancillary_Record.ToString ( ), Evado.Model.UniForm.ApplicationMethods.Save_Object ); // // Define the groupCommand parameters. // parameter = new Evado.Model.UniForm.Parameter ( "Guid", RecordGuid.ToString ( ) ); saveCommand.Parameters.Add ( parameter ); parameter = new Evado.Model.UniForm.Parameter ( "SaveAction", SaveAction ); saveCommand.Parameters.Add ( parameter ); return saveCommand; }//END createRecordSaveCommand method
}//END createRecordSaveCommand method // ============================================================================== /// <summary> /// This method returns a client application ResultData object /// </summary> /// <param name="ClientDataObject">Evado.Model.UniForm.AppData object.</param> /// <returns>Evado.Model.UniForm.AppData object</returns> // ------------------------------------------------------------------------------ private void getClientDataObject ( Evado.Model.UniForm.AppData ClientDataObject ) { this.LogMethod ( "getClientDataObject" ); // // Initialise the methods variables and objects. // ClientDataObject.Id = this.Session.AncillaryRecord.Guid; ClientDataObject.Title = EvLabels.Ancillary_Record_Object_Page_Title + this.Session.AncillaryRecord.RecordId; ClientDataObject.Page.Id = ClientDataObject.Id; ClientDataObject.Page.Title = ClientDataObject.Title; ClientDataObject.Page.EditAccess = Evado.Model.UniForm.EditAccess.Enabled; // // Define the save and delete groupCommand parameters // Evado.Model.UniForm.Parameter parameter = new Evado.Model.UniForm.Parameter ( "Guid", ClientDataObject.Id.ToString ( ) ); // // get the page commands. // this.getClientDataObject_PageCommands ( ClientDataObject.Page ); // // create the page pageMenuGroup // this.getClientDataObject_FieldGroup ( ClientDataObject.Page ); // // create the page pageMenuGroup // this.getClientDataObject_BinaryFileGroup ( ClientDataObject.Page ); this.getClientDataObject_SignoffLog_Group ( ClientDataObject.Page ); this.LogMethodEnd ( "getClientDataObject" ); }//END getClientDataObject Method