/// <summary>
        /// Initializes a new instance of the 'ArgumentOVController' class.
        /// </summary>
        /// <param name="name">Name of the object-valued Argument.</param>
        /// <param name="alias">Alias of the object-valued Argument.</param>
        /// <param name="idxml">IdXML of the object-valued Argument.</param>
        /// <param name="domain">Domain or class name of the object-valued Argument.</param>
        /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
        /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
        /// <param name="isNavigationalFilter">Indicates whether the object-valued Argument has navigational filtering.</param>
        /// <param name="selectionScenario">Target selection scenario.</param>
        /// <param name="supplementaryInfo">Supplementary information.</param>
        /// <param name="alternateKeyName">AlternateKey's name of the object-valued Argument.</param>
        /// <param name="parent">Parent controller.</param>
        public ArgumentOVController(
            string name,
            string alias,
            string idxml,
            string domain,
            bool nullAllowed,
            bool multiSelectionAllowed,
            bool isNavigationalFilter,
            string selectionScenario,
            DisplaySetController supplementaryInfo,
            string alternateKeyName,
            IUController parent)
            : base(name, alias, idxml, domain, nullAllowed, multiSelectionAllowed, parent)
        {
            mSelectionScenario     = selectionScenario;
            mNavigationalFiltering = isNavigationalFilter;
            if (supplementaryInfo == null)
            {
                // Message that shows the number of selected elements (only in multiselelection).
                DisplaySetController lDisplaySetController = new DisplaySetController();
                SupplementaryInfo = lDisplaySetController;
            }
            else
            {
                // DisplaySet supplementary information.
                SupplementaryInfo = supplementaryInfo;
            }

            this.AlternateKeyName = alternateKeyName;

            mEditors = new EditorList(this);
        }
 /// <summary>
 /// Initializes a new instance of the 'IUInstanceController' class.
 /// </summary>
 /// <param name="name">Name of the Interaction Unit.</param>
 /// <param name="alias">Alias of the Interaction Unit.</param>
 /// <param name="idXML">IdXML of the Interaction Unit.</param>
 /// <param name="context">Context</param>
 /// <param name="parent">Parent controller</param>
 public IUInstanceController(string name, string alias, string idXML, IUInstanceContext context, IUController parent)
     : base()
 {
     Name    = name;
     Alias   = alias;
     IdXML   = idXML;
     Context = context;
     Parent  = parent;
 }
 /// <summary>
 /// Initializes a new instance of the 'IUInstanceController' class.
 /// </summary>
 /// <param name="name">Name of the Interaction Unit.</param>
 /// <param name="alias">Alias of the Interaction Unit.</param>
 /// <param name="idXML">IdXML of the Interaction Unit.</param>
 /// <param name="context">Context</param>
 /// <param name="parent">Parent controller</param>
 public IUInstanceController(string name, string alias, string idXML, IUInstanceContext context, IUController parent)
     : base()
 {
     Name = name;
     Alias = alias;
     IdXML = idXML;
     Context = context;
     Parent = parent;
 }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentController' class.
 /// </summary>
 /// <param name="name">Name of the Argument.</param>
 /// <param name="parent">Parent controller.</param>
 /// <param name="alias">Alias of the Argument.</param>
 /// <param name="idXML">IdXML ofthe Argument.</param>
 /// <param name="nullAllowed">Indicates whether the Argument allows null values.</param>
 /// <param name="multiSelectionAllowed">Indicates whether the Argument allows multiple values.</param>
 public ArgumentController(string name, IUController parent, string alias, string idXML, bool nullAllowed, bool multiSelectionAllowed)
     : base(parent)
 {
     mName = name;
     mAlias = alias;
     mIdXML = idXML;
     mNullAllowed = nullAllowed;
     mMultiSelectionAllowed = multiSelectionAllowed;
 }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentController' class.
 /// </summary>
 /// <param name="name">Name of the Argument.</param>
 /// <param name="parent">Parent controller.</param>
 /// <param name="alias">Alias of the Argument.</param>
 /// <param name="idXML">IdXML ofthe Argument.</param>
 /// <param name="nullAllowed">Indicates whether the Argument allows null values.</param>
 /// <param name="multiSelectionAllowed">Indicates whether the Argument allows multiple values.</param>
 public ArgumentController(string name, IUController parent, string alias, string idXML, bool nullAllowed, bool multiSelectionAllowed)
     : base(parent)
 {
     mName = name;
     mAlias = alias;
     mIdXML = idXML;
     mNullAllowed = nullAllowed;
     mMultiSelectionAllowed = multiSelectionAllowed;
 }
        /// <summary>
        /// Initializes a new instance of the 'IUMasterDetailController' class.
        /// </summary>
        /// <param name="name">Name of the Interaction Unit.</param>
        /// <param name="alias">Alias of the Interaction Unit.</param>
        /// <param name="idXML">IdXML of the Interaction Unit.</param>
        /// <param name="context">Context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUMasterDetailController(string name, string alias, string idXML, IUMasterDetailContext context, IUController parent)
            : base()
        {
            Name    = name;
            Alias   = alias;
            IdXML   = idXML;
            Context = context;
            Parent  = parent;

            // Create Collection to insert details.
            mDetails = new List <IDetailController>();
        }
        /// <summary>
        /// Initializes a new instance of the 'ArgumentOVControllerAbstract' class.
        /// </summary>
        /// <param name="name">Name of the object-valued Argument.</param>
        /// <param name="alias">Alias of the object-valued Argument.</param>
        /// <param name="idxml">IdXML of the object-valued Argument.</param>
        /// <param name="domain">Domain or class name of the object-valued Argument.</param>
        /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
        /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
        /// <param name="parent">Parent controller.</param>
        public ArgumentOVControllerAbstract(
			string name,
			string alias,
			string idxml,
			string domain,
			bool nullAllowed,
			bool multiSelectionAllowed,
			IUController parent)
            : base(name, parent, alias, idxml, nullAllowed, multiSelectionAllowed)
        {
            mDomain = domain;
        }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentOVControllerAbstract' class.
 /// </summary>
 /// <param name="name">Name of the object-valued Argument.</param>
 /// <param name="alias">Alias of the object-valued Argument.</param>
 /// <param name="idxml">IdXML of the object-valued Argument.</param>
 /// <param name="domain">Domain or class name of the object-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
 /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentOVControllerAbstract(
     string name,
     string alias,
     string idxml,
     string domain,
     bool nullAllowed,
     bool multiSelectionAllowed,
     IUController parent)
     : base(name, parent, alias, idxml, nullAllowed, multiSelectionAllowed)
 {
     mDomain = domain;
 }
        /// <summary>
        /// Initializes a new instance of the 'IUMasterDetailController' class.
        /// </summary>
        /// <param name="name">Name of the Interaction Unit.</param>
        /// <param name="alias">Alias of the Interaction Unit.</param>
        /// <param name="idXML">IdXML of the Interaction Unit.</param>
        /// <param name="context">Context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUMasterDetailController(string name, string alias, string idXML, IUMasterDetailContext context, IUController parent)
            : base()
        {
            Name = name;
            Alias = alias;
            IdXML = idXML;
            Context = context;
            Parent = parent;

            // Create Collection to insert details.
            mDetails = new List<IDetailController>();
        }
