Simias::Policy::FileSizeFilter Class Reference

Implements the file size filter policy. More...

Collaboration diagram for Simias::Policy::FileSizeFilter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Allowed (long fileSize)
 Returns whether the specified file size is allowed to pass through the filter.

Static Public Member Functions

static void Create (string domainID, long limit)
 Creates a system wide file size filter policy.
static void Create (Member member, long limit)
 Creates a file size filter policy for the specified member.
static void Create (Collection collection, long limit)
 Creates a file size filter policy for the specified collection.
static void Create (long limit)
 Creates a file size filter policy for the current user on the current machine.
static void Delete (string domainID)
 Deletes a system wide file size filter policy.
static void Delete (Member member)
 Deletes a file size filter policy for the specified member.
static void Delete (Collection collection)
 Deletes a file size filter policy for the specified collection.
static void Delete ()
 Deletes a file size filter policy for the current user on the current machine.
static FileSizeFilter Get (Member member)
 Gets the aggregate file size filter policy for the specified member.
static FileSizeFilter Get (Member member, Collection collection)
 Gets the aggregate file size filter policy for the specified member and collection.
static FileSizeFilter Get (Collection collection)
 Gets the aggregate file size filter policy for the specified member and collection.
static long GetLimit (string domainID)
 Gets the file size limit associated with the specified domain.
static long GetLimit (Member member)
 Gets the file size limit associated with the specified member.
static long GetLimit (Collection collection)
 Gets the file size limit associated with the specified collection.
static long GetLimit ()
 Gets the file size limit associated with the current user on the current machine.
static void Set (string domainID, long limit)
 Sets the file size limit associated with the specified domain.
static void Set (Member member, long limit)
 Sets the file size limit associated with the specified member.
static void Set (Collection collection, long limit)
 Sets the file size limit associated with the specified collection.
static void Set (long limit)
 Sets the file size limit associated with the current user on the current machine.

Static Public Attributes

static string FileSizeFilterPolicyID = "e33e0a4a-d272-4bd0-9f35-b5a4cbe5f237"
 Well known name for the file size filter policy.
static string FileSizeFilterShortDescription = "File size filter"
 Well known name for the file size filter policy description.

Properties

long Limit [get]
 Gets the file size limit.


Detailed Description

Implements the file size filter policy.


Member Function Documentation

static void Simias::Policy::FileSizeFilter::Create ( string  domainID,
long  limit 
) [inline, static]

Creates a system wide file size filter policy.

Parameters:
domainID Domain that the filter will be associated with.
limit Size of file in bytes that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Create ( Member  member,
long  limit 
) [inline, static]

Creates a file size filter policy for the specified member.

Parameters:
member Member that the filter will be associated with.
limit Size of file in bytes that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Create ( Collection  collection,
long  limit 
) [inline, static]

Creates a file size filter policy for the specified collection.

Parameters:
collection Collection that the filter will be associated with.
limit Size of file in bytes that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Create ( long  limit  )  [inline, static]

Creates a file size filter policy for the current user on the current machine.

Parameters:
limit Size of file in bytes that all users in the domain will be limited to.

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

Deletes a system wide file size filter policy.

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

static void Simias::Policy::FileSizeFilter::Delete ( Member  member  )  [inline, static]

Deletes a file size filter policy for the specified member.

Parameters:
member Member that the filter will be associated with.

static void Simias::Policy::FileSizeFilter::Delete ( Collection  collection  )  [inline, static]

Deletes a file size filter policy for the specified collection.

Parameters:
collection Collection that the filter will be associated with.

static void Simias::Policy::FileSizeFilter::Delete (  )  [inline, static]

Deletes a file size filter policy for the current user on the current machine.

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

Gets the aggregate file size filter policy for the specified member.

Parameters:
member Member that filter is associated with.
Returns:
A FileSizeFilter object that contains the policy for the specified member.

static FileSizeFilter Simias::Policy::FileSizeFilter::Get ( Member  member,
Collection  collection 
) [inline, static]

Gets the aggregate file size filter policy for the specified member and collection.

Parameters:
member Member that filter is associated with.
collection Collection to add to the aggregate size policy.
Returns:
A FileSizeFilter object that contains the policy for the specified member.

static FileSizeFilter Simias::Policy::FileSizeFilter::Get ( Collection  collection  )  [inline, static]

Gets the aggregate file size filter policy for the specified member and collection.

Parameters:
collection Collection to add to the aggregate size policy.
Returns:
A FileSizeFilter object that contains the policy for the specified member.

static long Simias::Policy::FileSizeFilter::GetLimit ( string  domainID  )  [inline, static]

Gets the file size limit associated with the specified domain.

Parameters:
domainID Domain that the filter is associated with.
Returns:
Size of files that all users in the domain are limited to.

static long Simias::Policy::FileSizeFilter::GetLimit ( Member  member  )  [inline, static]

Gets the file size limit associated with the specified member.

Parameters:
member Member that the filter is associated with.
Returns:
Size of files that all users in the domain are limited to.

static long Simias::Policy::FileSizeFilter::GetLimit ( Collection  collection  )  [inline, static]

Gets the file size limit associated with the specified collection.

Parameters:
collection Collection that the limit is associated with.
Returns:
Size of files that all users in the domain are limited to.

static long Simias::Policy::FileSizeFilter::GetLimit (  )  [inline, static]

Gets the file size limit associated with the current user on the current machine.

Returns:
Size of files that all users in the domain are limited to.

static void Simias::Policy::FileSizeFilter::Set ( string  domainID,
long  limit 
) [inline, static]

Sets the file size limit associated with the specified domain.

Parameters:
domainID Domain that the filter is associated with.
limit Size of files that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Set ( Member  member,
long  limit 
) [inline, static]

Sets the file size limit associated with the specified member.

Parameters:
member Member that the filter is associated with.
limit Size of files that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Set ( Collection  collection,
long  limit 
) [inline, static]

Sets the file size limit associated with the specified collection.

Parameters:
collection Collection that the filter is associated with.
limit Size of files that all users in the domain will be limited to.

static void Simias::Policy::FileSizeFilter::Set ( long  limit  )  [inline, static]

Sets the file size limit associated with the current user on the current machine.

Parameters:
limit Size of files that all users in the domain will be limited to.

bool Simias::Policy::FileSizeFilter::Allowed ( long  fileSize  )  [inline]

Returns whether the specified file size is allowed to pass through the filter.

Parameters:
fileSize Size in bytes of a file.
Returns:
True if the file size is allowed to pass through the filter. Otherwise false is returned.


Member Data Documentation

string Simias::Policy::FileSizeFilter::FileSizeFilterPolicyID = "e33e0a4a-d272-4bd0-9f35-b5a4cbe5f237" [static]

Well known name for the file size filter policy.

Well known name for the file size filter policy description.


Property Documentation

long Simias::Policy::FileSizeFilter::Limit [get]

Gets the file size limit.


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

Generated on Wed Apr 8 14:49:52 2009 for simias by  doxygen 1.5.6