Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::dri::data::statuslist(3pm) [debian man page]

Net::DRI::Data::StatusList(3pm) 			User Contributed Perl Documentation			   Net::DRI::Data::StatusList(3pm)

NAME
Net::DRI::Data::StatusList - Handle a collection of statuses for an object, in a registry independent fashion for Net::DRI DESCRIPTION
You should never have to use this class directly, but you may get back objects that are instances of subclasses of this class. An object of this class can store the statuses' names, with a message for each and a language tag, and any other stuff, depending on registry. METHODS
is_active() returns 1 if these statuses enable an object to be active is_published() returns 1 if these statuses enable the object to be published on registry DNS servers is_pending() returns 1 if these statuses are for an object that is pending some action at registry is_linked() returns 1 if these statuses are for an object that is linked to another one at registry can_update() returns 1 if these statuses allow to update the object at registry can_transfer() returns 1 if these statuses allow to transfer the object at registry can_delete() returns 1 if these statuses allow to delete the object at registry can_renew() returns 1 if these statuses allow to renew the object at registry possible_no() returns an array with the list of available status to use in the no() call no() can be used to build a status, which will be added to the list. Must be given three parameters: a status (from list given by "possible_no()"), a message (optional), a lang (optional, default to 'en') INTERNAL METHODS
You may also use the following methods, but they should be less useful as the purpose of the module is to give an abstract view of the underlying statuses. list_status() to get only the statuses' names, as an array of sorted names status_details() to get an hash ref with all status information has_any() returns 1 if the object has any of the statuses given as arguments has_not() returns 1 if the object has none of the statuses given as arguments SUPPORT
For now, support questions should be sent to: <netdri@dotandco.com> Please also see the SUPPORT file in the distribution. SEE ALSO
http://www.dotandco.com/services/software/Net-DRI/ AUTHOR
Patrick Mevzek, <netdri@dotandco.com> COPYRIGHT
Copyright (c) 2005,2006,2007,2008 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the LICENSE file that comes with this distribution for more details. perl v5.10.1 2010-03-25 Net::DRI::Data::StatusList(3pm)

Check Out this Related Man Page

Net::DRI::Data::RegistryObject(3pm)			User Contributed Perl Documentation		       Net::DRI::Data::RegistryObject(3pm)

NAME
Net::DRI::Data::RegistryObject - Additional API for Net::DRI operations SYNOPSYS
my $dri=Net::DRI->new(); my $nsg=$dri->remote_object('nsgroup'); $nsg->create(...); $nsg->update(...); $nsg->whatever(...); Also: my $nsg=$dri->remote_object('nsgroup','name'); DESCRIPTION
For objects other than domains, hosts, or contacts, Net::DRI::Data::RegistryObject can be used to apply actions. Net::DRI::remote_object is used to create a new Net::DRI::Data::RegistryObject with either only one parameter (the object type) or two parameters (the object type and the object name) If the object name is not passed at creation it will need to be passed for all later actions as first parameter. All calls are handled by an AUTOLOAD, except target() which is the same as in Net::DRI. All calls need either two array references (protocol parameters and transport parameters) or a list (protocol parameters only). SUPPORT
For now, support questions should be sent to: <netdri@dotandco.com> Please also see the SUPPORT file in the distribution. SEE ALSO
<http://www.dotandco.com/services/software/Net-DRI/> AUTHOR
Patrick Mevzek, <netdri@dotandco.com> COPYRIGHT
Copyright (c) 2005 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the LICENSE file that comes with this distribution for more details. perl v5.10.1 2010-03-25 Net::DRI::Data::RegistryObject(3pm)
Man Page