Esempio n. 10
0
        /// <summary>
        /// Initializes a new instance of the 'IUPopulationController' class.
        /// </summary>
        /// <param name="name">Name of the Interaction Unit.</param>
        /// <param name="alias">Alias of the Interaction Unit.</param>
        /// <param name="idXML">IdXML of the Interaction Unit.</param>
        /// <param name="context">Current context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUPopulationController(string name, string alias, string idXML, IUPopulationContext context, IUController parent)
            : base()
        {
            Name    = name;
            Alias   = alias;
            IdXML   = idXML;
            Context = context;
            Parent  = parent;

            Filters = new FilterControllerList();

            mOrderCriterias = new Dictionary <string, OrderCriteriaController>(StringComparer.CurrentCultureIgnoreCase);
        }
        /// <summary>
        /// Initializes a new instance of the 'IUPopulationController' class.
        /// </summary>
        /// <param name="name">Name of the Interaction Unit.</param>
        /// <param name="alias">Alias of the Interaction Unit.</param>
        /// <param name="idXML">IdXML of the Interaction Unit.</param>
        /// <param name="context">Current context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUPopulationController(string name, string alias, string idXML, IUPopulationContext context, IUController parent)
            : base()
        {
            Name = name;
            Alias = alias;
            IdXML = idXML;
            Context = context;
            Parent =  parent;

            Filters = new FilterControllerList();

            mOrderCriterias = new Dictionary<string, OrderCriteriaController>(StringComparer.CurrentCultureIgnoreCase);
        }
 public ArgumentOVController(
     string name,
     string alias,
     string idxml,
     string domain,
     bool nullAllowed,
     bool multiSelectionAllowed,
     bool isNavigationalFilter,
     string selectionScenario,
     DisplaySetController supplementaryInfo,
     IUController parent)
     : this(name, alias, idxml, domain, nullAllowed, multiSelectionAllowed, isNavigationalFilter, selectionScenario, supplementaryInfo, string.Empty, parent)
 {
 }
