protected override GetSitemapRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetSitemapRequest {
         SitemapId = saveResponseBase.Data.Value, Data = new GetSitemapModel {
             IncludeNodes = true, IncludeAccessRules = true,
         }
     });
 }
示例#2
0
 protected override GetCategoryTreeRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetCategoryTreeRequest {
         CategoryTreeId = saveResponseBase.Data.Value, Data = new GetCategoryTreeModel {
             IncludeNodes = true                                                                                                            /*, IncludeAccessRules = true,*/
         }
     });
 }
示例#3
0
 protected override GetNodeRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetNodeRequest
     {
         CategoryTreeId = this.CategoryTreeId,
         NodeId = saveResponseBase.Data.Value
     });
 }
 protected override GetFileRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetFileRequest {
         FileId = saveResponseBase.Data.Value, Data = new GetFileModel()
         {
             IncludeAccessRules = true, IncludeTags = true
         }
     });
 }
示例#5
0
 protected override GetNodeRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetNodeRequest
     {
         SitemapId = this.SitemapId,
         NodeId = saveResponseBase.Data.Value,
         Data = new GetNodeModel()
         {
             IncludeTranslations = true
         }
     });
 }
 protected abstract TGetRequest GetGetRequest(SaveResponseBase saveResponseBase);
 protected override GetImageRequest GetGetRequest(SaveResponseBase saveResponseBase)
 {
     return(new GetImageRequest {
         ImageId = saveResponseBase.Data.Value, Data = new GetImageModel()
     });
 }