예제 #1
0
		protected AutomobileHandler(NodeToken token) : base(token) { }
예제 #2
0
 protected HttpEndpointDemoContent(NodeToken nt) : base(nt) { }
예제 #3
0
 protected JournalNode(NodeToken nt) : base(nt) { }
예제 #4
0
파일: Domain.cs 프로젝트: jhuntsman/FlexNet
 protected Domain(NodeToken token) : base(token) { }
예제 #5
0
파일: Device.cs 프로젝트: jhuntsman/FlexNet
 protected Device(NodeToken nt) : base(nt) { }
예제 #6
0
 protected ExpenseClaim(NodeToken nt) : base(nt) { }
예제 #7
0
		protected PortalRoot(NodeToken nt) : base(nt) { }
예제 #8
0
 protected ViewBase(NodeToken nt) : base(nt) {}
예제 #9
0
		public TestNode2(NodeToken token) : base(token) { }
예제 #10
0
		protected SmartFolder(NodeToken nt) : base(nt) { }
예제 #11
0
		protected PageTemplate(NodeToken nt) : base(nt) { }
예제 #12
0
 protected HttpStatusApplication(NodeToken nt) : base(nt) { }
예제 #13
0
 protected UserProfile(NodeToken nt) : base(nt) { }
예제 #14
0
 protected Webform(NodeToken nt) : base(nt) { }
예제 #15
0
파일: Group.cs 프로젝트: jhuntsman/FlexNet
 protected Group(NodeToken token) : base(token) { }
예제 #16
0
        //====================================================================== Get NodeData

        internal static NodeToken GetNodeData(NodeHead head, int versionId)
        {
            int listId = head.ContentListId;
            int listTypeId = head.ContentListTypeId;

            var cacheKey = GenerateNodeDataVersionIdCacheKey(versionId);
            var nodeData = DistributedApplication.Cache.Get(cacheKey) as NodeData;

            NodeToken token = new NodeToken(head.Id, head.NodeTypeId, listId, listTypeId, versionId, null);
            token.NodeHead = head;
            if (nodeData == null)
            {
                DataProvider.Current.LoadNodeData(new NodeToken[] { token });
                nodeData = token.NodeData;
                if (nodeData != null) //-- lost version
                    CacheNodeData(nodeData, cacheKey);
            }
            else
            {
                token.NodeData = nodeData;
            }
            return token;
        }
예제 #17
0
 protected WorkflowHandlerBase(NodeToken nt) : base(nt) { }
예제 #18
0
        internal static NodeToken[] GetNodeData(NodeHead[] headArray, int[] versionIdArray)
        {
            var tokens = new List<NodeToken>();
            var tokensToLoad = new List<NodeToken>();
            for (var i = 0; i < headArray.Length; i++)
            {
                var head = headArray[i];
                var versionId = versionIdArray[i];

                int listId = head.ContentListId;
                int listTypeId = head.ContentListTypeId;

                NodeToken token = new NodeToken(head.Id, head.NodeTypeId, listId, listTypeId, versionId, null);
                token.NodeHead = head;
                tokens.Add(token);

                //--

                var cacheKey = GenerateNodeDataVersionIdCacheKey(versionId);
                var nodeData = DistributedApplication.Cache.Get(cacheKey) as NodeData;

                if (nodeData == null)
                    tokensToLoad.Add(token);
                else
                    token.NodeData = nodeData;
            }
            if (tokensToLoad.Count > 0)
            {
                DataProvider.Current.LoadNodeData(tokensToLoad);
                foreach (var token in tokensToLoad)
                {
                    var nodeData = token.NodeData;
                    if (nodeData != null) //-- lost version
                        CacheNodeData(nodeData);
                }
            }
            return tokens.ToArray();
        }
예제 #19
0
파일: Image.cs 프로젝트: jhuntsman/FlexNet
 protected Image(NodeToken nt) : base(nt) { }
예제 #20
0
 protected FileBase(NodeToken nt) : base(nt) { }
예제 #21
0
 protected NewsArticle(NodeToken nt) : base(nt) { }
예제 #22
0
		protected DocumentLibrary(NodeToken nt) : base(nt) { }
		protected TestNodeWithBinaryProperty(NodeToken token) : base(token) { }
예제 #24
0
 protected BlogPost(NodeToken nt) : base(nt) { }
예제 #25
0
 protected ContentLink(NodeToken tk) : base(tk) { }
예제 #26
0
 protected RegistrationWorkflow(NodeToken nt) : base(nt) { }
예제 #27
0
 protected FormItem(NodeToken nt) : base(nt) { }
예제 #28
0
 protected ForumEntry(NodeToken nt) : base(nt) { }
예제 #29
0
		protected ContentList(NodeToken nt) : base(nt)
		{
			Initialize();
			//Build();
		}
예제 #30
0
 protected SurveyItem(NodeToken nt)
     : base(nt)
 {    
 }