add support for lines to default display
[clinton/lisp-on-lines.git] / src / packages.lisp
1 (defpackage :lisp-on-lines
2 (:use :arnesi
3 :iterate
4 :meta-model
5 :common-lisp
6 :it.bese.ucw
7 :clsql
8 :contextl)
9 (:nicknames :lol :mewa)
10
11 (:shadowing-import-from
12 :iterate
13 :with)
14
15 (:shadowing-import-from
16 :clsql
17 :time-difference
18 :make-time
19 :time-ymd
20 :date-ymd
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
40 (:export
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
45 :define-view-for-table
46 :define-views-for-database
47
48
49 ;;;; The LoL 3 displays
50 :defdisplay
51 :defattribute
52 :display
53 :display-using-description
54 :call-display
55
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
70
71 ;;;;a wrapper for calling make-presentation
72 :call-view
73 :present-view
74 :slot-view
75 :present-slot-view
76 :make-view
77 ;;;; Ajax
78 :auto-complete
79 :call-auto-complete
80
81 ;;;; Mewa Exports
82 :mewa ;the superclass of all mewa-presentations
83 :make-presentation
84 :call-presentation
85
86 :find-occurence
87
88 ;;attributes
89 :attributes
90 :attribute-value
91 :define-attributes
92 :with-default-attributes
93 :set-default-attributes
94 :set-attribute
95 :find-attribute
96 :perform-set-attributes
97 ;;
98 :perform-set-attribute-properties
99 :define-attributes
100
101 ;; presentation objects
102 :mewa-object-presentation
103 :mewa-one-line-presentation
104 :mewa-list-presentation
105 :mewa-search-presentation
106 :mewa-presentation-search
107
108 :editablep
109 :global-properties
110 ;; SLOT presentations
111
112 :mewa-relation-slot-presentation
113 :mewa-string-slot-presentation
114 :has-many-slot-presentation
115 :has-a
116 :has-many
117 :has-very-many
118 :many-to-many
119
120 ;; CRUD
121 :instance-is-stored-p
122
123 ;;;; Meta Model Exports))
124 :define-meta-model
125 :def-view-class-from-table
126 :def-view-class/meta
127 :list-slot-types
128 ))