C# Class Sage.Integration.Northwind.Adapter.Requests.FeedMetadataHelpers

显示文件 Open project: Sage/SData-Contracts

Public Properties

Property Type Description
DEFAULT_ITEMS_PER_PAGE int

Public Methods

Method Description
BuildBaseUrl ( RequestContext requestContext, RequestKeywordType keyword ) : string
BuildEntryResourceTitle ( RequestContext requestContext, string localId ) : string
BuildEntryResourceUrl ( RequestContext requestContext, string localId ) : string
BuildLinkedEntryTitle ( RequestContext requestContext, System.Guid uuid ) : string
BuildLinkedEntryUrl ( RequestContext requestContext, System.Guid uuid ) : string
CreatePageFeedLinks ( RequestContext requestContext, int totalResults, RequestKeywordType keyword ) : FeedLinkCollection
GetPageLinkBuilder ( RequestContext requestContext, int totalResults, RequestKeywordType keyword ) : PageController
GetPageNumber ( RequestContext requestContext ) : int

Private Methods

Method Description
GetKeywordAsString ( RequestKeywordType keyword ) : string

Method Details

BuildBaseUrl() public static method

public static BuildBaseUrl ( RequestContext requestContext, RequestKeywordType keyword ) : string
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
keyword RequestKeywordType
return string

BuildEntryResourceTitle() public static method

public static BuildEntryResourceTitle ( RequestContext requestContext, string localId ) : string
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
localId string
return string

BuildEntryResourceUrl() public static method

public static BuildEntryResourceUrl ( RequestContext requestContext, string localId ) : string
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
localId string
return string

BuildLinkedEntryTitle() public static method

public static BuildLinkedEntryTitle ( RequestContext requestContext, System.Guid uuid ) : string
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
uuid System.Guid
return string

BuildLinkedEntryUrl() public static method

public static BuildLinkedEntryUrl ( RequestContext requestContext, System.Guid uuid ) : string
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
uuid System.Guid
return string

CreatePageFeedLinks() public static method

public static CreatePageFeedLinks ( RequestContext requestContext, int totalResults, RequestKeywordType keyword ) : FeedLinkCollection
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
totalResults int
keyword RequestKeywordType
return FeedLinkCollection

GetPageLinkBuilder() public static method

public static GetPageLinkBuilder ( RequestContext requestContext, int totalResults, RequestKeywordType keyword ) : PageController
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
totalResults int
keyword RequestKeywordType
return Sage.Integration.Northwind.Adapter.Common.Paging.PageController

GetPageNumber() public static method

public static GetPageNumber ( RequestContext requestContext ) : int
requestContext Sage.Integration.Northwind.Adapter.Common.RequestContext
return int

Property Details

DEFAULT_ITEMS_PER_PAGE public_oe static_oe property

public static int DEFAULT_ITEMS_PER_PAGE
return int