Commit | Line | Data |
---|---|---|
6d063a77 | 1 | (defpackage :lisp-on-lines |
5dea194e DC |
2 | (:use :arnesi |
3 | :iterate | |
4 | :meta-model | |
5 | :common-lisp | |
6 | :it.bese.ucw | |
15bc66bd DC |
7 | :clsql |
8 | :contextl) | |
b8c89851 DC |
9 | (:nicknames :lol :mewa) |
10 | ||
5dea194e DC |
11 | (:shadowing-import-from |
12 | :iterate | |
13 | :with) | |
b8c89851 DC |
14 | |
15 | (:shadowing-import-from | |
16 | :clsql | |
17 | :time-difference | |
18 | :make-time | |
19 | :time-ymd | |
20 | :date | |
21 | :get-time | |
22 | :time-element | |
23 | :time+ | |
24 | :date-element) | |
25 | ||
26 | (:shadow | |
27 | :present | |
28 | :present-slot | |
29 | :presentation | |
30 | :instance | |
31 | :slot-presentation | |
32 | :integer-slot-presentation | |
33 | :string-slot-presentation | |
34 | :object-presentation | |
35 | :one-line-presentation | |
36 | :presentation-slot-value | |
37 | :get-foreign-instances) | |
38 | ||
dbeb1708 | 39 | (:export |
8708d17f DC |
40 | ;;;; CLSQL meta-model/default attributes definers |
41 | ;;;; TODO: should be moved to meta-model, | |
42 | ;;;; with lol specific function implemented like the | |
43 | ;;;; CLOS meta-model | |
d5e996b3 DC |
44 | :define-view-for-table |
45 | :define-views-for-database | |
68a53dce | 46 | |
8708d17f DC |
47 | |
48 | ;;;; The LoL 3 displays | |
49 | :defdisplay | |
50 | :defattribute | |
51 | :display | |
52 | :display-using-description | |
53 | :call-display | |
54 | ||
d5e996b3 DC |
55 | ;;;;a wrapper for calling make-presentation |
56 | :call-view | |
57 | :present-view | |
58 | :slot-view | |
59 | :present-slot-view | |
60 | :make-view | |
d2512426 DC |
61 | ;;;; Ajax |
62 | :auto-complete | |
63 | :call-auto-complete | |
68a53dce | 64 | |
dbeb1708 | 65 | ;;;; Mewa Exports |
8e6e6b56 | 66 | :mewa ;the superclass of all mewa-presentations |
dbeb1708 | 67 | :make-presentation |
68a53dce | 68 | :call-presentation |
d5e996b3 | 69 | |
dbeb1708 DC |
70 | ;;attributes |
71 | :attributes | |
d5e996b3 DC |
72 | :define-attributes |
73 | :with-default-attributes | |
dbeb1708 DC |
74 | :set-default-attributes |
75 | :set-attribute | |
76 | :find-attribute | |
77 | :perform-set-attributes | |
78 | ;; | |
79 | :perform-set-attribute-properties | |
fc3e754f | 80 | :define-attributes |
dbeb1708 DC |
81 | |
82 | ;; presentation objects | |
83 | :mewa-object-presentation | |
84 | :mewa-one-line-presentation | |
85 | :mewa-list-presentation | |
5dea194e DC |
86 | :mewa-search-presentation |
87 | :mewa-presentation-search | |
598f1fa8 DC |
88 | |
89 | :editablep | |
90 | :global-properties | |
fc3e754f | 91 | ;; SLOT presentations |
b8c89851 | 92 | |
fc3e754f | 93 | :mewa-relation-slot-presentation |
5dea194e | 94 | :mewa-string-slot-presentation |
b8c89851 | 95 | :has-many-slot-presentation |
598f1fa8 DC |
96 | :has-a |
97 | :has-many | |
98 | :has-very-many | |
99 | :many-to-many | |
100 | ||
569ad9e6 DC |
101 | ;; CRUD |
102 | :instance-is-stored-p | |
103 | ||
dbeb1708 | 104 | ;;;; Meta Model Exports)) |
5a4eea11 DC |
105 | :define-meta-model |
106 | :def-view-class-from-table | |
7c3aade7 | 107 | :def-view-class/meta |
8e6e6b56 DC |
108 | :list-slot-types |
109 | )) |