C# Class SenseNet.Portal.Virtualization.PortalContext

Inheritance: IHttpActionContext
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultNodePropertyName string
InRepositoryPageSuffix string
WebRootFolderPath string

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Returns the current application if it is the requested node
public GetApplicationContext ( ) : Node
Résultat Node

GetBackTargetUrl() public static méthode

public static GetBackTargetUrl ( Node newNode ) : string
newNode Node
Résultat string

GetBackTargetUrl() public static méthode

public static GetBackTargetUrl ( Node newNode, BackTargetType targetType ) : string
newNode Node
targetType BackTargetType
Résultat string

GetContentUrl() public méthode

public GetContentUrl ( object content ) : string
content object
Résultat string

GetCurrentAuthenticationMode() public méthode

public GetCurrentAuthenticationMode ( ) : string
Résultat string

GetLoginPagePathByRequestUri() public static méthode

public static GetLoginPagePathByRequestUri ( Uri requestUri ) : string
requestUri System.Uri
Résultat string

GetLoginPageUrl() public méthode

public GetLoginPageUrl ( ) : string
Résultat string

GetRequestedDevice() public static méthode

public static GetRequestedDevice ( ) : string
Résultat string

GetSiteRelativePath() public static méthode

public static GetSiteRelativePath ( string fullpath ) : string
fullpath string
Résultat string

GetSiteRelativePath() public static méthode

public static GetSiteRelativePath ( string fullpath, Site site ) : string
fullpath string
site Site
Résultat string

GetUrlByRepositoryPath() public static méthode

public static GetUrlByRepositoryPath ( string repositoryPath ) : string
repositoryPath string
Résultat string

GetUrlByRepositoryPath() public static méthode

public static GetUrlByRepositoryPath ( string url, string repositoryPath ) : string
url string
repositoryPath string
Résultat string

GetUrlParameterContext() public méthode

public GetUrlParameterContext ( ) : Node
Résultat Node

IsApplicationNode() public static méthode

public static IsApplicationNode ( Node node ) : bool
node Node
Résultat bool

IsApplicationNode() public static méthode

public static IsApplicationNode ( NodeHead nodeHead ) : bool
nodeHead SenseNet.ContentRepository.Storage.NodeHead
Résultat bool

IsApplicationNodeType() public static méthode

public static IsApplicationNodeType ( NodeType nodeType ) : bool
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
Résultat bool

Property Details

DefaultNodePropertyName public_oe static_oe property

public static string DefaultNodePropertyName
Résultat string

InRepositoryPageSuffix public_oe static_oe property

public static string InRepositoryPageSuffix
Résultat string

WebRootFolderPath public_oe static_oe property

public static string WebRootFolderPath
Résultat string