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 | ||
2b0fd9c8 | 55 | |
d5e996b3 DC |
56 | ;;;;a wrapper for calling make-presentation |
57 | :call-view | |
58 | :present-view | |
59 | :slot-view | |
60 | :present-slot-view | |
61 | :make-view | |
d2512426 DC |
62 | ;;;; Ajax |
63 | :auto-complete | |
64 | :call-auto-complete | |
68a53dce | 65 | |
dbeb1708 | 66 | ;;;; Mewa Exports |
8e6e6b56 | 67 | :mewa ;the superclass of all mewa-presentations |
dbeb1708 | 68 | :make-presentation |
68a53dce | 69 | :call-presentation |
d5e996b3 | 70 | |
2b0fd9c8 DC |
71 | :find-occurence |
72 | ||
dbeb1708 DC |
73 | ;;attributes |
74 | :attributes | |
2b0fd9c8 | 75 | :attribute-value |
d5e996b3 DC |
76 | :define-attributes |
77 | :with-default-attributes | |
dbeb1708 DC |
78 | :set-default-attributes |
79 | :set-attribute | |
80 | :find-attribute | |
81 | :perform-set-attributes | |
82 | ;; | |
83 | :perform-set-attribute-properties | |
fc3e754f | 84 | :define-attributes |
dbeb1708 DC |
85 | |
86 | ;; presentation objects | |
87 | :mewa-object-presentation | |
88 | :mewa-one-line-presentation | |
89 | :mewa-list-presentation | |
5dea194e DC |
90 | :mewa-search-presentation |
91 | :mewa-presentation-search | |
598f1fa8 DC |
92 | |
93 | :editablep | |
94 | :global-properties | |
fc3e754f | 95 | ;; SLOT presentations |
b8c89851 | 96 | |
fc3e754f | 97 | :mewa-relation-slot-presentation |
5dea194e | 98 | :mewa-string-slot-presentation |
b8c89851 | 99 | :has-many-slot-presentation |
598f1fa8 DC |
100 | :has-a |
101 | :has-many | |
102 | :has-very-many | |
103 | :many-to-many | |
104 | ||
569ad9e6 DC |
105 | ;; CRUD |
106 | :instance-is-stored-p | |
107 | ||
dbeb1708 | 108 | ;;;; Meta Model Exports)) |
5a4eea11 DC |
109 | :define-meta-model |
110 | :def-view-class-from-table | |
7c3aade7 | 111 | :def-view-class/meta |
8e6e6b56 DC |
112 | :list-slot-types |
113 | )) |