summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-08-25 14:10:25 +0200
committerRob Crittenden <rcritten@redhat.com>2009-09-08 13:43:33 -0400
commit6f37d139cb605ff569877999196550eb49156ed3 (patch)
tree74a679e685e8c83b4b0cd35501c23249321e82d3 /ipalib/crud.py
parent34970fef5e6ab882ac10b6fbf8f3a531f0c8787c (diff)
downloadfreeipa-6f37d139cb605ff569877999196550eb49156ed3.tar.gz
freeipa-6f37d139cb605ff569877999196550eb49156ed3.tar.xz
freeipa-6f37d139cb605ff569877999196550eb49156ed3.zip
Remove obsolete CRUD base classes as they aren't used anymore.
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r--ipalib/crud.py48
1 files changed, 0 insertions, 48 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py
index 8b24d1f8f..57a2c782f 100644
--- a/ipalib/crud.py
+++ b/ipalib/crud.py
@@ -22,54 +22,6 @@ Base classes for standard CRUD operations.
import backend, frontend, parameters
-class Add(frontend.Method):
- def get_args(self):
- yield self.obj.primary_key
- for arg in self.takes_args:
- yield arg
-
- def get_options(self):
- for param in self.obj.params_minus_pk():
- yield param
- for option in self.takes_options:
- yield option
-
-
-class Get(frontend.Method):
- def get_args(self):
- yield self.obj.primary_key
-
-
-class Del(frontend.Method):
- def get_args(self):
- yield self.obj.primary_key
-
- def get_options(self):
- for option in self.takes_options:
- yield option
-
-
-class Mod(frontend.Method):
- def get_args(self):
- yield self.obj.primary_key
-
- def get_options(self):
- for param in self.obj.params_minus_pk():
- yield param.clone(required=False, query=True)
- for option in self.takes_options:
- yield option
-
-
-class Find(frontend.Method):
- def get_args(self):
- yield self.obj.primary_key
-
- def get_options(self):
- for param in self.obj.params_minus_pk():
- yield param.clone(required=False, query=True)
- for option in self.takes_options:
- yield option
-
class Create(frontend.Method):
"""