C# Class SenseNet.Portal.Virtualization.PortalContext

Inheritance: IHttpActionContext
显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Public Properties

Property Type Description
DefaultNodePropertyName string
InRepositoryPageSuffix string
WebRootFolderPath string

Private Properties

Property Type Description
AssertAppmodelelements void
BackwardCompatibility_SetPageRepositoryPath void
Create PortalContext
Create PortalContext
CreateInitInfo PortalContextInitInfo
EndResponse void
GetNode SenseNet.ContentRepository.Storage.NodeHead
GetPresenterViewLocations string
GetSiteByNodePath Site
IHttpActionContext IHttpActionFactory
IHttpActionContext SenseNet.ContentRepository.Storage.NodeHead
Initialize void
IsInAdminGroup bool
LoadContextNode Node
PortalContext System
ReloadSiteList void
ReloadSmartUrlList string>.Dictionary
StartsWithRoot bool

Public Methods

Method Description
GetApplicationContext ( ) : Node

Returns the current application if it is the requested node

GetBackTargetUrl ( Node newNode ) : string
GetBackTargetUrl ( Node newNode, BackTargetType targetType ) : string
GetContentUrl ( object content ) : string
GetCurrentAuthenticationMode ( ) : string
GetLoginPagePathByRequestUri ( Uri requestUri ) : string
GetLoginPageUrl ( ) : string
GetRequestedDevice ( ) : string
GetSiteRelativePath ( string fullpath ) : string
GetSiteRelativePath ( string fullpath, Site site ) : string
GetUrlByRepositoryPath ( string repositoryPath ) : string
GetUrlByRepositoryPath ( string url, string repositoryPath ) : string
GetUrlParameterContext ( ) : Node
IsApplicationNode ( Node node ) : bool
IsApplicationNode ( NodeHead nodeHead ) : bool
IsApplicationNodeType ( NodeType nodeType ) : bool

Private Methods

Method Description
AssertAppmodelelements ( NodeHead requestedNodeHead, string actionName, string appNodePath, string contextNodePath ) : void
BackwardCompatibility_SetPageRepositoryPath ( string path ) : void
Create ( HttpContext context ) : PortalContext
Create ( HttpContext context, PortalContextInitInfo initInfo ) : PortalContext
CreateInitInfo ( HttpContext context ) : PortalContextInitInfo
EndResponse ( int statusCode ) : void
GetNode ( Uri requestUri ) : NodeHead
GetPresenterViewLocations ( string nodePath, NodeType nodeType ) : string
GetSiteByNodePath ( string path ) : Site
IHttpActionContext ( ) : IHttpActionFactory
IHttpActionContext ( ) : NodeHead
Initialize ( HttpContext context, PortalContextInitInfo initInfo ) : void
IsInAdminGroup ( IUser user, IEnumerable adminGroupPaths ) : bool
LoadContextNode ( NodeHead head, string versionRequest ) : Node
PortalContext ( ) : System
ReloadSiteList ( ) : void
ReloadSmartUrlList ( ) : string>.Dictionary
StartsWithRoot ( string path ) : bool

Method Details

GetApplicationContext() public method

Returns the current application if it is the requested node
public GetApplicationContext ( ) : Node
return Node

GetBackTargetUrl() public static method

public static GetBackTargetUrl ( Node newNode ) : string
newNode Node
return string

GetBackTargetUrl() public static method

public static GetBackTargetUrl ( Node newNode, BackTargetType targetType ) : string
newNode Node
targetType BackTargetType
return string

GetContentUrl() public method

public GetContentUrl ( object content ) : string
content object
return string

GetCurrentAuthenticationMode() public method

public GetCurrentAuthenticationMode ( ) : string
return string

GetLoginPagePathByRequestUri() public static method

public static GetLoginPagePathByRequestUri ( Uri requestUri ) : string
requestUri System.Uri
return string

GetLoginPageUrl() public method

public GetLoginPageUrl ( ) : string
return string

GetRequestedDevice() public static method

public static GetRequestedDevice ( ) : string
return string

GetSiteRelativePath() public static method

public static GetSiteRelativePath ( string fullpath ) : string
fullpath string
return string

GetSiteRelativePath() public static method

public static GetSiteRelativePath ( string fullpath, Site site ) : string
fullpath string
site Site
return string

GetUrlByRepositoryPath() public static method

public static GetUrlByRepositoryPath ( string repositoryPath ) : string
repositoryPath string
return string

GetUrlByRepositoryPath() public static method

public static GetUrlByRepositoryPath ( string url, string repositoryPath ) : string
url string
repositoryPath string
return string

GetUrlParameterContext() public method

public GetUrlParameterContext ( ) : Node
return Node

IsApplicationNode() public static method

public static IsApplicationNode ( Node node ) : bool
node Node
return bool

IsApplicationNode() public static method

public static IsApplicationNode ( NodeHead nodeHead ) : bool
nodeHead SenseNet.ContentRepository.Storage.NodeHead
return bool

IsApplicationNodeType() public static method

public static IsApplicationNodeType ( NodeType nodeType ) : bool
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
return bool

Property Details

DefaultNodePropertyName public_oe static_oe property

public static string DefaultNodePropertyName
return string

InRepositoryPageSuffix public_oe static_oe property

public static string InRepositoryPageSuffix
return string

WebRootFolderPath public_oe static_oe property

public static string WebRootFolderPath
return string