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) | |
b8c89851 | 26 | |
dbeb1708 | 27 | (:export |
8708d17f DC |
28 | ;;;; CLSQL meta-model/default attributes definers |
29 | ;;;; TODO: should be moved to meta-model, | |
30 | ;;;; with lol specific function implemented like the | |
31 | ;;;; CLOS meta-model | |
d5e996b3 DC |
32 | :define-view-for-table |
33 | :define-views-for-database | |
68a53dce | 34 | |
8708d17f DC |
35 | |
36 | ;;;; The LoL 3 displays | |
8c03855c | 37 | #:defdisplay |
38 | #:defdescription | |
39 | #:defattribute | |
40 | #:display | |
41 | #:display* | |
42 | #:display-using-description | |
43 | #:display-attribute | |
44 | #:call-display | |
8708d17f | 45 | |
8c03855c | 46 | #:standard-attribute |
47 | #:attribute.name | |
0386c736 | 48 | |
8c03855c | 49 | ;;;; Standard Layers |
50 | ||
51 | #:editor | |
52 | #:one-line | |
53 | #:as-string | |
54 | #:as-table | |
55 | ;;;; Wrapping layers | |
56 | #:wrap-div | |
57 | #:wrap-link | |
58 | ||
59 | #:show-attribute-labels | |
0386c736 | 60 | ;;;; "Lines", the newest creation. |
61 | :defline | |
0386c736 | 62 | |
91b9f259 | 63 | ;;;; A macro shortcut for creating ucw actions |
0386c736 | 64 | :action |
68a53dce | 65 | |
dbeb1708 | 66 | ;;;; Mewa Exports |
2b0fd9c8 DC |
67 | :find-occurence |
68 | ||
dbeb1708 DC |
69 | ;;attributes |
70 | :attributes | |
2b0fd9c8 | 71 | :attribute-value |
d5e996b3 DC |
72 | :define-attributes |
73 | :with-default-attributes | |
dbeb1708 DC |
74 | :set-default-attributes |
75 | :set-attribute | |
76 | :find-attribute | |
569ad9e6 | 77 | |
8c03855c | 78 | ;; Some CRUD |
79 | #:crud | |
80 | #:crud-editor | |
81 | #:crud-viewer | |
82 | #:crud-summary | |
83 | #:crud-database | |
84 | #:instance)) |