X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/569ad9e659b96d5bce12410bbc0a24710306cd3e..e8d4fa4537a1655714ad8bbbf9b7ba2d85ead959:/src/packages.lisp?ds=sidebyside diff --git a/src/packages.lisp b/src/packages.lisp dissimilarity index 99% index 596af25..b10abdb 100644 --- a/src/packages.lisp +++ b/src/packages.lisp @@ -1,107 +1,40 @@ -(defpackage :meta-model - (:use :common-lisp :clsql) - (:export - :meta-model-class - :meta-model.base-type - :meta-model.instance - :meta-model.metadata - :def-meta-model - :def-base-class - :%def-base-class - - :def-view-class/table - :def-view-class/meta - :view-class-metadata - :create-table-from-model - :list-slots - :list-slot-types - :slot-type - :display-slot - :list-joins - :list-join-attributes - :list-keys - :list-view-classes - :display-slot - :primary-key-p - :list-foreign-keys - :foreign-key-p - :explode-foreign-key - :find-join-class - :find-join-key - :find-default-value - :explode-foreign-key - :list-has-many - :list-many-to-many - :sync-instance - :explode-has-many - :expr-ends-with - :expr-starts-with - :expr-contains - :expr-= - :expr-< - :expr-> - :expr-and - :expr-or - :expr-not - :select-instances)) - - -(defpackage :mewa - (:use :ucw :common-lisp) - (:export - :mewa - :mewa-object-presentation - :mewa-one-line-presentation - :mewa-list-presentation - :mewa-presentation-search - :find-attribute - :set-default-attributes - :make-presentation - :call-presentation - :label - :attributes - :set-attribute - :perform-set-attributes - :perform-set-attribute-properties - :find-class-attributes - :default-attributes - :ok - :edit-instance - :save-instance - :cancel-save-instance - :ensure-instance-sync - :instance-is-stored-p - :global-properties - :search-expr - :search-query)) - -(defpackage :lisp-on-lines - (:use :mewa :meta-model :common-lisp :it.bese.ucw) - (:nicknames :lol) - (:export - ;;;; Mewa Exports - :mewa ;the superclass of all mewa-presentations - :make-presentation - - ;;attributes - :attributes - :set-default-attributes - :set-attribute - :find-attribute - :perform-set-attributes - ;; - :perform-set-attribute-properties - - ;; presentation objects - :mewa-object-presentation - :mewa-one-line-presentation - :mewa-list-presentation - - ;; CRUD - :instance-is-stored-p - - ;;;; Meta Model Exports)) - :def-view-class/table - :def-view-class/meta - :list-slot-types - )) \ No newline at end of file +(defpackage #:lisp-on-lines + (:use + :common-lisp + #:contextl + #:closer-mop + #:postmodern + #:alexandria) + (:nicknames #:lol) + (:export + +;; ROFL stuff here temporarily + #:standard-db-access-class + #:make-dao-from-row + #:described-db-access-class + #:select-only + #:select + +;; Descriptions + #:find-description + #:define-description + #:described-object + #:described-class + #:with-active-descriptions + + ;; Displays + #:define-display + #:display + #:display-using-description + #:*display* + #:*object* + + ;; Attributes + #:find-attribute + #:attribute + #:attributes + #:attribute-label + #:attribute-function + #:attribute-value)) + +