Esempio n. 13
0
 public ArgumentDVController(
     string name,
     string alias,
     string idxml,
     ModelType modelType,
     int maxLength,
     bool nullAllowed,
     IUController parent)
     : base(name, parent, alias, idxml, nullAllowed, false)
 {
     mModelType = modelType;
     mMaxLength = maxLength;
     mOptions   = null;
 }
        /// <summary>
        /// nitializes a new instace of the 'IUFilterController' class.
        /// </summary>
        /// <param name="name">Interaction unit name.</param>
        /// <param name="alias">Alias of the filter.</param>
        /// <param name="idXml">IdXML of the filter.</param>
        /// <param name="defaultOrderCriteria">Default order criteria.</param>
        /// <param name="context">Context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUFilterController(
            string name,
            string alias,
            string idXml,
            string defaultOrderCriteria,
            IUFilterContext context,
            IUController parent)
            : base()
        {
            Name  = name;
            Alias = alias;
            IdXML = idXml;
            DefaultOrderCriteria = defaultOrderCriteria;
            Context = context;
            Parent  = parent;

            InputFields = new ArgumentControllerList();
        }
        /// <summary>
        /// nitializes a new instace of the 'IUFilterController' class.
        /// </summary>
        /// <param name="name">Interaction unit name.</param>
        /// <param name="alias">Alias of the filter.</param>
        /// <param name="idXml">IdXML of the filter.</param>
        /// <param name="defaultOrderCriteria">Default order criteria.</param>
        /// <param name="context">Context.</param>
        /// <param name="parent">Parent controller.</param>
        public IUFilterController(
			string name,
			string alias,
			string idXml,
			string defaultOrderCriteria,
			IUFilterContext context,
			IUController parent)
            : base()
        {
            Name = name;
            Alias = alias;
            IdXML = idXml;
            DefaultOrderCriteria = defaultOrderCriteria;
            Context = context;
            Parent = parent;

            InputFields = new ArgumentControllerList();
        }
        /// <summary>
        /// Initializes a new instance of the 'ArgumentDVController' class.
        /// </summary>
        /// <param name="name">Name of the data-valued Argument.</param>
        /// <param name="alias">Alias of the data-valued Argument.</param>
        /// <param name="idXML">IdXML of the data-valued Argument.</param>
        /// <param name="modelType">ModelType of the data-valued Argument.</param>
        /// <param name="nullAllowed">Indicates whether the data-valued Argument allows null values.</param>
        /// <param name="options">List of options of the defined selection.</param>
        /// <param name="optionsDefaultValue">Default selected option for the defined seelction.</param>
        /// <param name="parent">Parent controller.</param>
        public ArgumentDVController(
			string name,
			string alias,
			string idXML,
			ModelType modelType,
			bool nullAllowed,
			List<KeyValuePair<object, string>> options,
			object optionsDefaultValue,
			IUController parent)
            : base(name, parent, alias, idXML, nullAllowed, false)
        {
            mModelType = modelType;
            mOptions = options;
            // Add the 'null' value to the options list.
            if (nullAllowed)
            {
                mOptions.Insert(0, new KeyValuePair<object, string>(null, string.Empty));
            }
            mOptionsDefaultValue = optionsDefaultValue;
        }
