Esempio n. 1
0
 public ExtensionContentURI()
 {
     //common name = db key Name
     this.URIName = DataGeneralHelpers.NONE;
     //unique id of the uri = db key PKId
     this.URIId = 0;
     //network of the uri (see DevTreks.Data.Network notes)
     this.URINetworkPartName = string.Empty;
     //nodename = db table
     this.URINodeName = DataGeneralHelpers.NONE;
     //mostly used by tempdocs, or by analyzers to find base calculations
     this.URIFileExtensionType = string.Empty;
     this.URIPattern           = DataGeneralHelpers.MakeURIPattern(this.URIName,
                                                                   this.URIId.ToString(), this.URINetworkPartName.ToString(),
                                                                   this.URINodeName, this.URIFileExtensionType);
     //representational state transfer uri (i.e. the Internet address of this uri)
     this.URIFull = string.Empty;
     //club that owns the uri
     this.URIClub = new ExtensionClub();
     //logged-in member or anonymous
     this.URIMember = new ExtensionMember();
     //the uri's network, including data connections
     this.URINetwork = new ExtensionNetwork();
     //the uri's service (commons apps have no services)
     this.URIService = new ExtensionService();
     //navigation, state management, and display management
     this.URIDataManager = new DataManager();
     //error message
     this.ErrorMessage = string.Empty;
     //when an html document is not needed
     this.Message = string.Empty;
     //when javascript needs to be returned to client (i.e. post success);
     this.Json = string.Empty;
     //define the data returned by a uri using a link to an xml schema
     //(machines can find the schema using standard urn conventions,
     //but let humans download them as well)
     this.SchemaPath = string.Empty;
 }
Esempio n. 2
0
            public DataManager()
            {
                this.ContentURIPattern        = string.Empty;
                this.InitialDocToCalcURI      = new Data.ContentURI();
                this.ControllerName           = string.Empty;
                this.ClientActionType         = string.Empty;
                this.ServerActionType         = string.Empty;
                this.ServerSubActionType      = string.Empty;
                this.Variable                 = string.Empty;
                this.FormInput                = null;
                this.SelectionsNodeNeededName = string.Empty;
                this.SelectedList             = string.Empty;
                this.SelectionsURIPattern     = string.Empty;
                this.SelectionsNodeURIPattern = string.Empty;
                this.SelectionsAttributeName  = string.Empty;
                this.CalcParams               = string.Empty;
                this.DocStatus                = string.Empty;
                this.AppType    = string.Empty;
                this.SubAppType = string.Empty;

                this.ParentURIPattern = string.Empty;
                this.ChildrenNodeName = string.Empty;
                this.ParentStartRow   = 0;
                this.StartRow         = 0;
                this.IsForward        = "1";
                this.PageSize         = 0;
                this.RowCount         = 0;

                this.UpdatePanelType   = string.Empty;
                this.ParentPanelType   = string.Empty;
                this.ChildrenPanelType = string.Empty;

                this.PreviewViewEditType = string.Empty;
                this.EditViewEditType    = string.Empty;
                this.SelectViewEditType  = string.Empty;
                this.Label         = string.Empty;
                this.AttributeName = string.Empty;
                this.Date          = DataGeneralHelpers.GetDateShortNow();
                this.UserLanguage  = "en-us";

                this.LinkedView = null;
                this.StartingDocToCalcURIPattern = string.Empty;
                this.IsSelectedLinkedAddIn       = false;
                this.IsSelectedLinkedView        = false;
                this.UseSelectedLinkedView       = false;
                this.IsDefault       = false;
                this.AddInName       = string.Empty;
                this.HostName        = string.Empty;
                this.UseDefaultAddIn = false;
                this.UseDefaultLocal = false;
                this.LinkedLists     = string.Empty;
                this.SubActionView   = string.Empty;

                this.BaseId                      = 0;
                this.TempDocURIPattern           = string.Empty;
                this.TempDocNodeToCalcURIPattern = string.Empty;
                this.TempDocPath                 = string.Empty;
                this.TempDocSaveMethod           = string.Empty;
                this.MiscDocPath                 = string.Empty;
                this.DefaultRootFullFilePath     = string.Empty;
                this.DefaultRootWebStoragePath   = string.Empty;
                this.DefaultWebDomain            = string.Empty;
                this.FileSystemPath              = string.Empty;
                this.WebPath                     = string.Empty;
                this.DefaultConnection           = string.Empty;
                this.StorageConnection           = string.Empty;
                this.FileSizeValidation          = string.Empty;
                this.FileSizeDBStorageValidation = string.Empty;
                this.RExecutable                 = string.Empty;
                this.PyExecutable                = string.Empty;
                this.JuliaExecutable             = string.Empty;
                this.HostFeeRate                 = string.Empty;
                this.ResourceURIName             = string.Empty;
                this.ContentURIName              = string.Empty;
                this.TempDocsURIName             = string.Empty;
                this.ExtensionsPath              = string.Empty;
                this.PlatformType                = DataHelpers.FileStorageIO.PLATFORM_TYPES.none;

                this.Resource         = null;
                this.IsMainStylesheet = false;
                this.IsMainImage      = false;

                this.ExtensionObjectNamespace = string.Empty;
                this.Description      = string.Empty;
                this.LongDescription  = string.Empty;
                this.NeedsFullView    = false;
                this.NeedsSummaryView = false;
            }