OVERLOADED

overload: @{}
See @{} in User::Identity::Collection.
overload: stringification
See stringification in User::Identity::Collection.

METHODS

Constructors

$class->new( [NAME], OPTIONS )
Option Defined in Default

description

User::Identity::Item

undef

item_type

User::Identity::Collection

User::Identity::Location

name

User::Identity::Item

'locations'

parent

User::Identity::Item

undef

roles

User::Identity::Collection

undef

description => STRING
item_type => CLASS
name => STRING
parent => OBJECT
roles => ROLE|ARRAY

Attributes

$obj->description
See description in User::Identity::Item.
$obj->itemType
See itemType in User::Identity::Collection.
$obj->name( [NEWNAME] )
See name in User::Identity::Item.
$obj->roles
See roles in User::Identity::Collection.

Collections

$obj->add( COLLECTION, ROLE )
See add in User::Identity::Item.
$obj->addCollection( OBJECT | ([TYPE], OPTIONS) )
See addCollection in User::Identity::Item.
$obj->collection( NAME )
See collection in User::Identity::Item.
$obj->parent( [PARENT] )
See parent in User::Identity::Item.
$obj->removeCollection( OBJECT|NAME )
See removeCollection in User::Identity::Item.
$obj->type
$class->type
See type in User::Identity::Item.
$obj->user
See user in User::Identity::Item.

Maintaining roles

$obj->addRole( ROLE| ([NAME],OPTIONS) | ARRAY )
See addRole in User::Identity::Collection.
$obj->removeRole( ROLE|NAME )
See removeRole in User::Identity::Collection.
$obj->renameRole( <ROLE|OLDNAME>, NEWNAME )
See renameRole in User::Identity::Collection.
$obj->sorted
See sorted in User::Identity::Collection.

Searching

$obj->find( NAME|CODE|undef )
See find in User::Identity::Collection.