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