libreccm-legacy/ccm-docmgr/pdl/com/arsdigita/cms/docmgr/ui/RecentUpdatedDocsPortlet.pdl

33 lines
887 B
Plaintext
Executable File

//
// Copyright (C) 2001 ArsDigita Corporation. All Rights Reserved.
//
// The contents of this file are subject to the ArsDigita Public
// License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of
// the License at http://www.arsdigita.com/ADPL.txt
//
// Software distributed under the License is distributed on an "AS
// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
// implied. See the License for the specific language governing
// rights and limitations under the License.
//
model com.arsdigita.cms.docmgr.ui;
import com.arsdigita.portal.Portlet;
object type RecentUpdatedDocsPortlet extends Portlet {
// Empty
}
query Timestamp {
Date timestamp;
do {
select max(timestamp) as timestamp
from vc_transactions
} map {
timestamp = timestamp;
}
}