Esempio n. 17
0
 /// <summary>
 /// Initializes a new instance of the 'ArgumentDVController' class.
 /// </summary>
 /// <param name="name">Name of the data-valued Argument.</param>
 /// <param name="alias">Alias of the data-valued Argument.</param>
 /// <param name="idXML">IdXML of the data-valued Argument.</param>
 /// <param name="modelType">ModelType of the data-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the data-valued Argument allows null values.</param>
 /// <param name="options">List of options of the defined selection.</param>
 /// <param name="optionsDefaultValue">Default selected option for the defined seelction.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentDVController(
     string name,
     string alias,
     string idXML,
     ModelType modelType,
     bool nullAllowed,
     List <KeyValuePair <object, string> > options,
     object optionsDefaultValue,
     IUController parent)
     : base(name, parent, alias, idXML, nullAllowed, false)
 {
     mModelType = modelType;
     mOptions   = options;
     // Add the 'null' value to the options list.
     if (nullAllowed)
     {
         mOptions.Insert(0, new KeyValuePair <object, string>(null, string.Empty));
     }
     mOptionsDefaultValue = optionsDefaultValue;
 }
Esempio n. 18
0
        /// <summary>
        /// Creates the specific ActionController of the '_Auto_' Action pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific ActionController of the '_Auto_' Action pattern.</returns>
        public static ActionController Action__Auto_(IUController parentController)
        {
            // Action _Auto_.
            ActionController lActionController = new ActionController("_Auto_", parentController, Properties.Settings.Default.ConjunctionPolicy);
            string[] lAgentsActionItem0 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem0 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                0,
                "New",
                "Clas_1348178542592177AccOfer_AutoElemAcc_1_Alias",
                lAgentsActionItem0,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_create_instanceInboundIT).FullName, "",
                ActionItemType.Creation,
                false,
                true,
                lAttrActivationItem0);

            string[] lAgentsActionItem1 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem1 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                1,
                "Destroy",
                "Clas_1348178542592177AccOfer_AutoElemAcc_2_Alias",
                lAgentsActionItem1,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_delete_instanceInboundIT).FullName,
                "",
                ActionItemType.Destruction,
                false,
                true,
                lAttrActivationItem1);

            string[] lAgentsActionItem2 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem2 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                2,
                "Edit",
                "Clas_1348178542592177AccOfer_AutoElemAcc_3_Alias",
                lAgentsActionItem2,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUServices.SIU_edit_instanceInboundIT).FullName,
                "",
                ActionItemType.Normal,
                false,
                true,
                lAttrActivationItem2);

            string[] lAgentsActionItem3 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem3 = new List<KeyValuePair<string, string[]>>();
            lActionController.Add(
                3,
                "PasajeroAeronave",
                "Clas_1348178542592177AccOfer_AutoElemAcc_4_Alias",
                lAgentsActionItem3,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUInstances.IIU_PasajeroAeronaveIT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem3);

            string[] lAgentsActionItem4 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem4 = new List<KeyValuePair<string, string[]>>();
            lActionController.Add(
                4,
                "PasajeroAeronave",
                "Clas_1348178542592177AccOfer_AutoElemAcc_5_Alias",
                lAgentsActionItem4,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUMasterDetails.MDIU_PasajeroAeronaveIT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem4);

            string[] lAgentsActionItem5 = Logic.InstanceReportsList.GetAgentsForClass("PasajeroAeronave");
            List<KeyValuePair<string, string[]>> lAttrActivationItem5 = new List<KeyValuePair<string, string[]>>();
            lActionController.Add(
                5,
                LanguageConstantValues.L_PRINT,
                LanguageConstantKeys.L_PRINT,
                lAgentsActionItem5,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PrintForm).FullName,
                "",
                ActionItemType.Print,
                true,
                true,
                lAttrActivationItem5);

            return lActionController;
        }
        /// <summary>
        /// Initializes a new instance of 'IUServiceController', class name and service name are indicated.
        /// </summary>
        /// <param name="name">Name of the Interaction Unit.</param>
        /// <param name="alias">Alias of the Interaction Unit.</param>
        /// <param name="idXML">IdXML of the Interaction Unit.</param>
        /// <param name="agents">List of agents.</param>
        /// <param name="className">Class name.</param>
        /// <param name="serviceName">Service name.</param>
        /// <param name="context">Context.</param>
        /// <param name="parent">Parent controller.</param>
        /// <param name="nextPreviousFeature">Indicates whether the Next & Previous feature is enabled or not.</param>
        public IUServiceController(
			string name,
			string alias,
			string idXML,
			string[] agents,
			string className,
			string interactionUnitServiceName,
			IUContext context,
			IUController parent,
			bool nextPreviousFeature)
            : base()
        {
            // Service Name.
            Name = name;

            // Interaction Unit Alias.
            Alias = alias;

            // Interaction Unit Identify.
            IdXML = idXML;

            List<string> lAgents = new List<string>(agents);
            Agents = lAgents;

            // Interaction Unit Class Name.
            ClassName = className;

            // Interaction Unit Service Name.
            InteractionUnitServiceName = interactionUnitServiceName;

            // Interaction Unit Context.
            Context = (IUServiceContext)context;

            // Interaction Unit Parent.
            Parent = parent;

            // Allow/Disable next previous feature
            NextPreviousFeature = nextPreviousFeature;

            // Allow Input Argument List
            InputFields = new ArgumentControllerList();

            // Allow Output Argument List
            OutputFields = new ArgumentControllerList();
        }
 /// <summary>
 /// Initializes a new instance of 'IUServiceController', class name and service name are indicated.
 /// </summary>
 /// <param name="name">Name of the Interaction Unit.</param>
 /// <param name="alias">Alias of the Interaction Unit.</param>
 /// <param name="idXML">IdXML of the Interaction Unit.</param>
 /// <param name="agents">List of agents.</param>
 /// <param name="className">Class name.</param>
 /// <param name="serviceName">Service name.</param>
 /// <param name="context">Context.</param>
 /// <param name="parent">Parent controller.</param>
 public IUServiceController(string name, string alias, string idXML, string[] agents, string className, string interactionUnitServiceName, IUContext context, IUController parent)
     : this(name, alias, idXML, agents, className, interactionUnitServiceName, context, parent, false)
 {
 }
 /// <summary>
 /// Initializes a new instance of the 'NavigationController' class.
 /// </summary>
 /// <param name="name">Name of the Navigation controller.</param>
 /// <param name="parent">Parent controller.</param>
 public NavigationController(string name, IUController parent)
     : base(parent)
 {
     mName = name;
 }
