~ubuntu-branches/ubuntu/lucid/sabayon/lucid

« back to all changes in this revision

Viewing changes to admin-tool/lockdown/lockdownapplier.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Balneaves
  • Date: 2009-12-28 16:58:21 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20091228165821-38riqcxr41abmelj
Tags: 2.29.5~rc1-0ubuntu1
* New upstream release
  - Depend on Pessulus
  - Added manual
  - Fixed several crasher bugs
  - Added apply by group
  - Symlinks now saved in zipfile
* debian
  - Updated deps in control
  - removed sabayon.8, sabayon-apply.8, install.manpages (upstream man)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim: set ts=4 sw=4 et:
2
 
 
3
 
#
4
 
# Copyright (C) 2005 Vincent Untz <vuntz@gnome.org>
5
 
#
6
 
# This program is free software; you can redistribute it and/or modify
7
 
# it under the terms of the GNU General Public License as published by
8
 
# the Free Software Foundation; either version 2 of the License, or
9
 
# (at your option) any later version.
10
 
#
11
 
# This program is distributed in the hope that it will be useful,
12
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
# GNU General Public License for more details.
15
 
#
16
 
# You should have received a copy of the GNU General Public License
17
 
# along with this program; if not, write to the Free Software
18
 
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
19
 
#
20
 
 
21
 
class PessulusLockdownApplier:
22
 
    def __init__ (self):
23
 
        raise NotImplementedError
24
 
 
25
 
    def supports_mandatory_settings (self):
26
 
        raise NotImplementedError
27
 
 
28
 
    def get_schema (self, key):
29
 
        raise NotImplementedError
30
 
 
31
 
    def get_bool (self, key):
32
 
        raise NotImplementedError
33
 
 
34
 
    def set_bool (self, key, value, mandatory):
35
 
        raise NotImplementedError
36
 
 
37
 
    def get_list (self, key, list_type):
38
 
        raise NotImplementedError
39
 
 
40
 
    def set_list (self, key, list_type, value, mandatory):
41
 
        raise NotImplementedError
42
 
 
43
 
    def key_is_writable (self, key):
44
 
        raise NotImplementedError
45
 
 
46
 
    def notify_add (self, key, handler, data = None):
47
 
        raise NotImplementedError
48
 
 
49
 
    def notify_remove (self, monitor):
50
 
        raise NotImplementedError
51
 
 
52
 
    def add_dir (self, dir, preloadtype):
53
 
        raise NotImplementedError
54
 
 
55
 
    def remove_dir (self, dir):
56
 
        raise NotImplementedError