Example #1
0
 public MC.Enumeration GetCredentialLevel(MC.EnumerationType interfaceType, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetEnumeration("credentialLevel", getAll);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #2
0
 /// <summary>
 /// this may get more than actually needed
 /// </summary>
 /// <param name="interfaceType"></param>
 /// <returns></returns>
 public MC.Enumeration GetCredentialAllAgentRoles(MC.EnumerationType interfaceType)
 {
     MC.Enumeration e = OrganizationRoleManager.GetCredentialOrg_AllRoles(false);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #3
0
 //
 public MC.Enumeration GetAudienceLevel(MC.EnumerationType interfaceType, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetEnumeration(CodesManager.PROPERTY_CATEGORY_AUDIENCE_LEVEL, getAll);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #4
0
 //
 public static MC.Enumeration GetOrganizationIdentifier(MC.EnumerationType interfaceType, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetEnumeration(CodesManager.PROPERTY_CATEGORY_ORGANIZATION_IDENTIFIERS, getAll);
     e.ShowOtherValue = true;
     e.InterfaceType  = interfaceType;
     return(e);
 }
Example #5
0
 //GetCurrencies
 public MC.Enumeration GetCurrencies(MC.EnumerationType interfaceType)
 {
     MC.Enumeration e = CodesManager.GetCurrencies();
     e.ShowOtherValue = false;
     e.InterfaceType  = interfaceType;
     return(e);
 }
Example #6
0
 public MC.Enumeration GetAllAgentReverseRoles(MC.EnumerationType interfaceType)
 {
     MC.Enumeration e = OrganizationRoleManager.GetAgentToAgentRolesCodes(false);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #7
0
 public MC.Enumeration GetSiteTotals(MC.EnumerationType interfaceType, int categoryId, int entityTypeId, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetSiteTotalsAsEnumeration(categoryId, entityTypeId, getAll);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #8
0
 /// <summary>
 /// Get agent roles for learning opportunities
 /// </summary>
 /// <param name="interfaceType"></param>
 /// <returns></returns>
 //public MC.Enumeration GetLearningOppAgentRoles( MC.EnumerationType interfaceType )
 //{
 //    MC.Enumeration e = Entity_AgentRelationshipManager.GetCommonPlusQAAgentRoles( false );
 //    e.InterfaceType = interfaceType;
 //    e.ShowOtherValue = true;
 //    return e;
 //}
 public MC.Enumeration GetCommonPlusQAAgentRoles(MC.EnumerationType interfaceType)
 {
     MC.Enumeration e = Entity_AgentRelationshipManager.GetCommonPlusQAAgentRoles(false);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #9
0
 public MC.Enumeration GetConnectionTypes(MC.EnumerationType interfaceType, int parentEntityTypeId, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetConnectionTypes(parentEntityTypeId, getAll);
     e.ShowOtherValue = false;
     e.InterfaceType  = interfaceType;
     return(e);
 }
Example #10
0
 public MC.Enumeration GetOrganizationType(MC.EnumerationType interfaceType,
                                           bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetEnumeration("organizationType", getAll);
     e.ShowOtherValue = true;
     e.InterfaceType  = interfaceType;
     return(e);
 }
Example #11
0
 public MC.Enumeration GetEntityAgentNONQAActions(MC.EnumerationType interfaceType, int parentEntityTypeId, bool getAll = true, bool isInverseRole = false)
 {
     //get roles as entity to org
     MC.Enumeration e = OrganizationRoleManager.GetOrgEntityToNONQARoleCodes(isInverseRole, parentEntityTypeId, getAll);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = true;
     return(e);
 }
Example #12
0
        //
        #endregion

        #region Condition profile related
        /// <summary>
        /// Get credential connections codes.
        /// Used by search
        /// Note: a custom type that includes is part, and part of, primarily for search filters.
        /// NOTE: ensure same one used for the editor?
        /// </summary>
        /// <param name="interfaceType"></param>
        /// <param name="getAll"></param>
        /// <returns></returns>
        //public MC.Enumeration GetCredentialConnections( MC.EnumerationType interfaceType, bool getAll = true )
        //{

        //	MC.Enumeration e = CodesManager.GetEnumeration( "conditionProfileType", getAll, true );
        //	e.ShowOtherValue = true;
        //	e.InterfaceType = interfaceType;
        //	return e;
        //}

        /// <summary>
        /// Get credential connections codes.
        /// Used by search
        /// Note: a custom type that includes is part, and part of, primarily for search filters.
        /// NOTE: ensure same one used for the editor?
        /// </summary>
        /// <param name="interfaceType"></param>
        /// <param name="getAll"></param>
        /// <returns></returns>
        public MC.Enumeration GetCredentialConnectionsFilters(MC.EnumerationType interfaceType, bool getAll = true)
        {
            //MC.Enumeration e = CodesManager.GetCredentialsConditionProfileTypes();
            //e.ShowOtherValue = false;
            //e.InterfaceType = interfaceType;
            //return e;
            return(GetConnectionTypes(interfaceType, 1, getAll));
        }
Example #13
0
 public MC.Enumeration GetJurisdictionAssertions(string filter, MC.EnumerationType interfaceType = MC.EnumerationType.MULTI_SELECT,
                                                 bool showOtherValue = true,
                                                 bool getAll         = true)
 {
     MC.Enumeration e = CodesManager.GetJurisdictionAssertions_Filtered(filter);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = showOtherValue;
     return(e);
 }
Example #14
0
 /// <summary>
 /// Get an MC.Enumeration (by default a checkbox list) by schemaName
 /// </summary>
 /// <param name="dataSource"></param
 /// <param name="interfaceType"></param>
 /// <param name="showOtherValue">If true, a text box for entering other values will be displayed</param>
 /// <returns></returns>
 public MC.Enumeration GetEnumeration(string dataSource, MC.EnumerationType interfaceType = MC.EnumerationType.MULTI_SELECT,
                                      bool showOtherValue = false,
                                      bool getAll         = true)
 {
     MC.Enumeration e = CodesManager.GetEnumeration(dataSource, getAll);
     e.InterfaceType  = interfaceType;
     e.ShowOtherValue = showOtherValue;
     return(e);
 }
Example #15
0
 public MC.Enumeration EntityStatisticGetEnumeration(int entityTypeId, MC.EnumerationType interfaceType = MC.EnumerationType.MULTI_SELECT, bool getAll = true)
 {
     MC.Enumeration e = CodesManager.GetEntityStatisticsAsEnumeration(entityTypeId, getAll);
     e.InterfaceType = interfaceType;
     return(e);
 }
Example #16
0
 public MC.Enumeration GetLearningOppsConditionProfileTypes(MC.EnumerationType interfaceType, bool getAll = true)
 {
     return(GetConnectionTypes(interfaceType, 7, getAll));
 }
Example #17
0
 public MC.Enumeration GetAssessmentsConditionProfileTypes(MC.EnumerationType interfaceType, bool getAll = true)
 {
     return(GetConnectionTypes(interfaceType, 3, getAll));
 }