Esempio n. 22
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'delete_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'delete_instance' IU pattern.</returns>
        public static IUServiceController Service_delete_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Pasajero", "delete_instance", "SIU_delete_instance");
            IUServiceController lController = new IUServiceController("delete_instance", "Destroy", "Clas_1348178542592658Ser_2_Alias", lAgentsService, "Pasajero", "delete_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            ArgumentOVController lArgument = null;
            // Argument p_thisPasajero.
            lArgument = new ArgumentOVController("p_thisPasajero", "Pasajero", "Clas_1348178542592658Ser_2UIServ_1ElemAgrup_1_Alias", "Pasajero", false, true, false, typeof(InteractionToolkit.Pasajero.IUPopulations.PIU_PasajeroIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 23
0
        /// <summary>
        /// Creates the specific NavigationController of the '_Auto_' Navigation pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific NavigationController of the '_Auto_' Navigation pattern.</returns>
        public static NavigationController Navigation__Auto_(IUController parentController)
        {
            // Navigation _Auto_.
            NavigationController lNavigationController = new NavigationController("_Auto_", parentController);

            string[] lAgentsNavigationItem0 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem0 = new List<KeyValuePair<string, string[]>>();
            lNavigationController.Add(
                0,
                "PasajeroAeronave",
                "Clas_1348178542592658NavOfer_AutoElemNav_1_Alias",
                lAgentsNavigationItem0,
                "PasajeroAeronave",
                typeof(InteractionToolkit.PasajeroAeronave.IUInstances.IIU_PasajeroAeronaveIT).FullName,
                "Pasajero",
                "",
                "PasajeroAeronave",
                "Clas_1348178542592177UIInst_2",
                "Pasajero",
                "Clas_1348178542592658",
                "",
                lAttrActivationItem0,
                "");

            return lNavigationController;
        }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentOVPreloadController' class.
 /// </summary>
 /// <param name="name">Name of the object-valued Argument.</param>
 /// <param name="alias">Alias of the object-valued Argument.</param>
 /// <param name="idxml">IdXML of the object-valued Argument.</param>
 /// <param name="domain">Domain or class name of the object-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
 /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentOVPreloadController(string name, string alias, string idxml, string domain, bool nullAllowed, bool multipleSelectionAllowed, IUController parent)
     : base(name, alias, idxml, domain, nullAllowed, multipleSelectionAllowed, parent)
 {
 }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentOVPreloadController' class.
 /// </summary>
 /// <param name="name">Name of the object-valued Argument.</param>
 /// <param name="alias">Alias of the object-valued Argument.</param>
 /// <param name="idxml">IdXML of the object-valued Argument.</param>
 /// <param name="domain">Domain or class name of the object-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
 /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
 /// <param name="editor">DisplaySet.</param>
 /// <param name="orderCriteria">Order criteria.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentOVPreloadController(string name, string alias, string idxml, string domain, bool nullAllowed, bool multipleSelectionAllowed, DisplaySetController editor, OrderCriteriaController orderCriteria, IUController parent)
     : base(name, alias, idxml, domain, nullAllowed, multipleSelectionAllowed, parent)
 {
     Editor = editor;
     mOrderCriteria = orderCriteria;
 }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentOVPreloadController' class.
 /// </summary>
 /// <param name="name">Name of the object-valued Argument.</param>
 /// <param name="alias">Alias of the object-valued Argument.</param>
 /// <param name="idxml">IdXML of the object-valued Argument.</param>
 /// <param name="domain">Domain or class name of the object-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
 /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentOVPreloadController(string name, string alias, string idxml, string domain, bool nullAllowed, bool multipleSelectionAllowed, IUController parent)
     : base(name, alias, idxml, domain, nullAllowed, multipleSelectionAllowed, parent)
 {
 }
Esempio n. 27
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'edit_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'edit_instance' IU pattern.</returns>
        public static IUServiceController Service_edit_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "NaveNodriza", "edit_instance", "SIU_edit_instance");
            IUServiceController lController = new IUServiceController("edit_instance", "Edit", "Clas_1347649273856884Ser_3_Alias", lAgentsService, "NaveNodriza", "edit_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            ArgumentOVController lArgument = null;
            // Argument p_thisNaveNodriza.
            lArgument = new ArgumentOVController("p_thisNaveNodriza", "NaveNodriza", "Clas_1347649273856884Ser_3UIServ_1ElemAgrup_1_Alias", "NaveNodriza", false, true, false, typeof(InteractionToolkit.NaveNodriza.IUPopulations.PIU_NaveNodrizaIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 28
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Revision", "create_instance", "SIU_create_instance");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1348178542592347Ser_1_Alias", lAgentsService, "Revision", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_RevisarAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrid_RevisarAeronave", "id_RevisarAeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrFechaRevision.
            InboundArguments.Add(new ArgumentDVController("p_atrFechaRevision", "FechaRevision", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_3_Alias", ModelType.Date, 0, false, null, lController));
             			// Argument p_atrNombreRevisor.
            InboundArguments.Add(new ArgumentDVController("p_atrNombreRevisor", "NombreRevisor", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_4_Alias", ModelType.String, 100, false, null, lController));
             			// Argument p_atrId_Aeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrId_Aeronave", "Id_Aeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_5_Alias", ModelType.String, 100, false, null, lController));
             			#endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
 /// <summary>
 /// Initializes a new instance of the 'NavigationController' class.
 /// </summary>
 /// <param name="name">Name of the Navigation controller.</param>
 /// <param name="parent">Parent controller.</param>
 public NavigationController(string name, IUController parent)
     : base(parent)
 {
     mName = name;
 }
        public ArgumentDVController(
			string name,
			string alias,
			string idxml,
			ModelType modelType,
			int maxLength,
			bool nullAllowed,
			IUController parent)
            : base(name, parent, alias, idxml, nullAllowed, false)
        {
            mModelType = modelType;
            mMaxLength = maxLength;
            mOptions = null;
        }
Esempio n. 31
0
        /// <summary>
        /// Creates the specific NavigationController of the '_Auto_' Navigation pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific NavigationController of the '_Auto_' Navigation pattern.</returns>
        public static NavigationController Navigation__Auto_(IUController parentController)
        {
            // Navigation _Auto_.
            NavigationController lNavigationController = new NavigationController("_Auto_", parentController);

            string[] lAgentsNavigationItem0 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem0 = new List<KeyValuePair<string, string[]>>();
            lNavigationController.Add(
                0,
                "RevisionPasajero",
                "Clas_1348178542592347NavOfer_AutoElemNav_1_Alias",
                lAgentsNavigationItem0,
                "RevisionPasajero",
                typeof(InteractionToolkit.RevisionPasajero.IUInstances._Auto_IT).FullName,
                "Revision",
                "",
                "RevisionPasajero",
                "Clas_1348178673664478UIInst_1",
                "Revision",
                "Clas_1348178542592347",
                "",
                lAttrActivationItem0,
                "");

            return lNavigationController;
        }
Esempio n. 32
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Pasajero", "create_instance", "SIU_create_instance");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1348178542592658Ser_1_Alias", lAgentsService, "Pasajero", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_Pasajero.
            InboundArguments.Add(new ArgumentDVController("p_atrid_Pasajero", "id_Pasajero", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrNombre.
            InboundArguments.Add(new ArgumentDVController("p_atrNombre", "Nombre", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_2_Alias", ModelType.Text, 0, false, null, lController));
             			// Argument p_agrPasajeroAeronave.
            InboundArguments.Add(new ArgumentOVController("p_agrPasajeroAeronave", "PasajeroAeronave", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_4_Alias", "PasajeroAeronave", false, false, false , typeof(InteractionToolkit.PasajeroAeronave.IUPopulations.PIU_PasajeroAeronaveIT).FullName, null, "", lController));
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 33
0
 /// <summary>
 /// Initializes a new instance of the 'ActionController' class.
 /// </summary>
 /// <param name="name">Name of the Action controller.</param>
 /// <param name="parent">Parent controller.</param>
 /// <param name="conjunctionPolicyInEnabledByCondition">String value indicating the conjunction policy (AND or OR).</param>
 public ActionController(string name, IUController parent, string conjunctionPolicyInEnabledByCondition)
     : base(parent)
 {
     mName = name;
     ConjunctionPolicyInEnabledByCondition = conjunctionPolicyInEnabledByCondition;
 }
Esempio n. 34
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "NaveNodriza", "create_instance", "Crear_NaveNodriza");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1347649273856884Ser_1_Alias", lAgentsService, "NaveNodriza", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrid_NaveNodriza", "id_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrNombre_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrNombre_NaveNodriza", "Nombre_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_2_Alias", ModelType.String, 100, false, null, lController));
             			#endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 35
0
 /// <summary>
 /// Initializes a new instance of the 'ActionController' class.
 /// </summary>
 /// <param name="name">Name of the Action controller.</param>
 /// <param name="parent">Parent controller.</param>
 /// <param name="conjunctionPolicyInEnabledByCondition">String value indicating the conjunction policy (AND or OR).</param>
 public ActionController(string name, IUController parent, string conjunctionPolicyInEnabledByCondition)
     : base(parent)
 {
     mName = name;
     ConjunctionPolicyInEnabledByCondition = conjunctionPolicyInEnabledByCondition;
 }
Esempio n. 36
0
        /// <summary>
        /// Creates the specific ActionController of the '_Auto_' Action pattern.
        /// </summary>
        /// <param name="parentController">Parent controller.</param>
        /// <returns>Specific ActionController of the '_Auto_' Action pattern.</returns>
        public static ActionController Action__Auto_(IUController parentController)
        {
            // Action _Auto_.
            ActionController lActionController = new ActionController("_Auto_", parentController, Properties.Settings.Default.ConjunctionPolicy);
            string[] lAgentsActionItem0 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem0 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                0,
                "Crear nave nodriza",
                "Clas_1347649273856884AccOfer_AutoElemAcc_1_Alias",
                lAgentsActionItem0,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.Crear_NaveNodrizaInboundIT).FullName, "",
                ActionItemType.Creation,
                false,
                true,
                lAttrActivationItem0);

            string[] lAgentsActionItem1 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem1 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                1,
                "Destroy",
                "Clas_1347649273856884AccOfer_AutoElemAcc_2_Alias",
                lAgentsActionItem1,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.SIU_delete_instanceInboundIT).FullName,
                "",
                ActionItemType.Destruction,
                false,
                true,
                lAttrActivationItem1);

            string[] lAgentsActionItem2 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem2 = new List<KeyValuePair<string, string[]>>();

            lActionController.Add(
                2,
                "Edit",
                "Clas_1347649273856884AccOfer_AutoElemAcc_3_Alias",
                lAgentsActionItem2,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUServices.SIU_edit_instanceInboundIT).FullName,
                "",
                ActionItemType.Normal,
                false,
                true,
                lAttrActivationItem2);

            string[] lAgentsActionItem3 = { Agents.Administrador };
            List<KeyValuePair<string, string[]>> lAttrActivationItem3 = new List<KeyValuePair<string, string[]>>();
            lActionController.Add(
                3,
                "NaveNodriza",
                "Clas_1347649273856884AccOfer_AutoElemAcc_4_Alias",
                lAgentsActionItem3,
                "NaveNodriza",
                typeof(InteractionToolkit.NaveNodriza.IUInstances._Auto_IT).FullName,
                "",
                ActionItemType.Other,
                false,
                false,
                lAttrActivationItem3);

            string[] lAgentsActionItem4 = Logic.InstanceReportsList.GetAgentsForClass("NaveNodriza");
            List<KeyValuePair<string, string[]>> lAttrActivationItem4 = new List<KeyValuePair<string, string[]>>();
            lActionController.Add(
                4,
                LanguageConstantValues.L_PRINT,
                LanguageConstantKeys.L_PRINT,
                lAgentsActionItem4,
                "NaveNodriza",
                typeof(InteractionToolkit.PrintForm).FullName,
                "",
                ActionItemType.Print,
                true,
                true,
                lAttrActivationItem4);

            return lActionController;
        }
 /// <summary>
 /// Initializes a new instance of the 'ArgumentOVPreloadController' class.
 /// </summary>
 /// <param name="name">Name of the object-valued Argument.</param>
 /// <param name="alias">Alias of the object-valued Argument.</param>
 /// <param name="idxml">IdXML of the object-valued Argument.</param>
 /// <param name="domain">Domain or class name of the object-valued Argument.</param>
 /// <param name="nullAllowed">Indicates whether the object-valued Argument allows null values.</param>
 /// <param name="multipleSelectionAllowed">Indicates whether the object-valued Argument allows multiple values.</param>
 /// <param name="editor">DisplaySet.</param>
 /// <param name="orderCriteria">Order criteria.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentOVPreloadController(string name, string alias, string idxml, string domain, bool nullAllowed, bool multipleSelectionAllowed, DisplaySetController editor, OrderCriteriaController orderCriteria, IUController parent)
     : base(name, alias, idxml, domain, nullAllowed, multipleSelectionAllowed, parent)
 {
     Editor         = editor;
     mOrderCriteria = orderCriteria;
 }