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. | |
enum to denote priority of entities
| 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.
| 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.
| 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.
| sender | ||
| e |
| string Novell::iFolderWeb::Admin::DisableSharing::GetString | ( | string | key | ) | [inline, protected] |
Get a Localized String.
| key | Key to the localized string. |
| void Novell::iFolderWeb::Admin::DisableSharing::GetDisableSharingPolicy | ( | SystemPolicy | policy | ) | [inline] |
| void Novell::iFolderWeb::Admin::DisableSharing::GetDisableSharingPolicy | ( | UserPolicy | policy | ) | [inline] |
Gets the Disable Sharing policy for the current user.
| 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.
| policy | User policy object |
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.
| 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.
| 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.
| 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.
| e |
HtmlGenericControl Novell::iFolderWeb::Admin::DisableSharing::DisableSharingNav [protected] |
Account DIV.
Label Novell::iFolderWeb::Admin::DisableSharing::DisableSharingTitle [protected] |
Title of this policy.
CheckBox Novell::iFolderWeb::Admin::DisableSharing::disableSharingOn [protected] |
check box to provide disabling options
CheckBox Novell::iFolderWeb::Admin::DisableSharing::enforcedDisableSharing [protected] |
check box to provide disabling options
CheckBox Novell::iFolderWeb::Admin::DisableSharing::disablePastSharing [protected] |
check box to provide disabling options
| EventHandler Novell::iFolderWeb::Admin::DisableSharing::CheckChanged = null |
Event that notifies consumer that the checkbox has changed.
1.5.6