man Bric::Util::Grp::User () - Interface to Bric::Biz::Person::User Groups

NAME

Bric::Util::Grp::User - Interface to Bric::Biz::Person::User Groups

VERSION

$LastChangedRevision$

DATE

$LastChangedDate: 2004-08-12 17:13:34 -0700 (Thu, 12 Aug 2004) $

SYNOPSIS

See Bric::Util::Grp

DESCRIPTION

See Bric::Util::Grp.

INTERFACE

Constructors

Inherited from Bric::Util::Grp.

Destructors

$attr->DESTROY
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY. Throws: NONE. Side Effects: NONE. Notes: NONE.

Public Class Methods

$supported_classes = Bric::Util::Grp->get_supported_classes()
This will return an anonymous hash of the supported classes in the group as keys with the short name as a value. The short name is used to construct the member table names and the foreign key in the table. Throws: NONE. Side Effects: NONE. Notes: NONE. Returns a list or anonymous array of the supported classes in the group that can have their CWlist() methods called in succession to assemble a list of member objects. This data varies from that stored in the keys in the hash reference returned by CWget_supported_classes in that some classes' CWlist() methods may inherit from others, and we don't want the same CWlist() method executed more than once. Throws: NONE. Side Effects: NONE. Notes: NONE.
$class_id = Bric::Util::Grp::User->get_object_class_id
Forces all Objects to be considered as this class. Throws: NONE. Side Effects: NONE. Notes: NONE.
$class_id = Bric::Util::Grp::User->get_class_id()
This will return the class ID that this group is associated with. Throws: NONE. Side Effects: NONE. Notes: NONE. Returns false, because this is not a secret type of group, but one that can be used by users. Throws: NONE. Side Effects: NONE. Notes: NONE. Returns a Bric::Util::Class object describing this class. Throws: NONE. Side Effects: NONE. Notes: Uses Bric::Util::Class->lookup() internally. Returns a Bric::Util::Class object describing the members of this group. Throws: NONE. Side Effects: NONE. Notes: Uses Bric::Util::Class->lookup() internally.

Public Instance Methods

Most are inherited from Bric::Util::Grp. However, there are special methods here for managing privileges. Returns a list or anonymous array of Bric::Util::Priv objects set for this group. To manipulate those objects, see Bric::Util::Priv for its interface. Call CW$grp->save() to save your changes. Throws: NONE. Side Effects: NONE. Notes: NONE. Creates and returns a new Bric::Util::Priv object for this group. Pass in the Bric::Util::Grp object to which to grant the privilege, and the privilege value. Call CW$grp->save() to save your changes. Throws: NONE. Side Effects: NONE. Notes: NONE. Deletes the privileges associated with this group by their IDs. If no Bric::Util::Priv object IDs are passed, then all the privs associated with thos group will be deleted. Call CW$grp->save() to save your changes. Throws: NONE. Side Effects: NONE. Notes: NONE. Saves all changes to the group, including any changes to permissions. Throws: NONE. Side Effects: NONE. Notes: NONE.

PRIVATE

Private Constructors

NONE.

Private Class Methods

NONE.

Private Instance Methods

NONE.

Private Functions

Returns a collection of Bric::Util::Priv objects set for this group. Throws: NONE. Side Effects: NONE. Notes: NONE.

NOTES

NONE.

AUTHOR

David Wheeler <david@wheeler.net>

SEE ALSO

Bric, Bric::Biz::Person::User, Bric::Util::Priv