Novell::iFolderWeb::Admin::DisableSharing Class Reference

Summary description for AccountEnabled. More...

List of all members.

Public Types

enum  DisableShare
 enum value to denote different combinations of Disabling options
enum  HigherPriority
 enum to denote priority of entities More...

Public Member Functions

void GetDisableSharingPolicy (SystemPolicy policy)
 Gets the Disable Sharing for current iFolder.
void GetDisableSharingPolicy (UserPolicy policy)
 Gets the Disable Sharing policy for the current user.
void GetDisableSharingPolicy (iFolderPolicy policy, string PolicyID)
 Gets the Disable Sharing policy for the current iFolder.
void SetDisableSharingPolicy (SystemPolicy policy)
 Sets the policy for the system.
void SetDisableSharingPolicy (UserPolicy policy, string PolicyID)
 Sets the policy for the user.
void SetDisableSharingPolicy (iFolderPolicy policy, string PolicyID)
 Sets the policy for the user.

Protected Member Functions

void disableSharingOnCheckChanged (Object sender, EventArgs e)
 Event handler that gets called when the disable sharing check box is changed.
void disablePastSharingCheckChanged (Object sender, EventArgs e)
 Event handler that gets called when the disablePastSharing checkbox is changed.
void enforcedDisableSharingCheckChanged (Object sender, EventArgs e)
 Event handler that gets called when the enforcedDisableSharing checkbox is changed.
string GetString (string key)
 Get a Localized String.
override void OnInit (EventArgs e)
 OnInit.

Protected Attributes

HtmlGenericControl DisableSharingNav
 Account DIV.
Label DisableSharingTitle
 Title of this policy.
CheckBox disableSharingOn
 check box to provide disabling options
CheckBox enforcedDisableSharing
 check box to provide disabling options
CheckBox disablePastSharing
 check box to provide disabling options

Events

EventHandler CheckChanged = null
 Event that notifies consumer that the checkbox has changed.


Detailed Description

Summary description for AccountEnabled.


Member Enumeration Documentation

enum to denote priority of entities


Member Function Documentation

void Novell::iFolderWeb::Admin::DisableSharing::disableSharingOnCheckChanged ( Object  sender,
EventArgs  e 
) [inline, protected]

Event handler that gets called when the disable sharing check box is changed.

Parameters:
sender 
e 

void Novell::iFolderWeb::Admin::DisableSharing::disablePastSharingCheckChanged ( Object  sender,
EventArgs  e 
) [inline, protected]

Event handler that gets called when the disablePastSharing checkbox is changed.

Parameters:
sender 
e 

currently do nothing...

void Novell::iFolderWeb::Admin::DisableSharing::enforcedDisableSharingCheckChanged ( Object  sender,
EventArgs  e 
) [inline, protected]

Event handler that gets called when the enforcedDisableSharing checkbox is changed.

Parameters:
sender 
e 

string Novell::iFolderWeb::Admin::DisableSharing::GetString ( string  key  )  [inline, protected]

Get a Localized String.

Parameters:
key Key to the localized string.
Returns:
Localized string.

void Novell::iFolderWeb::Admin::DisableSharing::GetDisableSharingPolicy ( SystemPolicy  policy  )  [inline]

Gets the Disable Sharing for current iFolder.

Parameters:
policy iFolder policy object
Gets the Disable Sharing policy for the system.

Parameters:
policy System policy object

void Novell::iFolderWeb::Admin::DisableSharing::GetDisableSharingPolicy ( UserPolicy  policy  )  [inline]

Gets the Disable Sharing policy for the current user.

Parameters:
policy User policy object

the function will return who has higher priority : system or user.

void Novell::iFolderWeb::Admin::DisableSharing::GetDisableSharingPolicy ( iFolderPolicy  policy,
string  PolicyID 
) [inline]

Gets the Disable Sharing policy for the current iFolder.

Parameters:
policy User policy object
summary>

the function will return who has higher priority : system or user or iFolder.

If policy was modified on iFolder level, then show it.

There was not any iFolder level policy but user level policy is there so show that.

There was not any iFolder level policy but system level policy is there so show that.

iFolder level policy was modified, but system has higher priority , disable the check boxes

void Novell::iFolderWeb::Admin::DisableSharing::SetDisableSharingPolicy ( SystemPolicy  policy  )  [inline]

Sets the policy for the system.

Parameters:
policy System policy where the account information will be set.

Next change is to remove the past sharing ,

void Novell::iFolderWeb::Admin::DisableSharing::SetDisableSharingPolicy ( UserPolicy  policy,
string  PolicyID 
) [inline]

Sets the policy for the user.

Parameters:
policy User policy where the information will be set.

it means for this user , admin has enable the sharing on UserDetails page, so retain that

if for this user disable sharing was "on" (either on user level or system level) and now admin has unchecked the checkbox then also store enable sharing -- 8

add this value only if on user level some policy was set

Next change is to remove the past sharing

pass the userID

void Novell::iFolderWeb::Admin::DisableSharing::SetDisableSharingPolicy ( iFolderPolicy  policy,
string  PolicyID 
) [inline]

Sets the policy for the user.

Parameters:
policy iFolder policy where the information will be set.

it means for this iFolder , admin had earlier enabled the sharing on iFolderDetails page, so retain that

if for this iFolder , disable sharing was "on" (either iFolder, user or system level) , and now admin has unchecked the box , then also store enable sharing -- 8

consider the case when no disable of sharing on iFolder level but disable past sharing is applied.

if on user level, it was enabled and then if on iFolder level it is disabled , then for that case

Next change is to remove the past sharing ,

pass the iFolderID

override void Novell::iFolderWeb::Admin::DisableSharing::OnInit ( EventArgs  e  )  [inline, protected]

OnInit.

Parameters:
e 


Member Data Documentation

Account DIV.

Title of this policy.

check box to provide disabling options

check box to provide disabling options

check box to provide disabling options


Event Documentation

EventHandler Novell::iFolderWeb::Admin::DisableSharing::CheckChanged = null

Event that notifies consumer that the checkbox has changed.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:44:43 2009 for simias by  doxygen 1.5.6