Simias::Policy::Sharing Class Reference

Implements the synchronization interval policy. More...

Collaboration diagram for Simias::Policy::Sharing:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Share
 enum value to denote different combinations of Disabling/Enabling options

Static Public Member Functions

static void Create (string domainID, int status)
 Creates a system wide Disable Sharing policy.
static void Create (Member member, int status)
 Creates a User level Sharing policy.
static void Create (Collection collection, int status)
 Creates a iFolder level Sharing policy.
static void Delete (string domainID)
 Deletes a system wide Sharing policy.
static void Set (string domainID, int status)
 Sets the sharing policy associated with the specified domain.
static void Set (Member member, int status)
 Sets the sharing policy associated with the specified member.
static void Set (Collection collection, int status)
 Sets the Disable sharing policy associated with the specified collection.
static int GetStatus (string domainID)
 Gets the status of sharing associated with the specified domain.
static int GetStatus (Member member)
 Gets the status of sharing associated with the specified member.
static int GetStatus (Collection collection)
 Gets the status of sharing associated with the specified collection.
static bool IsSharingAllowedForCollection (Collection collection)
 Gets the aggregate status of sharing associated with the specified collection, its owner, group,system
Parameters:
collection collection for which policy is sought
Returns:
the status of Sharing as an int
.
static int Get (Member member)
 Gets the aggregate security state policy for the specified member (includes system and group level aggregation).

Static Public Attributes

static readonly string SharingPolicyID = "bxd14cb3-f393-40db-a943-14a0c3275f2y"
 Well known name for the Sharing policy.
static readonly string SharingShortDescription = "Sharing Policy Setting"
 Well known name for the Sharing policy description.
static readonly string SharingStatusTag = "Sharing"
 Tag used to lookup and store the Disable sharing value.

Properties

int Status [get]
 Gets the sync interval in seconds. If the policy is aggregated, the largest sync interval will be returned.


Detailed Description

Implements the synchronization interval policy.


Member Function Documentation

static void Simias::Policy::Sharing::Create ( string  domainID,
int  status 
) [inline, static]

Creates a system wide Disable Sharing policy.

Parameters:
domainID Domain that the interval will be associated with.
status value of the disable sharing enumerator

static void Simias::Policy::Sharing::Create ( Member  member,
int  status 
) [inline, static]

Creates a User level Sharing policy.

Parameters:
member member that the policy will be associated with.
status value of the Sharing enumerator

static void Simias::Policy::Sharing::Create ( Collection  collection,
int  status 
) [inline, static]

Creates a iFolder level Sharing policy.

Parameters:
collection collection that the interval will be associated with.
status value of the Sharing enumerator

static void Simias::Policy::Sharing::Delete ( string  domainID  )  [inline, static]

Deletes a system wide Sharing policy.

Parameters:
domainID Domain that the policy will be associated with.

static void Simias::Policy::Sharing::Set ( string  domainID,
int  status 
) [inline, static]

Sets the sharing policy associated with the specified domain.

Parameters:
domainID Domain that the sharing policy is associated with.
status enum value to denote the Disable sharing

static void Simias::Policy::Sharing::Set ( Member  member,
int  status 
) [inline, static]

Sets the sharing policy associated with the specified member.

Parameters:
member member that the sharing policy is associated with.
status enum value to denote the sharing

static void Simias::Policy::Sharing::Set ( Collection  collection,
int  status 
) [inline, static]

Sets the Disable sharing policy associated with the specified collection.

Parameters:
collection collection that the sharing policy is associated with.
status enum value to denote the sharing

static int Simias::Policy::Sharing::GetStatus ( string  domainID  )  [inline, static]

Gets the status of sharing associated with the specified domain.

Parameters:
domainID Domain that the interval is associated with.
Returns:
the status of Sharing as an int

static int Simias::Policy::Sharing::GetStatus ( Member  member  )  [inline, static]

Gets the status of sharing associated with the specified member.

Parameters:
member member for whom policy is sought
Returns:
the status of Sharing as an int

static int Simias::Policy::Sharing::GetStatus ( Collection  collection  )  [inline, static]

Gets the status of sharing associated with the specified collection.

Parameters:
collection collection for which policy is sought
Returns:
the status of Sharing as an int

static bool Simias::Policy::Sharing::IsSharingAllowedForCollection ( Collection  collection  )  [inline, static]

Gets the aggregate status of sharing associated with the specified collection, its owner, group,system

Parameters:
collection collection for which policy is sought
Returns:
the status of Sharing as an int
.

If on system level or user level, enforcement of policy is there, it means the iFolder must not be shared

it means, on iFolder Details page, admin had unchecked the box so sharing is enabled now

it means, on iFolder Details page, admin had checked the box so sharing is disabled

static int Simias::Policy::Sharing::Get ( Member  member  )  [inline, static]

Gets the aggregate security state policy for the specified member (includes system and group level aggregation).

Parameters:
member Member that policy is associated with.
Returns:
A SecurityState object that contains the policy for the specified member.
summary> Get the policy for an iFolder.

Parameters:
policy The iFolderPolicy object.


Member Data Documentation

readonly string Simias::Policy::Sharing::SharingPolicyID = "bxd14cb3-f393-40db-a943-14a0c3275f2y" [static]

Well known name for the Sharing policy.

readonly string Simias::Policy::Sharing::SharingShortDescription = "Sharing Policy Setting" [static]

Well known name for the Sharing policy description.

readonly string Simias::Policy::Sharing::SharingStatusTag = "Sharing" [static]

Tag used to lookup and store the Disable sharing value.


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

Generated on Wed Apr 8 14:50:01 2009 for simias by  doxygen 1.5.6