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 | |
a4e6154d | 20 | :date-ymd |
b8c89851 DC |
21 | :date |
22 | :get-time | |
23 | :time-element | |
24 | :time+ | |
25 | :date-element) | |
26 | ||
27 | (:shadow | |
28 | :present | |
29 | :present-slot | |
30 | :presentation | |
31 | :instance | |
32 | :slot-presentation | |
33 | :integer-slot-presentation | |
34 | :string-slot-presentation | |
35 | :object-presentation | |
36 | :one-line-presentation | |
37 | :presentation-slot-value | |
38 | :get-foreign-instances) | |
39 | ||
dbeb1708 | 40 | (:export |
8708d17f DC |
41 | ;;;; CLSQL meta-model/default attributes definers |
42 | ;;;; TODO: should be moved to meta-model, | |
43 | ;;;; with lol specific function implemented like the | |
44 | ;;;; CLOS meta-model | |
d5e996b3 DC |
45 | :define-view-for-table |
46 | :define-views-for-database | |
68a53dce | 47 | |
8708d17f DC |
48 | |
49 | ;;;; The LoL 3 displays | |
50 | :defdisplay | |
51 | :defattribute | |
52 | :display | |
53 | :display-using-description | |
54 | :call-display | |
55 | ||
0386c736 | 56 | ;;;; Standard Layers |
57 | ||
58 | :editor | |
59 | :one-line | |
60 | :as-string | |
61 | :as-table | |
62 | ;;;; "Lines", the newest creation. | |
63 | :defline | |
64 | :line-in | |
65 | :line-out | |
66 | ||
67 | ||
68 | :action | |
69 | ||
2b0fd9c8 | 70 | |
d5e996b3 DC |
71 | ;;;;a wrapper for calling make-presentation |
72 | :call-view | |
73 | :present-view | |
74 | :slot-view | |
75 | :present-slot-view | |
76 | :make-view | |
d2512426 DC |
77 | ;;;; Ajax |
78 | :auto-complete | |
79 | :call-auto-complete | |
68a53dce | 80 | |
dbeb1708 | 81 | ;;;; Mewa Exports |
8e6e6b56 | 82 | :mewa ;the superclass of all mewa-presentations |
dbeb1708 | 83 | :make-presentation |
68a53dce | 84 | :call-presentation |
d5e996b3 | 85 | |
2b0fd9c8 DC |
86 | :find-occurence |
87 | ||
dbeb1708 DC |
88 | ;;attributes |
89 | :attributes | |
2b0fd9c8 | 90 | :attribute-value |
d5e996b3 DC |
91 | :define-attributes |
92 | :with-default-attributes | |
dbeb1708 DC |
93 | :set-default-attributes |
94 | :set-attribute | |
95 | :find-attribute | |
96 | :perform-set-attributes | |
97 | ;; | |
98 | :perform-set-attribute-properties | |
fc3e754f | 99 | :define-attributes |
dbeb1708 DC |
100 | |
101 | ;; presentation objects | |
102 | :mewa-object-presentation | |
103 | :mewa-one-line-presentation | |
104 | :mewa-list-presentation | |
5dea194e DC |
105 | :mewa-search-presentation |
106 | :mewa-presentation-search | |
598f1fa8 DC |
107 | |
108 | :editablep | |
109 | :global-properties | |
fc3e754f | 110 | ;; SLOT presentations |
b8c89851 | 111 | |
fc3e754f | 112 | :mewa-relation-slot-presentation |
5dea194e | 113 | :mewa-string-slot-presentation |
b8c89851 | 114 | :has-many-slot-presentation |
598f1fa8 DC |
115 | :has-a |
116 | :has-many | |
117 | :has-very-many | |
118 | :many-to-many | |
119 | ||
569ad9e6 DC |
120 | ;; CRUD |
121 | :instance-is-stored-p | |
122 | ||
dbeb1708 | 123 | ;;;; Meta Model Exports)) |
5a4eea11 DC |
124 | :define-meta-model |
125 | :def-view-class-from-table | |
7c3aade7 | 126 | :def-view-class/meta |
8e6e6b56 DC |
127 | :list-slot-types |
128 | )) |