C# Class BasePages.PageBaseMaster

Inheritance: System.Web.UI.Page
Show file Open project: cdadmin/clonedeploy

Public Properties

Property Type Description
CloneDeployCurrentUser Models.CloneDeployUser
CurrentUserRights List

Public Methods

Method Description
ChkAll ( GridView gridview ) : void
Export ( string fileName, string contents ) : void
GetSortDirection ( string sortExpression ) : string
RequiresAuthorization ( string requiredRight ) : void
RequiresAuthorizationOrManagedComputer ( string requiredRight, int computerId ) : void
RequiresAuthorizationOrManagedGroup ( string requiredRight, int groupId ) : void
RequiresAuthorizationOrManagedImage ( string requiredRight, int imageId ) : void

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnLoadComplete ( EventArgs e ) : void
PopulateBootTemplatesDdl ( DropDownList ddl ) : void
PopulateBuildingsDdl ( DropDownList ddl ) : void
PopulateDistributionPointsDdl ( DropDownList ddlDp ) : void
PopulateGroupsDdl ( DropDownList ddlGroups ) : void
PopulateImageProfilesDdl ( DropDownList ddlImageProfile, int value ) : void
PopulateImagesDdl ( DropDownList ddlImages ) : void
PopulateRoomsDdl ( DropDownList ddl ) : void
PopulateSitesDdl ( DropDownList ddl ) : void

Method Details

ChkAll() public method

public ChkAll ( GridView gridview ) : void
gridview System.Web.UI.WebControls.GridView
return void

Export() public method

public Export ( string fileName, string contents ) : void
fileName string
contents string
return void

GetSortDirection() public method

public GetSortDirection ( string sortExpression ) : string
sortExpression string
return string

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoadComplete() protected method

protected OnLoadComplete ( EventArgs e ) : void
e System.EventArgs
return void

PopulateBootTemplatesDdl() protected method

protected PopulateBootTemplatesDdl ( DropDownList ddl ) : void
ddl System.Web.UI.WebControls.DropDownList
return void

PopulateBuildingsDdl() protected method

protected PopulateBuildingsDdl ( DropDownList ddl ) : void
ddl System.Web.UI.WebControls.DropDownList
return void

PopulateDistributionPointsDdl() protected method

protected PopulateDistributionPointsDdl ( DropDownList ddlDp ) : void
ddlDp System.Web.UI.WebControls.DropDownList
return void

PopulateGroupsDdl() protected method

protected PopulateGroupsDdl ( DropDownList ddlGroups ) : void
ddlGroups System.Web.UI.WebControls.DropDownList
return void

PopulateImageProfilesDdl() protected method

protected PopulateImageProfilesDdl ( DropDownList ddlImageProfile, int value ) : void
ddlImageProfile System.Web.UI.WebControls.DropDownList
value int
return void

PopulateImagesDdl() protected method

protected PopulateImagesDdl ( DropDownList ddlImages ) : void
ddlImages System.Web.UI.WebControls.DropDownList
return void

PopulateRoomsDdl() protected method

protected PopulateRoomsDdl ( DropDownList ddl ) : void
ddl System.Web.UI.WebControls.DropDownList
return void

PopulateSitesDdl() protected method

protected PopulateSitesDdl ( DropDownList ddl ) : void
ddl System.Web.UI.WebControls.DropDownList
return void

RequiresAuthorization() public method

public RequiresAuthorization ( string requiredRight ) : void
requiredRight string
return void

RequiresAuthorizationOrManagedComputer() public method

public RequiresAuthorizationOrManagedComputer ( string requiredRight, int computerId ) : void
requiredRight string
computerId int
return void

RequiresAuthorizationOrManagedGroup() public method

public RequiresAuthorizationOrManagedGroup ( string requiredRight, int groupId ) : void
requiredRight string
groupId int
return void

RequiresAuthorizationOrManagedImage() public method

public RequiresAuthorizationOrManagedImage ( string requiredRight, int imageId ) : void
requiredRight string
imageId int
return void

Property Details

CloneDeployCurrentUser public property

public Models.CloneDeployUser CloneDeployCurrentUser
return Models.CloneDeployUser

CurrentUserRights public property

public List CurrentUserRights
return List