User::Identity::Collection::Locations3pm
A collection of locations
Inheritance
User::Identity::Collection::Locationsis a User::Identity::Collectionis a User::Identity::Item
Overview
This "User::Identity::Collection::Locations" object maintains a set User::Identity::Location objects, each describing a physical location.
Extends "DESCRIPTION" in User::Identity::Collection.
Overloaded
Extends "OVERLOADED" in User::Identity::Collection.
overload: "" stringification
|
Inherited, see "OVERLOADED" in User::Identity::Collection |
|---|---|
overload: @{} array dereference
|
Inherited, see "OVERLOADED" in User::Identity::Collection |
Methods
Extends "METHODS" in User::Identity::Collection.
Constructors
Extends "Constructors" in User::Identity::Collection.
- $class->
new( [$name], %options ) -
-Option --Defined in --Defaultdescription User::Identity::Item undefitem_type User::Identity::Collection User::Identity::Locationname User::Identity::Item 'locations'parent User::Identity::Item undefroles User::Identity::Collection undef- description => STRING
- item_type => CLASS
- name => STRING
- parent => OBJECT
- roles => $role|\@roles
Attributes
Extends "Attributes" in User::Identity::Collection.
$obj->
|
Inherited, see "Attributes" in User::Identity::Item |
|---|---|
$obj->
|
Inherited, see "Attributes" in User::Identity::Collection |
$obj->
|
Inherited, see "Attributes" in User::Identity::Item |
$obj->
|
Inherited, see "Attributes" in User::Identity::Collection |
Collections
Extends "Collections" in User::Identity::Collection.
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
|---|---|
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
$any->
|
Inherited, see "Collections" in User::Identity::Item |
$obj->
|
Inherited, see "Collections" in User::Identity::Item |
Maintaining roles
Extends "Maintaining roles" in User::Identity::Collection.
$obj->
|
Inherited, see "Maintaining roles" in User::Identity::Collection |
|---|---|
$obj->
|
Inherited, see "Maintaining roles" in User::Identity::Collection |
$obj->
|
Inherited, see "Maintaining roles" in User::Identity::Collection |
$obj->
|
Inherited, see "Maintaining roles" in User::Identity::Collection |
Searching
Extends "Searching" in User::Identity::Collection.
- $obj->
find($name|CODE|undef) -
Inherited, see "Searching" in User::Identity::Collection
Diagnostics
- Error: cannot create a $type to add this to my collection.
-
Some options are specified to create a
$typeobject, which is native to this collection. However, for some reason this failed. Cast byaddRole()
- Error: cannot load collection module for $type ($class): $@
-
Either the specified
$typedoes not exist, or that module named$classreturns compilation errors. If the type as specified in the warning is not the name of a package, you specified a nickname which was not defined. Maybe you forgot the 'require' the package which defines the nickname. Cast byaddCollection()
- Error: cannot rename $from into $to: already exists.
-
Cast by
renameRole()
- Error: cannot rename $from into $to: doesn't exist.
-
Cast by
renameRole()
- Error: nvalid collection $name.
-
The collection with
$namedoes not exist and can not be created. Cast byadd()
- Error: this $object is not a collection.
-
Cast by
addCollection()
- Error: wrong type of role for $collection: requires a $expect but got a $type.
-
Each
$collectiongroups sets of roles of one specific type ($expect). You cannot add objects of a different$type. Cast byaddRole()
Releases
12 releases since Debian 3.1 (Sarge); the text changed 9 times.