From svnnotify @ sourceforge.jp Thu Jan 3 21:42:44 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 03 Jan 2008 21:42:44 +0900 Subject: [pal-cvs 3027] [771] New UI\! Message-ID: <1199364164.783316.29633.nullmailer@users.sourceforge.jp> Revision: 771 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=771 Author: shinsuke Date: 2008-01-03 21:42:43 +0900 (Thu, 03 Jan 2008) Log Message: ----------- New UI\! Modified Paths: -------------- pal-portal/trunk/portal/build.xml pal-portal/trunk/portal/files/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm pal-portal/trunk/portal/patches/layout-portlets/src/webapp/WEB-INF/portlet.xml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-wap2/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-wap2/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-hdml/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-hdml/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-hdml/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-wap2/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/kddi-wap2/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-html/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-html/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-wap2/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/softbank-wap2/register.psml pal-portal/trunk/portal/resources/psml/default/_role/site/default-page.psml pal-portal/trunk/portal/resources/psml/default/_role/site/forgot.psml pal-portal/trunk/portal/resources/psml/default/_role/site/register.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/docomo-html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/docomo-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/html/folder.metadata pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/kddi-hdml/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/kddi-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/softbank-html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/_template/_mediatype/softbank-wap2/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/default-page.psml pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/portalmanagement/folder.metadata pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/portalmanagement/portlets.psml pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/portalmanagement/site-editor.psml pal-portal/trunk/portal/resources/psml/default/default-page.psml pal-portal/trunk/portal/resources/psml/default/my-account.psml pal-portal/trunk/portal/resources/psml/default/system/customizer/portlet-selector.psml pal-portal/trunk/portal/resources/psml/default/system/customizer/selector.psml pal-portal/trunk/portal/resources/psml/default/system/customizer/site-editor.psml Added Paths: ----------- pal-portal/trunk/portal/files/layout-portlets/ pal-portal/trunk/portal/files/layout-portlets/src/ pal-portal/trunk/portal/files/layout-portlets/src/java/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ActionLayoutPortlet.java pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/.styles.css.swp pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css.orig pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator-macros.vm pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator.properties pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/footer.vm pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/add-portlet.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/coreback.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/edit-page.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/folder-new.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.xcf pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header.jpg pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.xcf pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.png pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.xcf pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/page-new.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_arrow.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_over.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.gif pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.xcf pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/interface-1.2/ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/interface-1.2/interface.js pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.1.4.pack.js pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.2.1.min.js pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/main.js pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/styles.css pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.properties pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.vm pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.xcf pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/close.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/customize.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/edit.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.xcf pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.xcf pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/help.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowdoc_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderclosed1_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderopen2_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_error_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_info_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_success_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_warning_sml.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info1.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/leftnavbg.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/maximized.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/minimized.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/normal.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/print.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/restore.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.xcf pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/title_background.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/view.gif pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/portalmanagement/user-mgt.psml Removed Paths: ------------- pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/portalmanagement/permission-policy.psml pal-portal/trunk/portal/resources/psml/default/_user/admin/_mediatype/html/usermanagement/ -------------- next part -------------- Modified: pal-portal/trunk/portal/build.xml =================================================================== --- pal-portal/trunk/portal/build.xml 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/build.xml 2008-01-03 12:42:43 UTC (rev 771) @@ -196,12 +196,14 @@ token="@@CONTAINER_VERSION_MINOR@@" value="${container.version.minor}" /> - + + value="${container.name} ${portal.version}"> + + Added: pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ActionLayoutPortlet.java =================================================================== --- pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ActionLayoutPortlet.java 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ActionLayoutPortlet.java 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,476 @@ +package org.apache.jetspeed.portlets.layout; + +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.util.List; + +import javax.portlet.ActionRequest; +import javax.portlet.ActionResponse; +import javax.portlet.PortletConfig; +import javax.portlet.PortletException; + +import org.apache.commons.lang.RandomStringUtils; +import org.apache.commons.lang.StringUtils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.jetspeed.CommonPortletServices; +import org.apache.jetspeed.PortalReservedParameters; +import org.apache.jetspeed.decoration.PageEditAccess; +import org.apache.jetspeed.om.folder.Folder; +import org.apache.jetspeed.om.folder.FolderNotFoundException; +import org.apache.jetspeed.om.folder.InvalidFolderException; +import org.apache.jetspeed.om.page.ContentPage; +import org.apache.jetspeed.om.page.Fragment; +import org.apache.jetspeed.om.page.Page; +import org.apache.jetspeed.page.FolderNotUpdatedException; +import org.apache.jetspeed.page.PageManager; +import org.apache.jetspeed.page.PageNotFoundException; +import org.apache.jetspeed.page.PageNotUpdatedException; +import org.apache.jetspeed.page.document.DocumentException; +import org.apache.jetspeed.page.document.NodeException; +import org.apache.jetspeed.request.RequestContext; + +public class ActionLayoutPortlet extends MultiColumnPortlet { + protected final static Log log = LogFactory + .getLog(ActionLayoutPortlet.class); + + public static final String TARGET_CLASS = "targetClass"; + + public static final String PATH = "path"; + + public static final String ID = "id"; + + public static final String TITLE = "title"; + + public static final String FRAGMENT_ID = "fid"; + + public static final String PORTLET_NAME = "portlet"; + + public static final String ACTION_LAYOUT_PORTLET_CLASSNAME = ActionLayoutPortlet.class + .getName(); + + public static final String ADD_NEW_PAGE = "addNewPage"; + + public static final String ADD_NEW_FOLDER = "addNewFolder"; + + public static final String ADD_PORTLET = "addPortlet"; + + public static final String DEFAULT_LAYOUT_NAME = "jetspeed-layouts::VelocityOneColumn"; + + public static final String DEFAULT_LAYOUT_DECORATOR = "default"; + + public static final String DEFAULT_PORTLET_DECORATOR = "default"; + + private PageManager pageManager = null; + + public void init(PortletConfig config) throws PortletException { + super.init(config); + + // pageManager + pageManager = (PageManager) config.getPortletContext().getAttribute( + CommonPortletServices.CPS_PAGE_MANAGER_COMPONENT); + if (null == pageManager) { + throw new PortletException( + "Failed to find the Page Manager on portlet initialization"); + } + } + + public void processAction(ActionRequest request, ActionResponse response) + throws PortletException, IOException { + String targetClass = request.getParameter(TARGET_CLASS); + if (targetClass != null + && targetClass.equals(ACTION_LAYOUT_PORTLET_CLASSNAME)) { + RequestContext requestContext = (RequestContext) request + .getAttribute(PortalReservedParameters.REQUEST_CONTEXT_ATTRIBUTE); + + ContentPage requestPage = requestContext.getPage(); + PageEditAccess pageEditAccess = (PageEditAccess) requestContext + .getAttribute(PortalReservedParameters.PAGE_EDIT_ACCESS_ATTRIBUTE); + if (requestPage == null || pageEditAccess == null) { + throw new PortletException( + "Current request page or PageEditAccess not available."); + } + + if (checkAction(request, ADD_NEW_PAGE)) { + // new page + addNewPage(request, response); + } else if (checkAction(request, ADD_NEW_FOLDER)) { + // new folder + addNewFolder(request, response); + } else if (checkAction(request, ADD_PORTLET)) { + // add portlet + addPortlet(request, response); + } + } else { + super.processAction(request, response); + } + } + + private String getId(String id, String title) { + if (id != null && !id.equals("")) { + if (StringUtils.isAlphanumeric(id)) { + return id; + } else { + try { + return URLEncoder.encode(id, "UTF-8").replaceAll("[+%]", + "-"); + } catch (UnsupportedEncodingException e) { + } + } + } + try { + return URLEncoder.encode(title, "UTF-8").replaceAll("[+%]", "-"); + } catch (UnsupportedEncodingException e) { + return RandomStringUtils.randomAlphanumeric(10); + } + } + + protected void addNewPage(ActionRequest request, ActionResponse response) { + String path = request.getParameter(PATH); + String id = request.getParameter(ID); + String title = request.getParameter(TITLE); + if (title == null || path == null) { + // TODO throws an exception + return; + } + + String pageName = getId(id, title); + String pageTitle = title; + String pageShortTitle = title; + String layoutName = DEFAULT_LAYOUT_NAME; + String pageDecorator = DEFAULT_LAYOUT_DECORATOR; + String portletDecorator = DEFAULT_PORTLET_DECORATOR; + String desktopTheme = "none"; + boolean pageHidden = false; + + Folder folder = getFolder(path); + if (folder == null) { + // TODO throws an exception + log.error("Could not find a folder: " + path); + return; + } + + // add page + String pagePath = folder.getPath(); + if (pagePath.endsWith(Folder.PATH_SEPARATOR)) { + pagePath = pagePath + pageName; + } else { + pagePath = pagePath + Folder.PATH_SEPARATOR + pageName; + } + Page childPage = getPageManager().newPage(pagePath); + childPage.getRootFragment().setName(layoutName); + childPage.setDefaultDecorator(pageDecorator, Fragment.LAYOUT); + childPage.setDefaultDecorator(portletDecorator, Fragment.PORTLET); + childPage.setTitle(pageTitle); + childPage.setShortTitle(pageShortTitle); + childPage.setSkin(desktopTheme); + childPage.setHidden(pageHidden); + try { + getPageManager().updatePage(childPage); + getPageManager().reset(); + } catch (PageNotUpdatedException e) { + // TODO throws an exception + log.error("Could not add a page: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not add a page: " + path, e); + return; + } + + List orderList = folder.getDocumentOrder(); + if (orderList != null) { + String name = childPage.getName(); + if (orderList.indexOf(name) < 0) { + orderList.add(name); + folder.setDocumentOrder(orderList); + try { + getPageManager().updateFolder(folder); + getPageManager().reset(); + } catch (FolderNotUpdatedException e) { + // TODO throws an exception + log.error("Could not change a page order: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not change a page order: " + path, e); + return; + } + } + } + + } + + public void addNewFolder(ActionRequest request, ActionResponse response) { + String path = request.getParameter(PATH); + String id = request.getParameter(ID); + String title = request.getParameter(TITLE); + if (title == null || path == null) { + // TODO throws an exception + log.error("title or path are null: title=" + title + ", path=" + + path); + return; + } + + String folderName = getId(id, title); + String folderTitle = title; + String folderShortTitle = title; + String layoutName = DEFAULT_LAYOUT_NAME; + String pageDecorator = DEFAULT_LAYOUT_DECORATOR; + String portletDecorator = DEFAULT_PORTLET_DECORATOR; + String desktopTheme = "none"; + boolean folderHidden = false; + + Folder folder = getFolder(path); + if (folder == null) { + // TODO throws an exception + log.error("Could not find a folder: " + path); + return; + } + + String folderPath = folder.getPath(); + if (folderPath.endsWith(Folder.PATH_SEPARATOR)) { + folderPath = folderPath + folderName; + } else { + folderPath = folderPath + Folder.PATH_SEPARATOR + folderName; + } + Folder child = getPageManager().newFolder(folderPath); + child.setTitle(folderTitle); + child.setShortTitle(folderShortTitle); + child.setDefaultDecorator(pageDecorator, Fragment.LAYOUT); + child.setDefaultDecorator(portletDecorator, Fragment.PORTLET); + child.setSkin(desktopTheme); + child.setHidden(folderHidden); + try { + getPageManager().updateFolder(child); + getPageManager().reset(); + } catch (PageNotUpdatedException e) { + // TODO throws an exception + log.error("Could not add a folder: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not add a folder: " + path, e); + return; + } + + // change a folder order + List orderList = folder.getDocumentOrder(); + if (orderList != null) { + String name = child.getName(); + if (orderList.indexOf(name) < 0) { + orderList.add(name); + folder.setDocumentOrder(orderList); + try { + getPageManager().updateFolder(folder); + getPageManager().reset(); + } catch (FolderNotUpdatedException e) { + // TODO throws an exception + log.error("Could not change a folder order: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not change a folder order: " + path, e); + return; + } + } + } + + // add default childPage + String pagePath = child.getPath(); + if (pagePath.endsWith(Folder.PATH_SEPARATOR)) { + pagePath = pagePath + "default-page"; + } else { + pagePath = pagePath + Folder.PATH_SEPARATOR + "default-page"; + } + Page childPage = getPageManager().newPage(pagePath); + childPage.getRootFragment().setName(layoutName); + childPage.setDefaultDecorator(pageDecorator, Fragment.LAYOUT); + childPage.setDefaultDecorator(portletDecorator, Fragment.PORTLET); + childPage.setTitle(folderTitle); + childPage.setShortTitle(folderShortTitle); + childPage.setSkin(desktopTheme); + childPage.setHidden(folderHidden); + try { + getPageManager().updatePage(childPage); + getPageManager().reset(); + } catch (PageNotUpdatedException e) { + // TODO throws an exception + log.error("Could not add a default page: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not add a default page: " + path, e); + return; + } + + orderList = child.getDocumentOrder(); + if (orderList != null) { + String name = childPage.getName(); + if (orderList.indexOf(name) < 0) { + orderList.add(name); + child.setDocumentOrder(orderList); + try { + getPageManager().updateFolder(child); + getPageManager().reset(); + } catch (FolderNotUpdatedException e) { + // TODO throws an exception + log.error("Could not change a default page order: " + path, + e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not change a default page order: " + path, + e); + return; + } + } + } + + } + + public void addPortlet(ActionRequest request, ActionResponse response) { + String path = request.getParameter(PATH); + String fid = request.getParameter(FRAGMENT_ID); + String portletName = request.getParameter(PORTLET_NAME); + if (portletName == null || fid == null || path == null) { + // TODO throws an exception + log.error("portletName, fid or path are null: portletName=" + + portletName + ", fid=" + fid + ", path=" + path); + return; + } + + Page page = getPage(path); + if (page == null) { + // TODO throws an exception + log.error("page is null."); + return; + } + Fragment fragment = page.getFragmentById(fid); + + Fragment child = getPageManager().newFragment(); + child.setName(portletName); + child.setDecorator(fragment.getDecorator()); + child.setSkin(fragment.getSkin()); + child.setType("portlet"); + + fragment.getFragments().add(child); + + try { + getPageManager().updatePage(page); + getPageManager().reset(); + } catch (PageNotUpdatedException e) { + // TODO throws an exception + log.error("Could not update a page: " + path, e); + return; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not update a page: " + path, e); + return; + } + } + + protected Folder getFolder(String path) { + if (path == null) { + // TODO exception? + return null; + } + + try { + Folder folder = getPageManager().getFolder("/"); + String[] names = path.split("/"); + if (names.length == 0) { + return folder; + } + for (int i = 0; i < names.length - 1; i++) { + if (!"".equals(names[i])) { + folder = folder.getFolder(names[i]); + } + } + if (names[names.length - 1].endsWith(".psml")) { + // parent folder + return folder; + } else { + // folder + return folder.getFolder(names[names.length - 1]); + } + } catch (FolderNotFoundException e) { + // TODO throws an exception + log.error("Could not change a page order: " + path, e); + return null; + } catch (InvalidFolderException e) { + // TODO throws an exception + log.error("Could not access a folder: " + path, e); + return null; + } catch (DocumentException e) { + // TODO throws an exception + log.error("Could not access a folder: " + path, e); + return null; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not access a folder: " + path, e); + return null; + } + } + + protected Page getPage(String path) { + if (path == null) { + // TODO exception? + return null; + } + + try { + Folder folder = getPageManager().getFolder("/"); + String[] names = path.split("/"); + for (int i = 0; i < names.length - 1; i++) { + if (!"".equals(names[i])) { + folder = folder.getFolder(names[i]); + } + } + if (names[names.length - 1].endsWith(".psml")) { + // page + return folder.getPage(names[names.length - 1]); + } else { + // folder + return null; + } + } catch (PageNotFoundException e) { + // TODO throws an exception + log.error("Could not access a page: " + path, e); + return null; + } catch (FolderNotFoundException e) { + // TODO throws an exception + log.error("Could not access a page: " + path, e); + return null; + } catch (InvalidFolderException e) { + // TODO throws an exception + log.error("Could not access a page: " + path, e); + return null; + } catch (DocumentException e) { + // TODO throws an exception + log.error("Could not access a page: " + path, e); + return null; + } catch (NodeException e) { + // TODO throws an exception + log.error("Could not access a page: " + path, e); + return null; + } + } + + private boolean checkAction(ActionRequest request, String key) { + String value = request.getParameter(key); + if (value != null && !value.equals("")) { + return true; + } + return false; + } + + public PageManager getPageManager() { + return pageManager; + } + + public void setPageManager(PageManager pageManager) { + this.pageManager = pageManager; + } +} Property changes on: pal-portal/trunk/portal/files/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ActionLayoutPortlet.java ___________________________________________________________________ Name: svn:eol-style + native Modified: pal-portal/trunk/portal/files/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm 2008-01-03 12:42:43 UTC (rev 771) @@ -29,6 +29,12 @@ #set($editing = true) #set($lastColumn = $renderRequest.getAttribute("numberOfColumns") - 1) #end +#set($layoutType =$portletConfig.getInitParameter("layoutType")) +#set($columnLayout = $renderRequest.getAttribute("columnLayout")) +#set($decorationFactory = $renderRequest.getAttribute("decorationFactory")) +#set($rc = $renderRequest.getAttribute("org.apache.jetspeed.request.RequestContext")) +#set($psrc = $rc.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext")) +#set($profiledPage = $psrc.Page.Path) #if ($isRoot) #parse($myFragment.decoration.header) #set($layoutClass = "portal-nested-layout") @@ -37,13 +43,6 @@ #set($layoutClass = "portal-layout") #end -#set($layoutType =$portletConfig.getInitParameter("layoutType")) -#set($columnLayout = $renderRequest.getAttribute("columnLayout")) -#set($decorationFactory = $renderRequest.getAttribute("decorationFactory")) -#set($rc = $renderRequest.getAttribute("org.apache.jetspeed.request.RequestContext")) -#set($psrc = $rc.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext")) -#set($profiledPage = $psrc.Page.Path) -
#if($portalMode == "standard")## standard mode #set($_actions = $layoutDecoration.actions) Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/.styles.css.swp =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/.styles.css.swp ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,454 @@ +/* +Copyright 2008 Portal Application Laboratory + +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +body.layout-default { + height: auto; + background-color: #ffffff; + color: #000000; + font-family: Arial, sans-serif; + font-size: 10pt; + margin: 0; + padding: 0; +} + +div.layout-default { + margin: 0; + padding: 0; +} + +.layout-default #container { + width: 100%; + height: auto; + margin: 0; + padding: 0; + text-align: left; +} + +.layout-default #header { + margin: 0; + padding: 0; +} + +.layout-default #header-topbar { + margin: 0; + padding: 0; +} + +.layout-default #header-topbar a:link { + color: #0000ee; +} + +.layout-default #header-topbar a:visited { + color: #0000ee; +} + +.layout-default #header-topbar a:hover { + color: #0000ee; +} + +.layout-default #header-topbar .breadcrumbs { + float: left; +} + +.layout-default #header-topbar .breadcrumbs .list { + margin: 0; + padding: 5px; +} + +.layout-default #header-topbar .folder { + float: right; +} + +.layout-default #header-topbar .folder ul { + margin: 0; + padding: 0; +} + +.layout-default #header-topbar .folder ul li { + list-style: none; + margin:0px; + padding:5px; + float: left; +} + +.layout-default #header-topbar .folder span.title { + font-weight: bold; +} + +.layout-default #header-topbar .folder ul li #new-folder-link img { + vertical-align: middle; + margin-right: 2px; +} + + +.layout-default #header-body { + clear: both; + margin: 0; + padding: 0; + border-top: 1px solid #a9a9a9; +} + +.layout-default #header-body a:link { + color: #0000ee; +} + +.layout-default #header-body a:hover { + color: #0000ee; +} + +.layout-default #header-body a:visited { + color: #0000ee; +} + +.layout-default #header-body .content { + margin: 0px 30px; + padding: 0; +} + +.layout-default #header-body .content .logo { + margin: 0; + padding: 0; + float: left; +} + +.layout-default #header-body .content .logo img { + border:0px; + padding: 5px; +} + +.layout-default #header-body .info { + float: right; + padding: 10px 0px; + text-align: right; +} + +.layout-default #header-body .info .login { +} + +.layout-default #header-body .info .login a { + text-decoration: none; +} + +.layout-default #header-body .info .login a:hover { + text-decoration: underline; +} + +.layout-default #header-bottombar { + clear: both; + margin: 0; + padding: 0; + width: 100%; + height: 25px; + line-height: 23px; +} + +.layout-default #header-bottombar ul { + margin: 0; + padding: 0; + width: 100%; +} + +.layout-default #header-bottombar ul li { + list-style: none; + float: left; + height: 25px; + line-height: 23px; +} + +.layout-default #header-bottombar ul li.first { + width: 20px; + border-bottom: 1px solid #a9a9a9; +} + +.layout-default #header-bottombar ul li.selected { + display: block; + border-top: 1px solid #a9a9a9; + border-left: 1px solid #a9a9a9; + border-right: 1px solid #a9a9a9; +} + +.layout-default #header-bottombar ul li.selected span { + display: inline; + white-space: pre; + padding: 0px 10px; +} + +.layout-default #header-bottombar ul li.selected span a { + text-decoration: none; + color: #0000ee; +} + +.layout-default #header-bottombar ul li.selected span a:visited { + color: #0000ee; +} + +.layout-default #header-bottombar ul li.selected span a:hover { +} + +.layout-default #header-bottombar ul li.selectable { + display: block; + border: 1px solid #a9a9a9; + height: 24px; + background-color: #dcdcdc; +} + +.layout-default #header-bottombar ul li.selectable span { + display: inline; + white-space: pre; + padding: 0px 10px; +} + +.layout-default #header-bottombar ul li.selectable span a { + text-decoration: none; + color: #0000ee; +} + +.layout-default #header-bottombar ul li.selectable span a:visited { + color: #0000ee; +} + +.layout-default #header-bottombar ul li.selectable span a:hover { +} + +.layout-default #header-bottombar ul li.new-page { + display: block; + border-bottom: 1px solid #a9a9a9; + padding-left: 5px; + margin-right: -5px; +} + +.layout-default #header-bottombar #new-page-link img { + vertical-align: middle; + margin-right: 2px; +} + +.layout-default #header-bottombar #add-portlet-link img { + vertical-align: middle; + margin-right: 2px; +} + +.layout-default #header-bottombar #edit-page-link img { + vertical-align: middle; + margin-right: 2px; +} + +.layout-default #header-bottombar ul li.menu { + float: none; + border-bottom: 1px solid #a9a9a9; + text-align: right; + padding-right: 10px; +} + +.layout-default #header-bottombar ul li.spacer { + width: 5px; + border-bottom: 1px solid #a9a9a9; +} + +.layout-default #core { + clear: both; + padding: 20px 0px; +} + +.layout-default #core-content { + margin-left: 2%; + width: 96%; +} + +.layout-default #core-content .portal-layout-column { + min-height: 400px; +} + +.layout-default #core-content .sortHelper { + border: 3px dashed #666; + width: auto !important; +} + +* html .layout-default #core-content .portal-layout-column { + height:400px; +} + +.layout-default #new-page-dialog { + position: absolute; + left: 50%; + top: 20%; + margin-left: -250px; + margin-top: -50px; + text-align: center; + width: 500px; + background-color: #eeeeee; + padding: 3px; + z-index: 9000; + display: none; +} + +.layout-default #new-page-dialog form { + padding: 0; + margin: 0; +} + +.layout-default #new-page-dialog h3.title { + text-align: left; + color: #333333; + font-size: 11pt; + padding: 3px; + margin: 0; +} + +.layout-default #new-page-dialog .content { + text-align: left; + background-color: #ffffff; + padding: 5px 3px; + margin: 0px; +} + +.layout-default #new-page-dialog .content .data { + height: 30px; +} + +.layout-default #new-page-dialog .content .data .label { + float: left; + text-align: right; + width: 200px; + padding-right: 10px; +} + +.layout-default #new-page-dialog .content .action { + text-align: center; +} + +.layout-default #new-folder-dialog { + position: absolute; + left: 50%; + top: 20%; + margin-left: -250px; + margin-top: -50px; + text-align: center; + width: 500px; + background-color: #eeeeee; + padding: 3px; + z-index: 9000; + display: none; +} + +.layout-default #new-folder-dialog form { + padding: 0; + margin: 0; +} + +.layout-default #new-folder-dialog h3.title { + text-align: left; + color: #333333; + font-size: 11pt; + padding: 3px; + margin: 0; +} + +.layout-default #new-folder-dialog .content { + text-align: left; + background-color: #ffffff; + padding: 5px 3px; + margin: 0px; +} + +.layout-default #new-folder-dialog .content .data { + height: 30px; +} + +.layout-default #new-folder-dialog .content .data .label { + float: left; + text-align: right; + width: 200px; + padding-right: 10px; +} + +.layout-default #new-folder-dialog .content .action { + text-align: center; +} + +.layout-default #add-portlet-dialog { + position: absolute; + left: 50%; + top: 20%; + margin-left: -250px; + margin-top: -50px; + text-align: center; + width: 500px; + background-color: #eeeeee; + padding: 3px; + z-index: 9000; + display: none; +} + +.layout-default #add-portlet-dialog form { + padding: 0; + margin: 0; +} + +.layout-default #add-portlet-dialog h3.title { + text-align: left; + color: #333333; + font-size: 11pt; + padding: 3px; + margin: 0; +} + +.layout-default #add-portlet-dialog .content { + text-align: left; + background-color: #ffffff; + padding: 5px 3px; + margin: 0px; +} + +.layout-default #add-portlet-dialog .content .data { + height: 30px; +} + +.layout-default #add-portlet-dialog .content .data .label { + float: left; + text-align: right; + width: 200px; + padding-right: 10px; +} + +.layout-default #add-portlet-dialog .content .action { + text-align: center; +} + +.layout-default #footer { + border-top: 1px solid #a9a9a9; + width: 100%; + padding: 20px 0px; + margin: 0; + text-align: center; +} + +.layout-default #dialog-overlay { + position: absolute; + top: 0px; + left: 0px; + height: 100%; + width: 100%; + opacity: 0.6; + filter: Alpha(opacity=60); + visibility: visible; + background-color: #000000; + padding: 0; + margin: 0; + z-index: 8000; +} + + + Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css.orig =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css.orig 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/css/styles.css.orig 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,302 @@ +/* +Copyright 2008 Portal Application Laboratory + +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +body { + height: auto; + background: #ffffff; + color: #000000; + font-family: Arial, sans-serif; + font-size: 10pt; + margin: 0; + padding: 0; +} + +.layout-default #container { + width: 100%; + height: auto; + margin: 0; + padding: 0; + text-align:left; +} + +.layout-default #header { + margin: 0; + padding: 0; +} + +.layout-default #header-topbar { + margin: 0; + padding: 0; + border-bottom: 1px solid #b6d5eb; +} + +.layout-default #header-body { + margin: 0; + padding: 0; +} + +.layout-default #header-bottombar { + margin: 0; + padding: 0; +} + + + + + +/** + This white-space setting is VERY important as it keeps content from "spilling" + outside of portlets. + */ + +a:link, a:visited { + color: #335599; + text-decoration: underline; +} + +a:hover { + color: #4466aa; +} + +body.layout-default +{ + margin: 0; + padding: 0; +} + + +#portal-page-actions A img +{ + display: inline; +} + +#portal-page-actions +{ + text-align:right; +} + +.layout-default .layout-edit-bar +{ + width: 100%; + padding-top: 5px; + font-size: 8pt; + color: blue; + overflow:hidden; + clip:auto; +} + +.layout-default .layout-edit-bar label, +.layout-default .layout-edit-bar input, +.layout-default .layout-edit-bar select +{ + font-size: 8pt; + color: blue; +} + +.layout-default .layout-edit-bar input +{ + font-size: 8pt; +} + +.layout-default .layout-edit-bar-left +{ + display:inline; + float:left; +} + +.layout-default .layout-edit-bar-right +{ + display:inline; + float:right; + padding-right: 5px; +} + +.layout-default .portlet-edit-bar select +{ + font-size: 8pt; + color: blue; +} + + + +.layout-default #navbar { + position:relative; + top:25px; + margin:0px; + padding:0px; + width:800px; + height:30px; + background-image: url(../images/tab_bg.gif); +} + +/* the links in the navigationbar are an unordered list */ +.layout-default #navbar ul { + margin:0px; + padding:0px; +} + +.layout-default #navbar li { + list-style: none; + margin:0px; + padding:0px; + height:30px; + float: left; +} +.layout-default #navbar a { + float: left; + text-decoration: none; + margin:0px; + padding: 8px 5px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + font-weight: bold; + color: #ffffff; +} +.layout-default #navbar a:hover { + background: #71758a; + color: #ffffff; +} +.layout-default #navbar span { + float: left; + text-decoration: none; + margin:0px; + padding: 8px 5px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + font-weight: bold; + color: #ffffff; +} + +.layout-default #navbar img { + background-color:#ffffff; + float:right; + margin:0px; + padding: 0px; +} + +/* the core contains all the site contents */ +.layout-default #core { + clear:both; + position:relative; + top:30px; + width: 800px; + height: auto; + margin-top: 5px; + padding:0px 1px; +} + +.layout-default #breadcrumbs { + border-top: 1px dotted #666; + border-bottom: 1px dotted #666; + voice-family: "\"}\""; + voice-family: inherit; + font-size: x-small; + padding: 3px 8px; + margin: 3px; +} + +.layout-default #breadcrumbs a { + text-decoration: none; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + color:#12248d; +} + +/* the navigationbar in the header */ +.layout-default #subnavbar { + position:relative; + top:25px; + margin:0px; + padding:0px; + width:800px; + height:30px; +} + +/* the links in the navigationbar are an unordered list */ +.layout-default #subnavbar ul { + margin:0px; + padding:0px; +} + +.layout-default #subnavbar li { + list-style: none; + margin:0px; + padding:0px; + height:30px; + float: left; +} +.layout-default #subnavbar span { + float: left; + text-decoration: none; + margin:0px; + padding: 5px 2px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + font-weight: bold; + color: #666666; +} +.layout-default #subnavbar a { + text-decoration: none; +} +.layout-default #subnavbar a:hover { + color: #0000ff; +} + +/* the corecenter contains the center part of the core */ +.layout-default #corecenter { + margin:2px; + width: 796px; + height: auto; +} +.layout-default #corecenter .portlet { + margin:1px; +} + +/* the footer contains all copyright info etcetera */ +.layout-default #footer { + clear: both; + width: 800px; + height: 30px; + vertical-align: middle; + text-align: right; + font-family: Arial Black, Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + background-image: url(../images/footer_bg.gif); + border: 1px solid #dedede; + margin-bottom:10px; + margin-top:10px; + /*position:relative;*/ + /*top:30px;*/ +} +.layout-default #footer div { + color: #666666; + padding: 5px 20px; +} +.layout-default #footer a { + color: #666666; +} + +.layout-default .sortHelper { + border: 3px dashed #666; + width: auto !important; +} + +.layout-default .portal-layout-column { + min-height: 400px; +} +* html .layout-default .portal-layout-column { + height:400px; +} Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator-macros.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator-macros.vm 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator-macros.vm 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,309 @@ + + + + + + + + + +#* define navigation constants *# +#macro (defineNavigationConstants) + #set($LEFT_TO_RIGHT = "LeftToRight") + #set($RIGHT_TO_LEFT = "RightToLeft") + #set($TOP_TO_BOTTOM = "TopToBottom") + #set($BOTTOM_TO_TOP = "BottomToTop") + #set($TITLE_FIRST = "TitleFirst") + #set($TITLE_LAST = "TitleLast") + #set($BREADCRUMBS_STYLE = "BreadcrumbsStyle") +#end + +#* include tabs navigation component *# +#macro (includeTabsNavigation $_menu $_orientation) + +#end + +#macro (includeMenuNavigation $_menu $_orientation) + #set($sepa="") + +#end + +#* include links navigation component *# +#macro (includeLinksNavigation $_menu $_orientation $_title $_style $_delimiter) + #if(!$_delimiter || $_delimiter == "") + #if($_style != $BREADCRUMBS_STYLE) + #set($_delimiter = " ") + #else + #set($_delimiter = " >> ") + #end + #end + #set($menuTitle = $_menu.getTitle($preferedLocale)) + #set($menuName = $_menu.getShortTitle($preferedLocale)) + +
+ #if($_title == $TITLE_FIRST) + #if($_orientation == $LEFT_TO_RIGHT) + + ${menuName}  + #elseif($_orientation == $TOP_TO_BOTTOM) + +
${menuName}
+ #end + #end + #foreach($element in $_menu.elements.iterator()) + #if($element.elementType == "option") + #set($linkTitle = $element.getTitle($preferedLocale)) + #set($linkName = $element.getShortTitle($preferedLocale)) + #set($linkUrl = $jetspeed.getAbsoluteUrl($element.url)) + #if($_style != $BREADCRUMBS_STYLE || $element.type != "page" || $velocityCount < $_menu.elements.size()) + #if($_orientation == $LEFT_TO_RIGHT) + + + #elseif($_orientation == $TOP_TO_BOTTOM) + +
+ #end + #if($element.type == "page") + + ${linkName} + #elseif($element.type == "link") + + ${linkName} + #elseif($element.type == "folder") + + ${linkName} + #else + + ${linkName} + #end + #if($_orientation == $LEFT_TO_RIGHT) + ${_delimiter} + #elseif($_orientation == $TOP_TO_BOTTOM) + +
+ #end + #else + #if($_orientation == $LEFT_TO_RIGHT) + + ${linkName}  + #elseif($_orientation == $TOP_TO_BOTTOM) + +
${linkName}
+ #end + #end + #elseif($element.elementType == "separator") + #set($separatorTitle = $element.getTitle($preferedLocale)) + #set($separatorText = $element.getText($preferedLocale)) + #if($_orientation == $LEFT_TO_RIGHT) + + ${separatorText}${_delimiter} + #elseif($_orientation == $TOP_TO_BOTTOM) + +
${separatorText}
+ #end + #end + #end + #if($_title == $TITLE_LAST) + #if($_orientation == $LEFT_TO_RIGHT) + + ${menuName}  + #elseif($_orientation == $TOP_TO_BOTTOM) + +
${menuName}
+ #end + #end + +
+#end + +#* include nested menu links navigation component *# +#macro (includeNestedLinksWithIconNavigation $_menu $_orientation) + #set($menuTitle = $_menu.getTitle($preferedLocale)) + #set($menuName = $_menu.getShortTitle($preferedLocale)) + #if($menuName) +
${menuName}
+ #end +
+ #foreach($element in $_menu.elements.iterator()) + #if($element.elementType == "option") + #set($linkTitle = $element.getTitle($preferedLocale)) + #set($linkName = $element.getShortTitle($preferedLocale)) + #set($linkUrl = $jetspeed.getAbsoluteUrl($element.url)) + #if($element.type == "page") +
${linkName}
+ #elseif($element.type == "link") + #set($linkTarget = $element.target) +
${linkName}
+ #elseif($element.type == "folder") +
$linkName
+ #end + #elseif($element.elementType == "menu") + #includeNestedLinksWithIconNavigation($element $_orientation) + #elseif($element.elementType == "separator") + #set($separatorTitle = $element.getTitle($preferedLocale)) + #set($separatorText = $element.getText($preferedLocale)) +
${separatorText}
+ #end + #end +
+#end + +#* include top level menu links navigation component *# +#macro (includeLinksWithIconNavigation $_menu $_orientation) + #set($itemIndex = 1) + #set($rowStarted = false) + #set($elementsStarted = false) + +
+*# + #end + #if($rowStarted) + +#* + + + +*# + #end + +#end Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator.properties =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator.properties 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator.properties 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,28 @@ +# Copyright 2004 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +id=default +template.type=velocity +template.extension=.vm +template.macros=-macros +decorates=layout +base.css.class=layout-default + +##following are defaults +#allow.change.page.theme=true +#allow.change.layout=true +#max.layout.nesting=2 +#allow.add.page=true +#allow.add.portlet=true +#allow.change.portlet.decorator=true Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/decorator.properties ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/footer.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/footer.vm 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/footer.vm 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,88 @@ +#* +Copyright 2008 Portal Application Laboratory + +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*### + + +
+

新規ページ

+
+
+ + +
+
+ +
+
+
+ +
+
+ + +
+
+
+
+
+

新規フォルダ

+
+
+ + +
+
+ +
+
+
+ +
+
+ + +
+
+
+
+
+

コンテンツ追加

+
+
+ + + +
+
+ +
+
+ + +
+
+
+
+ + + + + + + Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,160 @@ +#* +Copyright 2008 Portal Application Laboratory + +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*### +#set($portalMode = "standard") +## Add the current layouts configuration values to the context +#defineLayoutObjects() +## Loads our custom macros +#parse($layoutDecoration.getResource("decorator-macros.vm")) +## Add all template constants to the current context +#defineNavigationConstants() +## Username +#set($username = $JS2RequestContext.request.remoteUser) +## Check edit +#set($_actions = $layoutDecoration.actions) +#foreach ($_action in $_actions) + #if($_action.actionName == "edit") + #set ($editable = true) + #end +#end +#set($layoutId = $jetspeed.currentFragment.id)## + + + #includeHeaderResource() + + + + #IncludeStylesheets() + #PageTitle() + + + + + + + + + +
+
+ +
+
+## END: layout/html/n2sm/decorator.vm Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/add-portlet.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/add-portlet.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/coreback.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/coreback.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/edit-page.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/edit-page.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/folder-new.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/folder-new.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/footer_bg.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header.jpg =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header.jpg ___________________________________________________________________ Name: svn:mime-type + image/jpeg Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/header_bg.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.png =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.png ___________________________________________________________________ Name: svn:mime-type + image/png Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/logo.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/page-new.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/page-new.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_arrow.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_arrow.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_over.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/readmore_over.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/images/tab_bg.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/interface-1.2/interface.js =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/interface-1.2/interface.js 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/interface-1.2/interface.js 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,12 @@ +/** + * Interface Elements for jQuery + * + * http://interface.eyecon.ro + * + * Copyright (c) 2006 Stefan Petre + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * + */ + eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('k.f2={2r:u(M){E q.1E(u(){if(!M.aR||!M.aZ)E;D el=q;el.2l={aq:M.aq||cO,aR:M.aR,aZ:M.aZ,8e:M.8e||\'fV\',aJ:M.aJ||\'fV\',2Y:M.2Y&&2g M.2Y==\'u\'?M.2Y:I,3i:M.2Y&&2g M.3i==\'u\'?M.3i:I,7U:M.7U&&2g M.7U==\'u\'?M.7U:I,as:k(M.aR,q),8f:k(M.aZ,q),H:M.H||8J,67:M.67||0};el.2l.8f.2G().B(\'W\',\'9R\').eq(0).B({W:el.2l.aq+\'U\',19:\'2B\'}).2T();el.2l.as.1E(u(2N){q.7X=2N}).gC(u(){k(q).2R(el.2l.aJ)},u(){k(q).4i(el.2l.aJ)}).1J(\'5h\',u(e){if(el.2l.67==q.7X)E;el.2l.as.eq(el.2l.67).4i(el.2l.8e).2T().eq(q.7X).2R(el.2l.8e).2T();el.2l.8f.eq(el.2l.67).5w({W:0},el.2l.H,u(){q.14.19=\'1o\';if(el.2l.3i){el.2l.3i.1D(el,[q])}}).2T().eq(q.7X).1Y().5w({W:el.2l.aq},el.2l.H,u(){q.14.19=\'2B\';if(el.2l.2Y){el.2l.2Y.1D(el,[q])}}).2T();if(el.2l.7U){el.2l.7U.1D(el,[q,el.2l.8f.K(q.7X),el.2l.as.K(el.2l.67),el.2l.8f.K(el.2l.67)])}el.2l.67=q.7X}).eq(0).2R(el.2l.8e).2T();k(q).B(\'W\',k(q).B(\'W\')).B(\'2U\',\'2K\')})}};k.fn.gN=k.f2.2r;k.aA={2r:u(M){E q.1E(u(){D el=q;D 7E=2*18.2Q/f1;D an=2*18.2Q;if(k(el).B(\'Y\')!=\'2s\'&&k(el).B(\'Y\')!=\'1P\'){k(el).B(\'Y\',\'2s\')}el.1l={1R:k(M.1R,q),2F:M.2F,6q:M.6q,aD:M.aD,an:an,1N:k.1a.2o(q),Y:k.1a.3w(q),26:18.2Q/2,bi:M.bi,8p:M.6r,6r:[],aG:I,7E:2*18.2Q/f1};el.1l.fB=(el.1l.1N.w-el.1l.2F)/2;el.1l.7D=(el.1l.1N.h-el.1l.6q-el.1l.6q*el.1l.8p)/2;el.1l.2D=2*18.2Q/el.1l.1R.1N();el.1l.ba=el.1l.1N.w/2;el.1l.b9=el.1l.1N.h/2-el.1l.6q*el.1l.8p;D ak=1h.3F(\'22\');k(ak).B({Y:\'1P\',3I:1,Q:0,O:0});k(el).1S(ak);el.1l.1R.1E(u(2N){a6=k(\'1T\',q).K(0);W=T(el.1l.6q*el.1l.8p);if(k.3a.4t){3E=1h.3F(\'1T\');k(3E).B(\'Y\',\'1P\');3E.2J=a6.2J;3E.14.5E=\'gE 9n:9w.9y.cC(1G=60, 14=1, gB=0, gA=0, gv=0, gF=0)\'}P{3E=1h.3F(\'3E\');if(3E.fD){4L=3E.fD("2d");3E.14.Y=\'1P\';3E.14.W=W+\'U\';3E.14.Z=el.1l.2F+\'U\';3E.W=W;3E.Z=el.1l.2F;4L.gu();4L.gO(0,W);4L.gk(1,-1);4L.gp(a6,0,0,el.1l.2F,W);4L.6H();4L.gm="gG-4l";D ap=4L.hy(0,0,0,W);ap.fs(1,"fr(1V, 1V, 1V, 1)");ap.fs(0,"fr(1V, 1V, 1V, 0.6)");4L.hx=ap;if(hA.hB.3J(\'hw\')!=-1){4L.hv()}P{4L.hu(0,0,el.1l.2F,W)}}}el.1l.6r[2N]=3E;k(ak).1S(3E)}).1J(\'9z\',u(e){el.1l.aG=1b;el.1l.H=el.1l.7E*0.1*el.1l.H/18.3S(el.1l.H);E I}).1J(\'8B\',u(e){el.1l.aG=I;E I});k.aA.7T(el);el.1l.H=el.1l.7E*0.2;el.1l.ht=1X.6V(u(){el.1l.26+=el.1l.H;if(el.1l.26>an)el.1l.26=0;k.aA.7T(el)},20);k(el).1J(\'8B\',u(){el.1l.H=el.1l.7E*0.2*el.1l.H/18.3S(el.1l.H)}).1J(\'3D\',u(e){if(el.1l.aG==I){1s=k.1a.4a(e);fz=el.1l.1N.w-1s.x+el.1l.Y.x;el.1l.H=el.1l.bi*el.1l.7E*(el.1l.1N.w/2-fz)/(el.1l.1N.w/2)}})})},7T:u(el){el.1l.1R.1E(u(2N){b8=el.1l.26+2N*el.1l.2D;x=el.1l.fB*18.5H(b8);y=el.1l.7D*18.83(b8);f9=T(2a*(el.1l.7D+y)/(2*el.1l.7D));fk=(el.1l.7D+y)/(2*el.1l.7D);Z=T((el.1l.2F-el.1l.aD)*fk+el.1l.aD);W=T(Z*el.1l.6q/el.1l.2F);q.14.Q=el.1l.b9+y-W/2+"U";q.14.O=el.1l.ba+x-Z/2+"U";q.14.Z=Z+"U";q.14.W=W+"U";q.14.3I=f9;el.1l.6r[2N].14.Q=T(el.1l.b9+y+W-1-W/2)+"U";el.1l.6r[2N].14.O=T(el.1l.ba+x-Z/2)+"U";el.1l.6r[2N].14.Z=Z+"U";el.1l.6r[2N].14.W=T(W*el.1l.8p)+"U"})}};k.fn.hI=k.aA.2r;k.23({G:{c8:u(p,n,1W,1H,1m){E((-18.5H(p*18.2Q)/2)+0.5)*1H+1W},hK:u(p,n,1W,1H,1m){E 1H*(n/=1m)*n*n+1W},fl:u(p,n,1W,1H,1m){E-1H*((n=n/1m-1)*n*n*n-1)+1W},hm:u(p,n,1W,1H,1m){if((n/=1m/2)<1)E 1H/2*n*n*n*n+1W;E-1H/2*((n-=2)*n*n*n-2)+1W},8l:u(p,n,1W,1H,1m){if((n/=1m)<(1/2.75)){E 1H*(7.aB*n*n)+1W}P if(n<(2/2.75)){E 1H*(7.aB*(n-=(1.5/2.75))*n+.75)+1W}P if(n<(2.5/2.75)){E 1H*(7.aB*(n-=(2.25/2.75))*n+.gY)+1W}P{E 1H*(7.aB*(n-=(2.h2/2.75))*n+.gX)+1W}},cr:u(p,n,1W,1H,1m){if(k.G.8l)E 1H-k.G.8l(p,1m-n,0,1H,1m)+1W;E 1W+1H},gW:u(p,n,1W,1H,1m){if(k.G.cr&&k.G.8l)if(n<1m/2)E k.G.cr(p,n*2,0,1H,1m)*.5+1W;E k.G.8l(p,n*2-1m,0,1H,1m)*.5+1H*.5+1W;E 1W+1H},gQ:u(p,n,1W,1H,1m){D a,s;if(n==0)E 1W;if((n/=1m)==1)E 1W+1H;a=1H*0.3;p=1m*.3;if(a<18.3S(1H)){a=1H;s=p/4}P{s=p/(2*18.2Q)*18.cb(1H/a)}E-(a*18.6b(2,10*(n-=1))*18.83((n*1m-s)*(2*18.2Q)/p))+1W},gT:u(p,n,1W,1H,1m){D a,s;if(n==0)E 1W;if((n/=1m/2)==2)E 1W+1H;a=1H*0.3;p=1m*.3;if(a<18.3S(1H)){a=1H;s=p/4}P{s=p/(2*18.2Q)*18.cb(1H/a)}E a*18.6b(2,-10*n)*18.83((n*1m-s)*(2*18.2Q)/p)+1H+1W},gV:u(p,n,1W,1H,1m){D a,s;if(n==0)E 1W;if((n/=1m/2)==2)E 1W+1H;a=1H*0.3;p=1m*.3;if(a<18.3S(1H)){a=1H;s=p/4}P{s=p/(2*18.2Q)*18.cb(1H/a)}if(n<1){E-.5*(a*18.6b(2,10*(n-=1))*18.83((n*1m-s)*(2*18.2Q)/p))+1W}E a*18.6b(2,-10*(n-=1))*18.83((n*1m-s)*(2*18.2Q)/p)*.5+1H+1W}}});k.6n={2r:u(M){E q.1E(u(){D el=q;el.1F={1R:k(M.1R,q),1Z:k(M.1Z,q),1M:k.1a.3w(q),2F:M.2F,ax:M.ax,7Y:M.7Y,ge:M.ge,51:M.51,6x:M.6x};k.6n.aH(el,0);k(1X).1J(\'gU\',u(){el.1F.1M=k.1a.3w(el);k.6n.aH(el,0);k.6n.7T(el)});k.6n.7T(el);el.1F.1R.1J(\'9z\',u(){k(el.1F.ax,q).K(0).14.19=\'2B\'}).1J(\'8B\',u(){k(el.1F.ax,q).K(0).14.19=\'1o\'});k(1h).1J(\'3D\',u(e){D 1s=k.1a.4a(e);D 5s=0;if(el.1F.51&&el.1F.51==\'cv\')D aI=1s.x-el.1F.1M.x-(el.4c-el.1F.2F*el.1F.1R.1N())/2-el.1F.2F/2;P if(el.1F.51&&el.1F.51==\'2L\')D aI=1s.x-el.1F.1M.x-el.4c+el.1F.2F*el.1F.1R.1N();P D aI=1s.x-el.1F.1M.x;D fP=18.6b(1s.y-el.1F.1M.y-el.5W/2,2);el.1F.1R.1E(u(2N){45=18.ez(18.6b(aI-2N*el.1F.2F,2)+fP);45-=el.1F.2F/2;45=45<0?0:45;45=45>el.1F.7Y?el.1F.7Y:45;45=el.1F.7Y-45;bB=el.1F.6x*45/el.1F.7Y;q.14.Z=el.1F.2F+bB+\'U\';q.14.O=el.1F.2F*2N+5s+\'U\';5s+=bB});k.6n.aH(el,5s)})})},aH:u(el,5s){if(el.1F.51)if(el.1F.51==\'cv\')el.1F.1Z.K(0).14.O=(el.4c-el.1F.2F*el.1F.1R.1N())/2-5s/2+\'U\';P if(el.1F.51==\'O\')el.1F.1Z.K(0).14.O=-5s/el.1F.1R.1N()+\'U\';P if(el.1F.51==\'2L\')el.1F.1Z.K(0).14.O=(el.4c-el.1F.2F*el.1F.1R.1N())-5s/2+\'U\';el.1F.1Z.K(0).14.Z=el.1F.2F*el.1F.1R.1N()+5s+\'U\'},7T:u(el){el.1F.1R.1E(u(2N){q.14.Z=el.1F.2F+\'U\';q.14.O=el.1F.2F*2N+\'U\'})}};k.fn.hi=k.6n.2r;k.N={1c:S,8R:S,3A:S,2I:S,4y:S,cl:S,1d:S,2h:S,1R:S,5o:u(){k.N.8R.5o();if(k.N.3A){k.N.3A.2G()}},4w:u(){k.N.1R=S;k.N.2h=S;k.N.4y=k.N.1d.2y;if(k.N.1c.B(\'19\')==\'2B\'){if(k.N.1d.1f.fx){3m(k.N.1d.1f.fx.1u){1e\'c6\':k.N.1c.7a(k.N.1d.1f.fx.1m,k.N.5o);1r;1e\'1z\':k.N.1c.fq(k.N.1d.1f.fx.1m,k.N.5o);1r;1e\'a7\':k.N.1c.g3(k.N.1d.1f.fx.1m,k.N.5o);1r}}P{k.N.1c.2G()}if(k.N.1d.1f.3i)k.N.1d.1f.3i.1D(k.N.1d,[k.N.1c,k.N.3A])}P{k.N.5o()}1X.bH(k.N.2I)},dQ:u(){D 1d=k.N.1d;D 4d=k.N.aY(1d);if(1d&&4d.3o!=k.N.4y&&4d.3o.1g>=1d.1f.aL){k.N.4y=4d.3o;k.N.cl=4d.3o;81={2n:k(1d).1p(\'hj\')||\'2n\',2y:4d.3o};k.hl({1u:\'hk\',81:k.hf(81),he:u(fZ){1d.1f.4e=k(\'3o\',fZ);1N=1d.1f.4e.1N();if(1N>0){D 5p=\'\';1d.1f.4e.1E(u(2N){5p+=\'<8P 4I="\'+k(\'2y\',q).3g()+\'" 8K="\'+2N+\'" 14="9b: ad;">\'+k(\'3g\',q).3g()+\'\'});if(1d.1f.aU){D 3M=k(\'2y\',1d.1f.4e.K(0)).3g();1d.2y=4d.3j+3M+1d.1f.3N+4d.66;k.N.6J(1d,4d.3o.1g!=3M.1g?(4d.3j.1g+4d.3o.1g):3M.1g,4d.3o.1g!=3M.1g?(4d.3j.1g+3M.1g):3M.1g)}if(1N>0){k.N.cj(1d,5p)}P{k.N.4w()}}P{k.N.4w()}},5N:1d.1f.aN})}},cj:u(1d,5p){k.N.8R.3x(5p);k.N.1R=k(\'8P\',k.N.8R.K(0));k.N.1R.9z(k.N.di).1J(\'5h\',k.N.dj);D Y=k.1a.3w(1d);D 1N=k.1a.2o(1d);k.N.1c.B(\'Q\',Y.y+1N.hb+\'U\').B(\'O\',Y.x+\'U\').2R(1d.1f.aM);if(k.N.3A){k.N.3A.B(\'19\',\'2B\').B(\'Q\',Y.y+1N.hb+\'U\').B(\'O\',Y.x+\'U\').B(\'Z\',k.N.1c.B(\'Z\')).B(\'W\',k.N.1c.B(\'W\'))}k.N.2h=0;k.N.1R.K(0).3l=1d.1f.7H;k.N.8Q(1d,1d.1f.4e.K(0),\'7J\');if(k.N.1c.B(\'19\')==\'1o\'){if(1d.1f.bV){D cp=k.1a.aT(1d,1b);D cm=k.1a.6U(1d,1b);k.N.1c.B(\'Z\',1d.4c-(k.dF?(cp.l+cp.r+cm.l+cm.r):0)+\'U\')}if(1d.1f.fx){3m(1d.1f.fx.1u){1e\'c6\':k.N.1c.7f(1d.1f.fx.1m);1r;1e\'1z\':k.N.1c.fo(1d.1f.fx.1m);1r;1e\'a7\':k.N.1c.gb(1d.1f.fx.1m);1r}}P{k.N.1c.1Y()}if(k.N.1d.1f.2Y)k.N.1d.1f.2Y.1D(k.N.1d,[k.N.1c,k.N.3A])}},dO:u(){D 1d=q;if(1d.1f.4e){k.N.4y=1d.2y;k.N.cl=1d.2y;D 5p=\'\';1d.1f.4e.1E(u(2N){2y=k(\'2y\',q).3g().6c();fY=1d.2y.6c();if(2y.3J(fY)==0){5p+=\'<8P 4I="\'+k(\'2y\',q).3g()+\'" 8K="\'+2N+\'" 14="9b: ad;">\'+k(\'3g\',q).3g()+\'\'}});if(5p!=\'\'){k.N.cj(1d,5p);q.1f.9x=1b;E}}1d.1f.4e=S;q.1f.9x=I},6J:u(2n,26,2T){if(2n.b1){D 6t=2n.b1();6t.hp(1b);6t.dI("ck",26);6t.ha("ck",-2T+26);6t.8C()}P if(2n.aF){2n.aF(26,2T)}P{if(2n.5q){2n.5q=26;2n.dN=2T}}2n.6K()},f0:u(2n){if(2n.5q)E 2n.5q;P if(2n.b1){D 6t=1h.6J.dZ();D eX=6t.h9();E 0-eX.dI(\'ck\',-h6)}},aY:u(2n){D 4P={2y:2n.2y,3j:\'\',66:\'\',3o:\'\'};if(2n.1f.aQ){D 8N=I;D 5q=k.N.f0(2n)||0;D 4T=4P.2y.7C(2n.1f.3N);24(D i=0;i<4T.1g;i++){if((4P.3j.1g+4T[i].1g>=5q||5q==0)&&!8N){if(4P.3j.1g<=5q)4P.3o=4T[i];P 4P.66+=4T[i]+(4T[i]!=\'\'?2n.1f.3N:\'\');8N=1b}P if(8N){4P.66+=4T[i]+(4T[i]!=\'\'?2n.1f.3N:\'\')}if(!8N){4P.3j+=4T[i]+(4T.1g>1?2n.1f.3N:\'\')}}}P{4P.3o=4P.2y}E 4P},bU:u(e){1X.bH(k.N.2I);D 1d=k.N.aY(q);D 3K=e.7L||e.7K||-1;if(/13|27|35|36|38|40|9/.48(3K)&&k.N.1R){if(1X.2k){1X.2k.bT=1b;1X.2k.c0=I}P{e.aP();e.aW()}if(k.N.2h!=S)k.N.1R.K(k.N.2h||0).3l=\'\';P k.N.2h=-1;3m(3K){1e 9:1e 13:if(k.N.2h==-1)k.N.2h=0;D 2h=k.N.1R.K(k.N.2h||0);D 3M=2h.5C(\'4I\');q.2y=1d.3j+3M+q.1f.3N+1d.66;k.N.4y=1d.3o;k.N.6J(q,1d.3j.1g+3M.1g+q.1f.3N.1g,1d.3j.1g+3M.1g+q.1f.3N.1g);k.N.4w();if(q.1f.68){4u=T(2h.5C(\'8K\'))||0;k.N.8Q(q,q.1f.4e.K(4u),\'68\')}if(q.7W)q.7W(I);E 3K!=13;1r;1e 27:q.2y=1d.3j+k.N.4y+q.1f.3N+1d.66;q.1f.4e=S;k.N.4w();if(q.7W)q.7W(I);E I;1r;1e 35:k.N.2h=k.N.1R.1N()-1;1r;1e 36:k.N.2h=0;1r;1e 38:k.N.2h--;if(k.N.2h<0)k.N.2h=k.N.1R.1N()-1;1r;1e 40:k.N.2h++;if(k.N.2h==k.N.1R.1N())k.N.2h=0;1r}k.N.8Q(q,q.1f.4e.K(k.N.2h||0),\'7J\');k.N.1R.K(k.N.2h||0).3l=q.1f.7H;if(k.N.1R.K(k.N.2h||0).7W)k.N.1R.K(k.N.2h||0).7W(I);if(q.1f.aU){D aK=k.N.1R.K(k.N.2h||0).5C(\'4I\');q.2y=1d.3j+aK+q.1f.3N+1d.66;if(k.N.4y.1g!=aK.1g)k.N.6J(q,1d.3j.1g+k.N.4y.1g,1d.3j.1g+aK.1g)}E I}k.N.dO.1D(q);if(q.1f.9x==I){if(1d.3o!=k.N.4y&&1d.3o.1g>=q.1f.aL)k.N.2I=1X.9T(k.N.dQ,q.1f.54);if(k.N.1R){k.N.4w()}}E 1b},8Q:u(2n,3o,1u){if(2n.1f[1u]){D 81={};ar=3o.f3(\'*\');24(i=0;i\');k.N.3A=k(\'#ds\')}k(\'2e\',1h).1S(\'<22 id="dr" 14="Y: 1P; Q: 0; O: 0; z-cZ: h3; 19: 1o;"><9h 14="6w: 0;8F: 0; h1-14: 1o; z-cZ: h0;">&7k;\');k.N.1c=k(\'#dr\');k.N.8R=k(\'9h\',k.N.1c)}E q.1E(u(){if(q.4Y!=\'ch\'&&q.5C(\'1u\')!=\'3g\')E;q.1f={};q.1f.aN=M.aN;q.1f.aL=18.3S(T(M.aL)||1);q.1f.aM=M.aM?M.aM:\'\';q.1f.7H=M.7H?M.7H:\'\';q.1f.68=M.68&&M.68.1K==2A?M.68:S;q.1f.2Y=M.2Y&&M.2Y.1K==2A?M.2Y:S;q.1f.3i=M.3i&&M.3i.1K==2A?M.3i:S;q.1f.7J=M.7J&&M.7J.1K==2A?M.7J:S;q.1f.bV=M.bV||I;q.1f.aQ=M.aQ||I;q.1f.3N=q.1f.aQ?(M.3N||\', \'):\'\';q.1f.aU=M.aU?1b:I;q.1f.54=18.3S(T(M.54)||aC);if(M.fx&&M.fx.1K==7M){if(!M.fx.1u||!/c6|1z|a7/.48(M.fx.1u)){M.fx.1u=\'1z\'}if(M.fx.1u==\'1z\'&&!k.fx.1z)E;if(M.fx.1u==\'a7\'&&!k.fx.61)E;M.fx.1m=18.3S(T(M.fx.1m)||8J);if(M.fx.1m>q.1f.54){M.fx.1m=q.1f.54-2a}q.1f.fx=M.fx}q.1f.4e=S;q.1f.9x=I;k(q).1p(\'bU\',\'eN\').6K(u(){k.N.1d=q;k.N.4y=q.2y}).dH(k.N.eJ).6y(k.N.bU).5B(u(){k.N.2I=1X.9T(k.N.4w,hM)})})}};k.fn.hR=k.N.2r;k.1y={2I:S,4Q:S,29:S,2D:10,26:u(el,4J,2D,eG){k.1y.4Q=el;k.1y.29=4J;k.1y.2D=T(2D)||10;k.1y.2I=1X.6V(k.1y.eF,T(eG)||40)},eF:u(){24(i=0;i0&&k.1y.29[i].2X.y+k.1y.29[i].2X.t>69.y){k.1y.29[i].3d-=k.1y.2D}P if(k.1y.29[i].2X.t<=k.1y.29[i].2X.h&&k.1y.29[i].2X.t+k.1y.29[i].2X.hb<69.y+69.hb){k.1y.29[i].3d+=k.1y.2D}if(k.1y.29[i].2X.l>0&&k.1y.29[i].2X.x+k.1y.29[i].2X.l>69.x){k.1y.29[i].3c-=k.1y.2D}P if(k.1y.29[i].2X.l<=k.1y.29[i].2X.hP&&k.1y.29[i].2X.l+k.1y.29[i].2X.1C<69.x+69.1C){k.1y.29[i].3c+=k.1y.2D}}},8o:u(){1X.5T(k.1y.2I);k.1y.4Q=S;k.1y.29=S;24(i in k.1y.29){k.1y.29[i].2X=S}}};k.11={1c:S,F:S,4U:u(){E q.1E(u(){if(q.9I){q.A.5e.3q(\'5v\',k.11.bN);q.A=S;q.9I=I;if(k.3a.4t){q.bE="eN"}P{q.14.hq=\'\';q.14.e1=\'\';q.14.e7=\'\'}}})},bN:u(e){if(k.11.F!=S){k.11.9A(e);E I}D C=q.3U;k(1h).1J(\'3D\',k.11.bX).1J(\'5P\',k.11.9A);C.A.1s=k.1a.4a(e);C.A.4B=C.A.1s;C.A.7q=I;C.A.ho=q!=q.3U;k.11.F=C;if(C.A.5i&&q!=q.3U){bS=k.1a.3w(C.31);bQ=k.1a.2o(C);bR={x:T(k.B(C,\'O\'))||0,y:T(k.B(C,\'Q\'))||0};dx=C.A.4B.x-bS.x-bQ.1C/2-bR.x;dy=C.A.4B.y-bS.y-bQ.hb/2-bR.y;k.3b.5c(C,[dx,dy])}E k.7n||I},ea:u(e){D C=k.11.F;C.A.7q=1b;D 9G=C.14;C.A.7V=k.B(C,\'19\');C.A.4n=k.B(C,\'Y\');if(!C.A.cz)C.A.cz=C.A.4n;C.A.2c={x:T(k.B(C,\'O\'))||0,y:T(k.B(C,\'Q\'))||0};C.A.9B=0;C.A.ai=0;if(k.3a.4t){D bW=k.1a.6U(C,1b);C.A.9B=bW.l||0;C.A.ai=bW.t||0}C.A.1B=k.23(k.1a.3w(C),k.1a.2o(C));if(C.A.4n!=\'2s\'&&C.A.4n!=\'1P\'){9G.Y=\'2s\'}k.11.1c.5o();D 5g=C.fI(1b);k(5g).B({19:\'2B\',O:\'2P\',Q:\'2P\'});5g.14.5K=\'0\';5g.14.5z=\'0\';5g.14.5k=\'0\';5g.14.5j=\'0\';k.11.1c.1S(5g);D 3Y=k.11.1c.K(0).14;if(C.A.bD){3Y.Z=\'9F\';3Y.W=\'9F\'}P{3Y.W=C.A.1B.hb+\'U\';3Y.Z=C.A.1B.1C+\'U\'}3Y.19=\'2B\';3Y.5K=\'2P\';3Y.5z=\'2P\';3Y.5k=\'2P\';3Y.5j=\'2P\';k.23(C.A.1B,k.1a.2o(5g));if(C.A.2V){if(C.A.2V.O){C.A.2c.x+=C.A.1s.x-C.A.1B.x-C.A.2V.O;C.A.1B.x=C.A.1s.x-C.A.2V.O}if(C.A.2V.Q){C.A.2c.y+=C.A.1s.y-C.A.1B.y-C.A.2V.Q;C.A.1B.y=C.A.1s.y-C.A.2V.Q}if(C.A.2V.2L){C.A.2c.x+=C.A.1s.x-C.A.1B.x-C.A.1B.hb+C.A.2V.2L;C.A.1B.x=C.A.1s.x-C.A.1B.1C+C.A.2V.2L}if(C.A.2V.4D){C.A.2c.y+=C.A.1s.y-C.A.1B.y-C.A.1B.hb+C.A.2V.4D;C.A.1B.y=C.A.1s.y-C.A.1B.hb+C.A.2V.4D}}C.A.2v=C.A.2c.x;C.A.2q=C.A.2c.y;if(C.A.8s||C.A.2p==\'94\'){8U=k.1a.6U(C.31,1b);C.A.1B.x=C.8t+(k.3a.4t?0:k.3a.7I?-8U.l:8U.l);C.A.1B.y=C.8G+(k.3a.4t?0:k.3a.7I?-8U.t:8U.t);k(C.31).1S(k.11.1c.K(0))}if(C.A.2p){k.11.c5(C);C.A.5t.2p=k.11.ce}if(C.A.5i){k.3b.ct(C)}3Y.O=C.A.1B.x-C.A.9B+\'U\';3Y.Q=C.A.1B.y-C.A.ai+\'U\';3Y.Z=C.A.1B.1C+\'U\';3Y.W=C.A.1B.hb+\'U\';k.11.F.A.9E=I;if(C.A.gx){C.A.5t.6a=k.11.c7}if(C.A.3I!=I){k.11.1c.B(\'3I\',C.A.3I)}if(C.A.1G){k.11.1c.B(\'1G\',C.A.1G);if(1X.71){k.11.1c.B(\'5E\',\'8V(1G=\'+C.A.1G*2a+\')\')}}if(C.A.7O){k.11.1c.2R(C.A.7O);k.11.1c.K(0).7c.14.19=\'1o\'}if(C.A.4o)C.A.4o.1D(C,[5g,C.A.2c.x,C.A.2c.y]);if(k.1x&&k.1x.8D>0){k.1x.ed(C)}if(C.A.46==I){9G.19=\'1o\'}E I},c5:u(C){if(C.A.2p.1K==b0){if(C.A.2p==\'94\'){C.A.28=k.23({x:0,y:0},k.1a.2o(C.31));D 8S=k.1a.6U(C.31,1b);C.A.28.w=C.A.28.1C-8S.l-8S.r;C.A.28.h=C.A.28.hb-8S.t-8S.b}P if(C.A.2p==\'1h\'){D bY=k.1a.bm();C.A.28={x:0,y:0,w:bY.w,h:bY.h}}}P if(C.A.2p.1K==7F){C.A.28={x:T(C.A.2p[0])||0,y:T(C.A.2p[1])||0,w:T(C.A.2p[2])||0,h:T(C.A.2p[3])||0}}C.A.28.dx=C.A.28.x-C.A.1B.x;C.A.28.dy=C.A.28.y-C.A.1B.y},9H:u(F){if(F.A.8s||F.A.2p==\'94\'){k(\'2e\',1h).1S(k.11.1c.K(0))}k.11.1c.5o().2G().B(\'1G\',1);if(1X.71){k.11.1c.B(\'5E\',\'8V(1G=2a)\')}},9A:u(e){k(1h).3q(\'3D\',k.11.bX).3q(\'5P\',k.11.9A);if(k.11.F==S){E}D F=k.11.F;k.11.F=S;if(F.A.7q==I){E I}if(F.A.44==1b){k(F).B(\'Y\',F.A.4n)}D 9G=F.14;if(F.5i){k.11.1c.B(\'9b\',\'8j\')}if(F.A.7O){k.11.1c.4i(F.A.7O)}if(F.A.6N==I){if(F.A.fx>0){if(!F.A.1O||F.A.1O==\'4j\'){D x=12 k.fx(F,{1m:F.A.fx},\'O\');x.1L(F.A.2c.x,F.A.8y)}if(!F.A.1O||F.A.1O==\'49\'){D y=12 k.fx(F,{1m:F.A.fx},\'Q\');y.1L(F.A.2c.y,F.A.8v)}}P{if(!F.A.1O||F.A.1O==\'4j\')F.14.O=F.A.8y+\'U\';if(!F.A.1O||F.A.1O==\'49\')F.14.Q=F.A.8v+\'U\'}k.11.9H(F);if(F.A.46==I){k(F).B(\'19\',F.A.7V)}}P if(F.A.fx>0){F.A.9E=1b;D dh=I;if(k.1x&&k.1t&&F.A.44){dh=k.1a.3w(k.1t.1c.K(0))}k.11.1c.5w({O:dh?dh.x:F.A.1B.x,Q:dh?dh.y:F.A.1B.y},F.A.fx,u(){F.A.9E=I;if(F.A.46==I){F.14.19=F.A.7V}k.11.9H(F)})}P{k.11.9H(F);if(F.A.46==I){k(F).B(\'19\',F.A.7V)}}if(k.1x&&k.1x.8D>0){k.1x.eO(F)}if(k.1t&&F.A.44){k.1t.fC(F)}if(F.A.2Z&&(F.A.8y!=F.A.2c.x||F.A.8v!=F.A.2c.y)){F.A.2Z.1D(F,F.A.b3||[0,0,F.A.8y,F.A.8v])}if(F.A.3T)F.A.3T.1D(F);E I},c7:u(x,y,dx,dy){if(dx!=0)dx=T((dx+(q.A.gx*dx/18.3S(dx))/2)/q.A.gx)*q.A.gx;if(dy!=0)dy=T((dy+(q.A.gy*dy/18.3S(dy))/2)/q.A.gy)*q.A.gy;E{dx:dx,dy:dy,x:0,y:0}},ce:u(x,y,dx,dy){dx=18.3L(18.3r(dx,q.A.28.dx),q.A.28.w+q.A.28.dx-q.A.1B.1C);dy=18.3L(18.3r(dy,q.A.28.dy),q.A.28.h+q.A.28.dy-q.A.1B.hb);E{dx:dx,dy:dy,x:0,y:0}},bX:u(e){if(k.11.F==S||k.11.F.A.9E==1b){E}D F=k.11.F;F.A.4B=k.1a.4a(e);if(F.A.7q==I){45=18.ez(18.6b(F.A.1s.x-F.A.4B.x,2)+18.6b(F.A.1s.y-F.A.4B.y,2));if(450){k.1x.al(F)}E I},2r:u(o){if(!k.11.1c){k(\'2e\',1h).1S(\'<22 id="e8">\');k.11.1c=k(\'#e8\');D el=k.11.1c.K(0);D 4J=el.14;4J.Y=\'1P\';4J.19=\'1o\';4J.9b=\'8j\';4J.eu=\'1o\';4J.2U=\'2K\';if(1X.71){el.bE="e4"}P{4J.gi=\'1o\';4J.e7=\'1o\';4J.e1=\'1o\'}}if(!o){o={}}E q.1E(u(){if(q.9I||!k.1a)E;if(1X.71){q.gh=u(){E I};q.gj=u(){E I}}D el=q;D 5e=o.3v?k(q).gf(o.3v):k(q);if(k.3a.4t){5e.1E(u(){q.bE="e4"})}P{5e.B(\'-gI-7R-8C\',\'1o\');5e.B(\'7R-8C\',\'1o\');5e.B(\'-gH-7R-8C\',\'1o\')}q.A={5e:5e,6N:o.6N?1b:I,46:o.46?1b:I,44:o.44?o.44:I,5i:o.5i?o.5i:I,8s:o.8s?o.8s:I,3I:o.3I?T(o.3I)||0:I,1G:o.1G?2m(o.1G):I,fx:T(o.fx)||S,6R:o.6R?o.6R:I,5t:{},1s:{},4o:o.4o&&o.4o.1K==2A?o.4o:I,3T:o.3T&&o.3T.1K==2A?o.3T:I,2Z:o.2Z&&o.2Z.1K==2A?o.2Z:I,1O:/49|4j/.48(o.1O)?o.1O:I,6M:o.6M?T(o.6M)||0:0,2V:o.2V?o.2V:I,bD:o.bD?1b:I,7O:o.7O||I};if(o.5t&&o.5t.1K==2A)q.A.5t.7R=o.5t;if(o.4m&&o.4m.1K==2A)q.A.4m=o.4m;if(o.2p&&((o.2p.1K==b0&&(o.2p==\'94\'||o.2p==\'1h\'))||(o.2p.1K==7F&&o.2p.1g==4))){q.A.2p=o.2p}if(o.2O){q.A.2O=o.2O}if(o.6a){if(2g o.6a==\'gz\'){q.A.gx=T(o.6a)||1;q.A.gy=T(o.6a)||1}P if(o.6a.1g==2){q.A.gx=T(o.6a[0])||1;q.A.gy=T(o.6a[1])||1}}if(o.3H&&o.3H.1K==2A){q.A.3H=o.3H}q.9I=1b;5e.1E(u(){q.3U=el});5e.1J(\'5v\',k.11.bN)})}};k.fn.23({aS:k.11.4U,7t:k.11.2r});k.1x={du:u(5J,5G,7Q,7S){E 5J<=k.11.F.A.2v&&(5J+7Q)>=(k.11.F.A.2v+k.11.F.A.1B.w)&&5G<=k.11.F.A.2q&&(5G+7S)>=(k.11.F.A.2q+k.11.F.A.1B.h)?1b:I},cV:u(5J,5G,7Q,7S){E!(5J>(k.11.F.A.2v+k.11.F.A.1B.w)||(5J+7Q)(k.11.F.A.2q+k.11.F.A.1B.h)||(5G+7S)k.11.F.A.4B.x&&5Gk.11.F.A.4B.y?1b:I},5r:I,3Q:{},8D:0,3P:{},ed:u(C){if(k.11.F==S){E}D i;k.1x.3Q={};D bJ=I;24(i in k.1x.3P){if(k.1x.3P[i]!=S){D 1j=k.1x.3P[i].K(0);if(k(k.11.F).is(\'.\'+1j.1i.a)){if(1j.1i.m==I){1j.1i.p=k.23(k.1a.7G(1j),k.1a.74(1j));1j.1i.m=1b}if(1j.1i.ac){k.1x.3P[i].2R(1j.1i.ac)}k.1x.3Q[i]=k.1x.3P[i];if(k.1t&&1j.1i.s&&k.11.F.A.44){1j.1i.el=k(\'.\'+1j.1i.a,1j);C.14.19=\'1o\';k.1t.cT(1j);1j.1i.ay=k.1t.8x(k.1p(1j,\'id\')).7l;C.14.19=C.A.7V;bJ=1b}if(1j.1i.9i){1j.1i.9i.1D(k.1x.3P[i].K(0),[k.11.F])}}}}if(bJ){k.1t.26()}},dS:u(){k.1x.3Q={};24(i in k.1x.3P){if(k.1x.3P[i]!=S){D 1j=k.1x.3P[i].K(0);if(k(k.11.F).is(\'.\'+1j.1i.a)){1j.1i.p=k.23(k.1a.7G(1j),k.1a.74(1j));if(1j.1i.ac){k.1x.3P[i].2R(1j.1i.ac)}k.1x.3Q[i]=k.1x.3P[i];if(k.1t&&1j.1i.s&&k.11.F.A.44){1j.1i.el=k(\'.\'+1j.1i.a,1j);C.14.19=\'1o\';k.1t.cT(1j);C.14.19=C.A.7V}}}}},al:u(e){if(k.11.F==S){E}k.1x.5r=I;D i;D bK=I;D eQ=0;24(i in k.1x.3Q){D 1j=k.1x.3Q[i].K(0);if(k.1x.5r==I&&k.1x[1j.1i.t](1j.1i.p.x,1j.1i.p.y,1j.1i.p.1C,1j.1i.p.hb)){if(1j.1i.hc&&1j.1i.h==I){k.1x.3Q[i].2R(1j.1i.hc)}if(1j.1i.h==I&&1j.1i.7x){bK=1b}1j.1i.h=1b;k.1x.5r=1j;if(k.1t&&1j.1i.s&&k.11.F.A.44){k.1t.1c.K(0).3l=1j.1i.eV;k.1t.al(1j)}eQ++}P if(1j.1i.h==1b){if(1j.1i.7y){1j.1i.7y.1D(1j,[e,k.11.1c.K(0).7c,1j.1i.fx])}if(1j.1i.hc){k.1x.3Q[i].4i(1j.1i.hc)}1j.1i.h=I}}if(k.1t&&!k.1x.5r&&k.11.F.44){k.1t.1c.K(0).14.19=\'1o\'}if(bK){k.1x.5r.1i.7x.1D(k.1x.5r,[e,k.11.1c.K(0).7c])}},eO:u(e){D i;24(i in k.1x.3Q){D 1j=k.1x.3Q[i].K(0);if(1j.1i.ac){k.1x.3Q[i].4i(1j.1i.ac)}if(1j.1i.hc){k.1x.3Q[i].4i(1j.1i.hc)}if(1j.1i.s){k.1t.7s[k.1t.7s.1g]=i}if(1j.1i.9l&&1j.1i.h==1b){1j.1i.h=I;1j.1i.9l.1D(1j,[e,1j.1i.fx])}1j.1i.m=I;1j.1i.h=I}k.1x.3Q={}},4U:u(){E q.1E(u(){if(q.9j){if(q.1i.s){id=k.1p(q,\'id\');k.1t.5L[id]=S;k(\'.\'+q.1i.a,q).aS()}k.1x.3P[\'d\'+q.c2]=S;q.9j=I;q.f=S}})},2r:u(o){E q.1E(u(){if(q.9j==1b||!o.3C||!k.1a||!k.11){E}q.1i={a:o.3C,ac:o.9J||I,hc:o.a5||I,eV:o.58||I,9l:o.gq||o.9l||I,7x:o.7x||o.dC||I,7y:o.7y||o.fO||I,9i:o.9i||I,t:o.6I&&(o.6I==\'du\'||o.6I==\'cV\')?o.6I:\'1s\',fx:o.fx?o.fx:I,m:I,h:I};if(o.cQ==1b&&k.1t){id=k.1p(q,\'id\');k.1t.5L[id]=q.1i.a;q.1i.s=1b;if(o.2Z){q.1i.2Z=o.2Z;q.1i.ay=k.1t.8x(id).7l}}q.9j=1b;q.c2=T(18.6o()*c9);k.1x.3P[\'d\'+q.c2]=k(q);k.1x.8D++})}};k.fn.23({dR:k.1x.4U,do:k.1x.2r});k.gD=k.1x.dS;k.3B={1c:S,8L:u(){3g=q.2y;if(!3g)E;14={dz:k(q).B(\'dz\')||\'\',4A:k(q).B(\'4A\')||\'\',8Z:k(q).B(\'8Z\')||\'\',dP:k(q).B(\'dP\')||\'\',dT:k(q).B(\'dT\')||\'\',dU:k(q).B(\'dU\')||\'\',c3:k(q).B(\'c3\')||\'\',dY:k(q).B(\'dY\')||\'\'};k.3B.1c.B(14);3x=k.3B.dX(3g);3x=3x.4E(12 bb("\\\\n","g"),"
");k.3B.1c.3x(\'gL\');ci=k.3B.1c.K(0).4c;k.3B.1c.3x(3x);Z=k.3B.1c.K(0).4c+ci;if(q.6l.2M&&Z>q.6l.2M[0]){Z=q.6l.2M[0]}q.14.Z=Z+\'U\';if(q.4Y==\'cf\'){W=k.3B.1c.K(0).5W+ci;if(q.6l.2M&&W>q.6l.2M[1]){W=q.6l.2M[1]}q.14.W=W+\'U\'}},dX:u(3g){cg={\'&\':\'&gK;\',\'<\':\'&gJ;\',\'>\':\'>\',\'"\':\'&gs;\'};24(i in cg){3g=3g.4E(12 bb(i,\'g\'),cg[i])}E 3g},2r:u(2M){if(k.3B.1c==S){k(\'2e\',1h).1S(\'<22 id="dE" 14="Y: 1P; Q: 0; O: 0; 3n: 2K;">\');k.3B.1c=k(\'#dE\')}E q.1E(u(){if(/cf|ch/.48(q.4Y)){if(q.4Y==\'ch\'){dB=q.5C(\'1u\');if(!/3g|gr/.48(dB)){E}}if(2M&&(2M.1K==bn||(2M.1K==7F&&2M.1g==2))){if(2M.1K==bn)2M=[2M,2M];P{2M[0]=T(2M[0])||8J;2M[1]=T(2M[1])||8J}q.6l={2M:2M}}k(q).5B(k.3B.8L).6y(k.3B.8L).dH(k.3B.8L);k.3B.8L.1D(q)}})}};k.fn.kc=k.3B.2r;k.4K=u(e){if(/^kd$|^ke$|^ka$|^6L$|^k9$|^k5$|^k4$|^k6$|^k7$|^2e$|^k8$|^kf$|^kg$|^kn$|^ko$|^kp$|^kq$/i.48(e.9N))E I;P E 1b};k.fx.a0=u(e,65){D c=e.7c;D cs=c.14;cs.Y=65.Y;cs.5K=65.3G.t;cs.5j=65.3G.l;cs.5k=65.3G.b;cs.5z=65.3G.r;cs.Q=65.Q+\'U\';cs.O=65.O+\'U\';e.31.ew(c,e);e.31.km(e)};k.fx.9P=u(e){if(!k.4K(e))E I;D t=k(e);D es=e.14;D 73=I;if(t.B(\'19\')==\'1o\'){5Y=t.B(\'3n\');t.B(\'3n\',\'2K\').1Y();73=1b}D V={};V.Y=t.B(\'Y\');V.1q=k.1a.2o(e);V.3G=k.1a.cy(e);D co=e.4Z?e.4Z.ei:t.B(\'hU\');V.Q=T(t.B(\'Q\'))||0;V.O=T(t.B(\'O\'))||0;D eo=\'kl\'+T(18.6o()*c9);D 6u=1h.3F(/^1T$|^br$|^kh$|^hr$|^8C$|^kj$|^8T$|^3A$|^kk$|^k3$|^k2$|^9h$|^dl$|^jM$/i.48(e.9N)?\'22\':e.9N);k.1p(6u,\'id\',eo);D jN=k(6u).2R(\'jO\');D 4h=6u.14;D Q=0;D O=0;if(V.Y==\'2s\'||V.Y==\'1P\'){Q=V.Q;O=V.O}4h.Q=Q+\'U\';4h.O=O+\'U\';4h.Y=V.Y!=\'2s\'&&V.Y!=\'1P\'?\'2s\':V.Y;4h.W=V.1q.hb+\'U\';4h.Z=V.1q.1C+\'U\';4h.5K=V.3G.t;4h.5z=V.3G.r;4h.5k=V.3G.b;4h.5j=V.3G.l;4h.2U=\'2K\';if(k.3a.4t){4h.ei=co}P{4h.jK=co}if(k.3a=="4t"){es.5E="8V(1G="+0.ex*2a+")"}es.1G=0.ex;e.31.ew(6u,e);6u.jF(e);es.5K=\'2P\';es.5z=\'2P\';es.5k=\'2P\';es.5j=\'2P\';es.Y=\'1P\';es.eu=\'1o\';es.Q=\'2P\';es.O=\'2P\';if(73){t.2G();es.3n=5Y}E{V:V,3p:k(6u)}};k.fx.8E={jE:[0,1V,1V],jG:[eD,1V,1V],jH:[e6,e6,jI],jP:[0,0,0],ks:[0,0,1V],jY:[dv,42,42],jZ:[0,1V,1V],k0:[0,0,7w],k1:[0,7w,7w],jX:[cn,cn,cn],jS:[0,2a,0],jR:[jT,jU,eb],jV:[7w,0,7w],kr:[85,eb,47],kP:[1V,eA,0],kN:[kO,50,kx],kF:[7w,0,0],kD:[ku,f8,kt],ky:[kH,0,9C],kL:[1V,0,1V],kM:[1V,kJ,0],kv:[0,6C,0],kA:[75,0,kE],kC:[eD,eB,eA],kG:[kI,kB,eB],kw:[e0,1V,1V],kz:[eL,kK,eL],kQ:[9C,9C,9C],jC:[1V,iy,iz],iA:[1V,1V,e0],iB:[0,1V,0],ix:[1V,0,1V],iv:[6C,0,0],iq:[0,0,6C],ip:[6C,6C,0],ir:[1V,dv,0],it:[1V,ah,iu],iC:[6C,0,6C],iD:[1V,0,0],iK:[ah,ah,ah],iL:[1V,1V,1V],iM:[1V,1V,0]};k.fx.6D=u(4x,dm){if(k.fx.8E[4x])E{r:k.fx.8E[4x][0],g:k.fx.8E[4x][1],b:k.fx.8E[4x][2]};P if(2W=/^6Y\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)$/.a4(4x))E{r:T(2W[1]),g:T(2W[2]),b:T(2W[3])};P if(2W=/6Y\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)$/.a4(4x))E{r:2m(2W[1])*2.55,g:2m(2W[2])*2.55,b:2m(2W[3])*2.55};P if(2W=/^#([a-fA-79-9])([a-fA-79-9])([a-fA-79-9])$/.a4(4x))E{r:T("77"+2W[1]+2W[1]),g:T("77"+2W[2]+2W[2]),b:T("77"+2W[3]+2W[3])};P if(2W=/^#([a-fA-79-9]{2})([a-fA-79-9]{2})([a-fA-79-9]{2})$/.a4(4x))E{r:T("77"+2W[1]),g:T("77"+2W[2]),b:T("77"+2W[3])};P E dm==1b?I:{r:1V,g:1V,b:1V}};k.fx.dD={5Q:1,5b:1,5O:1,4S:1,4D:1,4A:1,W:1,O:1,c3:1,iI:1,5k:1,5j:1,5z:1,5K:1,8b:1,6x:1,8c:1,av:1,1G:1,iE:1,iF:1,5n:1,4X:1,5U:1,5M:1,2L:1,jD:1,Q:1,Z:1,3I:1};k.fx.dA={7i:1,iG:1,iH:1,io:1,im:1,4x:1,i2:1};k.fx.8A=[\'i3\',\'i4\',\'i5\',\'i1\'];k.fx.cc={\'cd\':[\'2E\',\'dK\'],\'a8\':[\'2E\',\'bh\'],\'6w\':[\'6w\',\'\'],\'8F\':[\'8F\',\'\']};k.fn.23({5w:u(5X,H,G,J){E q.1w(u(){D a1=k.H(H,G,J);D e=12 k.dM(q,a1,5X)})},c4:u(H,J){E q.1w(u(){D a1=k.H(H,J);D e=12 k.c4(q,a1)})},8o:u(2D){E q.1E(u(){if(q.6d)k.by(q,2D)})},i0:u(2D){E q.1E(u(){if(q.6d)k.by(q,2D);if(q.1w&&q.1w[\'fx\'])q.1w.fx=[]})}});k.23({c4:u(2f,M){D z=q,3t;z.2D=u(){if(k.fQ(M.21))M.21.1D(2f)};z.2I=6V(u(){z.2D()},M.1m);2f.6d=z},G:{c8:u(p,n,1W,1H,1m){E((-18.5H(p*18.2Q)/2)+0.5)*1H+1W}},dM:u(2f,M,5X){D z=q,3t;D y=2f.14;D fR=k.B(2f,"2U");D 72=k.B(2f,"19");D 2j={};z.9O=(12 7g()).7z();M.G=M.G&&k.G[M.G]?M.G:\'c8\';z.ag=u(2w,43){if(k.fx.dD[2w]){if(43==\'1Y\'||43==\'2G\'||43==\'3R\'){if(!2f.6v)2f.6v={};D r=2m(k.6E(2f,2w));2f.6v[2w]=r&&r>-c9?r:(2m(k.B(2f,2w))||0);43=43==\'3R\'?(72==\'1o\'?\'1Y\':\'2G\'):43;M[43]=1b;2j[2w]=43==\'1Y\'?[0,2f.6v[2w]]:[2f.6v[2w],0];if(2w!=\'1G\')y[2w]=2j[2w][0]+(2w!=\'3I\'&&2w!=\'8Z\'?\'U\':\'\');P k.1p(y,"1G",2j[2w][0])}P{2j[2w]=[2m(k.6E(2f,2w)),2m(43)||0]}}P if(k.fx.dA[2w])2j[2w]=[k.fx.6D(k.6E(2f,2w)),k.fx.6D(43)];P if(/^6w$|8F$|2E$|a8$|cd$/i.48(2w)){D m=43.4E(/\\s+/g,\' \').4E(/6Y\\s*\\(\\s*/g,\'6Y(\').4E(/\\s*,\\s*/g,\',\').4E(/\\s*\\)/g,\')\').d5(/([^\\s]+)/g);3m(2w){1e\'6w\':1e\'8F\':1e\'cd\':1e\'a8\':m[3]=m[3]||m[1]||m[0];m[2]=m[2]||m[0];m[1]=m[1]||m[0];24(D i=0;iM.1m+z.9O){5T(z.2I);z.2I=S;24(p in 2j){if(p=="1G")k.1p(y,"1G",2j[p][1]);P if(2g 2j[p][1]==\'8T\')y[p]=\'6Y(\'+2j[p][1].r+\',\'+2j[p][1].g+\',\'+2j[p][1].b+\')\';P y[p]=2j[p][1]+(p!=\'3I\'&&p!=\'8Z\'?\'U\':\'\')}if(M.2G||M.1Y)24(D p in 2f.6v)if(p=="1G")k.1p(y,p,2f.6v[p]);P y[p]="";y.19=M.2G?\'1o\':(72!=\'1o\'?72:\'2B\');y.2U=fR;2f.6d=S;if(k.fQ(M.21))M.21.1D(2f)}P{D n=t-q.9O;D 8w=n/M.1m;24(p in 2j){if(2g 2j[p][1]==\'8T\'){y[p]=\'6Y(\'+T(k.G[M.G](8w,n,2j[p][0].r,(2j[p][1].r-2j[p][0].r),M.1m))+\',\'+T(k.G[M.G](8w,n,2j[p][0].g,(2j[p][1].g-2j[p][0].g),M.1m))+\',\'+T(k.G[M.G](8w,n,2j[p][0].b,(2j[p][1].b-2j[p][0].b),M.1m))+\')\'}P{D bz=k.G[M.G](8w,n,2j[p][0],(2j[p][1]-2j[p][0]),M.1m);if(p=="1G")k.1p(y,"1G",bz);P y[p]=bz+(p!=\'3I\'&&p!=\'8Z\'?\'U\':\'\')}}}};z.2I=6V(u(){z.2D()},13);2f.6d=z},by:u(2f,2D){if(2D)2f.6d.9O-=iO;P{1X.5T(2f.6d.2I);2f.6d=S;k.2H(2f,"fx")}}});k.bl=u(5Z){D 5f={};if(2g 5Z==\'4V\'){5Z=5Z.6c().7C(\';\');24(D i=0;i<5Z.1g;i++){6X=5Z[i].7C(\':\');if(6X.1g==2){5f[k.g6(6X[0].4E(/\\-(\\w)/g,u(m,c){E c.jo()}))]=k.g6(6X[1])}}}E 5f};k.fn.23({g3:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'4F\',G)})},gb:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'4r\',G)})},jl:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'fJ\',G)})},jk:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'O\',G)})},jg:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'2L\',G)})},jf:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.61(q,H,J,\'fh\',G)})}});k.fx.61=u(e,H,J,2S,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;z.el=k(e);z.1N=k.1a.2o(e);z.G=2g J==\'4V\'?J:G||S;if(!e.4s)e.4s=z.el.B(\'19\');if(2S==\'fJ\'){2S=z.el.B(\'19\')==\'1o\'?\'4r\':\'4F\'}P if(2S==\'fh\'){2S=z.el.B(\'19\')==\'1o\'?\'2L\':\'O\'}z.el.1Y();z.H=H;z.J=2g J==\'u\'?J:S;z.fx=k.fx.9P(e);z.2S=2S;z.21=u(){if(z.J&&z.J.1K==2A){z.J.1D(z.el.K(0))}if(z.2S==\'4r\'||z.2S==\'2L\'){z.el.B(\'19\',z.el.K(0).4s==\'1o\'?\'2B\':z.el.K(0).4s)}P{z.el.2G()}k.fx.a0(z.fx.3p.K(0),z.fx.V);k.2H(z.el.K(0),\'1n\')};3m(z.2S){1e\'4F\':63=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'W\');63.1L(z.fx.V.1q.hb,0);1r;1e\'4r\':z.fx.3p.B(\'W\',\'9R\');z.el.1Y();63=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'W\');63.1L(0,z.fx.V.1q.hb);1r;1e\'O\':63=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'Z\');63.1L(z.fx.V.1q.1C,0);1r;1e\'2L\':z.fx.3p.B(\'Z\',\'9R\');z.el.1Y();63=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'Z\');63.1L(0,z.fx.V.1q.1C);1r}};k.fn.ji=u(5D,J){E q.1w(\'1n\',u(){if(!k.4K(q)){k.2H(q,\'1n\');E I}D e=12 k.fx.f4(q,5D,J);e.bp()})};k.fx.f4=u(e,5D,J){D z=q;z.el=k(e);z.el.1Y();z.J=J;z.5D=T(5D)||40;z.V={};z.V.Y=z.el.B(\'Y\');z.V.Q=T(z.el.B(\'Q\'))||0;z.V.O=T(z.el.B(\'O\'))||0;if(z.V.Y!=\'2s\'&&z.V.Y!=\'1P\'){z.el.B(\'Y\',\'2s\')}z.3V=5;z.5y=1;z.bp=u(){z.5y++;z.e=12 k.fx(z.el.K(0),{1m:jj,21:u(){z.e=12 k.fx(z.el.K(0),{1m:80,21:u(){z.5D=T(z.5D/2);if(z.5y<=z.3V)z.bp();P{z.el.B(\'Y\',z.V.Y).B(\'Q\',z.V.Q+\'U\').B(\'O\',z.V.O+\'U\');k.2H(z.el.K(0),\'1n\');if(z.J&&z.J.1K==2A){z.J.1D(z.el.K(0))}}}},\'Q\');z.e.1L(z.V.Q-z.5D,z.V.Q)}},\'Q\');z.e.1L(z.V.Q,z.V.Q-z.5D)}};k.fn.23({jy:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4r\',\'4l\',G)})},jz:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4r\',\'in\',G)})},jA:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4r\',\'3R\',G)})},jB:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4F\',\'4l\',G)})},jx:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4F\',\'in\',G)})},jw:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'4F\',\'3R\',G)})},js:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'O\',\'4l\',G)})},jt:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'O\',\'in\',G)})},ju:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'O\',\'3R\',G)})},jv:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'2L\',\'4l\',G)})},je:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'2L\',\'in\',G)})},jd:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.4f(q,H,J,\'2L\',\'3R\',G)})}});k.fx.4f=u(e,H,J,2S,1u,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;z.el=k(e);z.G=2g J==\'4V\'?J:G||S;z.V={};z.V.Y=z.el.B(\'Y\');z.V.Q=z.el.B(\'Q\');z.V.O=z.el.B(\'O\');if(!e.4s)e.4s=z.el.B(\'19\');if(1u==\'3R\'){1u=z.el.B(\'19\')==\'1o\'?\'in\':\'4l\'}z.el.1Y();if(z.V.Y!=\'2s\'&&z.V.Y!=\'1P\'){z.el.B(\'Y\',\'2s\')}z.1u=1u;J=2g J==\'u\'?J:S;8H=1;3m(2S){1e\'4F\':z.e=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'Q\');z.62=2m(z.V.Q)||0;z.9K=z.fG;8H=-1;1r;1e\'4r\':z.e=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'Q\');z.62=2m(z.V.Q)||0;z.9K=z.fG;1r;1e\'2L\':z.e=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'O\');z.62=2m(z.V.O)||0;z.9K=z.fy;1r;1e\'O\':z.e=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'O\');z.62=2m(z.V.O)||0;z.9K=z.fy;8H=-1;1r}z.e2=12 k.fx(z.el.K(0),k.H(H,z.G,u(){z.el.B(z.V);if(z.1u==\'4l\'){z.el.B(\'19\',\'1o\')}P z.el.B(\'19\',z.el.K(0).4s==\'1o\'?\'2B\':z.el.K(0).4s);k.2H(z.el.K(0),\'1n\')}),\'1G\');if(1u==\'in\'){z.e.1L(z.62+2a*8H,z.62);z.e2.1L(0,1)}P{z.e.1L(z.62,z.62+2a*8H);z.e2.1L(1,0)}};k.fn.23({j0:u(H,W,J,G){E q.1w(\'1n\',u(){12 k.fx.9L(q,H,W,J,\'fp\',G)})},iW:u(H,W,J,G){E q.1w(\'1n\',u(){12 k.fx.9L(q,H,W,J,\'9M\',G)})},iV:u(H,W,J,G){E q.1w(\'1n\',u(){12 k.fx.9L(q,H,W,J,\'3R\',G)})}});k.fx.9L=u(e,H,W,J,1u,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;z.el=k(e);z.G=2g J==\'4V\'?J:G||S;z.J=2g J==\'u\'?J:S;if(1u==\'3R\'){1u=z.el.B(\'19\')==\'1o\'?\'9M\':\'fp\'}z.H=H;z.W=W&&W.1K==bn?W:20;z.fx=k.fx.9P(e);z.1u=1u;z.21=u(){if(z.J&&z.J.1K==2A){z.J.1D(z.el.K(0))}if(z.1u==\'9M\'){z.el.1Y()}P{z.el.2G()}k.fx.a0(z.fx.3p.K(0),z.fx.V);k.2H(z.el.K(0),\'1n\')};if(z.1u==\'9M\'){z.el.1Y();z.fx.3p.B(\'W\',z.W+\'U\').B(\'Z\',\'9R\');z.ef=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,u(){z.ef=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'W\');z.ef.1L(z.W,z.fx.V.1q.hb)}),\'Z\');z.ef.1L(0,z.fx.V.1q.1C)}P{z.ef=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,u(){z.ef=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G,z.21),\'Z\');z.ef.1L(z.fx.V.1q.1C,0)}),\'W\');z.ef.1L(z.fx.V.1q.hb,z.W)}};k.fn.iR=u(H,4x,J,G){E q.1w(\'fv\',u(){q.6W=k(q).1p("14")||\'\';G=2g J==\'4V\'?J:G||S;J=2g J==\'u\'?J:S;D 9S=k(q).B(\'7i\');D 8I=q.31;7d(9S==\'cu\'&&8I){9S=k(8I).B(\'7i\');8I=8I.31}k(q).B(\'7i\',4x);if(2g q.6W==\'8T\')q.6W=q.6W["9X"];k(q).5w({\'7i\':9S},H,G,u(){k.2H(q,\'fv\');if(2g k(q).1p("14")==\'8T\'){k(q).1p("14")["9X"]="";k(q).1p("14")["9X"]=q.6W}P{k(q).1p("14",q.6W)}if(J)J.1D(q)})})};k.fn.23({iT:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.5m(q,H,J,\'49\',\'6g\',G)})},iU:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.5m(q,H,J,\'4j\',\'6g\',G)})},j1:u(H,J,G){E q.1w(\'1n\',u(){if(k.B(q,\'19\')==\'1o\'){12 k.fx.5m(q,H,J,\'4j\',\'6Z\',G)}P{12 k.fx.5m(q,H,J,\'4j\',\'6g\',G)}})},j2:u(H,J,G){E q.1w(\'1n\',u(){if(k.B(q,\'19\')==\'1o\'){12 k.fx.5m(q,H,J,\'49\',\'6Z\',G)}P{12 k.fx.5m(q,H,J,\'49\',\'6g\',G)}})},j9:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.5m(q,H,J,\'49\',\'6Z\',G)})},ja:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.5m(q,H,J,\'4j\',\'6Z\',G)})}});k.fx.5m=u(e,H,J,2S,1u,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;D 73=I;z.el=k(e);z.G=2g J==\'4V\'?J:G||S;z.J=2g J==\'u\'?J:S;z.1u=1u;z.H=H;z.2i=k.1a.2o(e);z.V={};z.V.Y=z.el.B(\'Y\');z.V.19=z.el.B(\'19\');if(z.V.19==\'1o\'){5Y=z.el.B(\'3n\');z.el.1Y();73=1b}z.V.Q=z.el.B(\'Q\');z.V.O=z.el.B(\'O\');if(73){z.el.2G();z.el.B(\'3n\',5Y)}z.V.Z=z.2i.w+\'U\';z.V.W=z.2i.h+\'U\';z.V.2U=z.el.B(\'2U\');z.2i.Q=T(z.V.Q)||0;z.2i.O=T(z.V.O)||0;if(z.V.Y!=\'2s\'&&z.V.Y!=\'1P\'){z.el.B(\'Y\',\'2s\')}z.el.B(\'2U\',\'2K\').B(\'W\',1u==\'6Z\'&&2S==\'49\'?1:z.2i.h+\'U\').B(\'Z\',1u==\'6Z\'&&2S==\'4j\'?1:z.2i.w+\'U\');z.21=u(){z.el.B(z.V);if(z.1u==\'6g\')z.el.2G();P z.el.1Y();k.2H(z.el.K(0),\'1n\')};3m(2S){1e\'49\':z.eh=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'W\');z.et=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'Q\');if(z.1u==\'6g\'){z.eh.1L(z.2i.h,0);z.et.1L(z.2i.Q,z.2i.Q+z.2i.h/2)}P{z.eh.1L(0,z.2i.h);z.et.1L(z.2i.Q+z.2i.h/2,z.2i.Q)}1r;1e\'4j\':z.eh=12 k.fx(z.el.K(0),k.H(H-15,z.G,J),\'Z\');z.et=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'O\');if(z.1u==\'6g\'){z.eh.1L(z.2i.w,0);z.et.1L(z.2i.O,z.2i.O+z.2i.w/2)}P{z.eh.1L(0,z.2i.w);z.et.1L(z.2i.O+z.2i.w/2,z.2i.O)}1r}};k.fn.bg=u(H,3V,J){E q.1w(\'1n\',u(){if(!k.4K(q)){k.2H(q,\'1n\');E I}D fx=12 k.fx.bg(q,H,3V,J);fx.bf()})};k.fx.bg=u(el,H,3V,J){D z=q;z.3V=3V;z.5y=1;z.el=el;z.H=H;z.J=J;k(z.el).1Y();z.bf=u(){z.5y++;z.e=12 k.fx(z.el,k.H(z.H,u(){z.ef=12 k.fx(z.el,k.H(z.H,u(){if(z.5y<=z.3V)z.bf();P{k.2H(z.el,\'1n\');if(z.J&&z.J.1K==2A){z.J.1D(z.el)}}}),\'1G\');z.ef.1L(0,1)}),\'1G\');z.e.1L(1,0)}};k.fn.23({jb:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.6G(q,H,1,2a,1b,J,\'fa\',G)})},jc:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.6G(q,H,2a,1,1b,J,\'b4\',G)})},j8:u(H,J,G){E q.1w(\'1n\',u(){D G=G||\'fl\';12 k.fx.6G(q,H,2a,f8,1b,J,\'6h\',G)})},6G:u(H,57,30,6H,J,G){E q.1w(\'1n\',u(){12 k.fx.6G(q,H,57,30,6H,J,\'6G\',G)})}});k.fx.6G=u(e,H,57,30,6H,J,1u,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;z.el=k(e);z.57=T(57)||2a;z.30=T(30)||2a;z.G=2g J==\'4V\'?J:G||S;z.J=2g J==\'u\'?J:S;z.1m=k.H(H).1m;z.6H=6H||S;z.2i=k.1a.2o(e);z.V={Z:z.el.B(\'Z\'),W:z.el.B(\'W\'),4A:z.el.B(\'4A\')||\'2a%\',Y:z.el.B(\'Y\'),19:z.el.B(\'19\'),Q:z.el.B(\'Q\'),O:z.el.B(\'O\'),2U:z.el.B(\'2U\'),4S:z.el.B(\'4S\'),5O:z.el.B(\'5O\'),5Q:z.el.B(\'5Q\'),5b:z.el.B(\'5b\'),5M:z.el.B(\'5M\'),5U:z.el.B(\'5U\'),5n:z.el.B(\'5n\'),4X:z.el.B(\'4X\')};z.Z=T(z.V.Z)||e.4c||0;z.W=T(z.V.W)||e.5W||0;z.Q=T(z.V.Q)||0;z.O=T(z.V.O)||0;1q=[\'em\',\'U\',\'j7\',\'%\'];24(i in 1q){if(z.V.4A.3J(1q[i])>0){z.fg=1q[i];z.4A=2m(z.V.4A)}if(z.V.4S.3J(1q[i])>0){z.fc=1q[i];z.bw=2m(z.V.4S)||0}if(z.V.5O.3J(1q[i])>0){z.fe=1q[i];z.bc=2m(z.V.5O)||0}if(z.V.5Q.3J(1q[i])>0){z.fL=1q[i];z.bA=2m(z.V.5Q)||0}if(z.V.5b.3J(1q[i])>0){z.g8=1q[i];z.bt=2m(z.V.5b)||0}if(z.V.5M.3J(1q[i])>0){z.g4=1q[i];z.bx=2m(z.V.5M)||0}if(z.V.5U.3J(1q[i])>0){z.g9=1q[i];z.bv=2m(z.V.5U)||0}if(z.V.5n.3J(1q[i])>0){z.gc=1q[i];z.bj=2m(z.V.5n)||0}if(z.V.4X.3J(1q[i])>0){z.fK=1q[i];z.b7=2m(z.V.4X)||0}}if(z.V.Y!=\'2s\'&&z.V.Y!=\'1P\'){z.el.B(\'Y\',\'2s\')}z.el.B(\'2U\',\'2K\');z.1u=1u;3m(z.1u){1e\'fa\':z.4b=z.Q+z.2i.h/2;z.5a=z.Q;z.4k=z.O+z.2i.w/2;z.59=z.O;1r;1e\'b4\':z.5a=z.Q+z.2i.h/2;z.4b=z.Q;z.59=z.O+z.2i.w/2;z.4k=z.O;1r;1e\'6h\':z.5a=z.Q-z.2i.h/4;z.4b=z.Q;z.59=z.O-z.2i.w/4;z.4k=z.O;1r}z.be=I;z.t=(12 7g).7z();z.4w=u(){5T(z.2I);z.2I=S};z.2D=u(){if(z.be==I){z.el.1Y();z.be=1b}D t=(12 7g).7z();D n=t-z.t;D p=n/z.1m;if(t>=z.1m+z.t){9T(u(){o=1;if(z.1u){t=z.5a;l=z.59;if(z.1u==\'6h\')o=0}z.bs(z.30,l,t,1b,o)},13);z.4w()}P{o=1;if(!k.G||!k.G[z.G]){s=((-18.5H(p*18.2Q)/2)+0.5)*(z.30-z.57)+z.57}P{s=k.G[z.G](p,n,z.57,(z.30-z.57),z.1m)}if(z.1u){if(!k.G||!k.G[z.G]){t=((-18.5H(p*18.2Q)/2)+0.5)*(z.5a-z.4b)+z.4b;l=((-18.5H(p*18.2Q)/2)+0.5)*(z.59-z.4k)+z.4k;if(z.1u==\'6h\')o=((-18.5H(p*18.2Q)/2)+0.5)*(-0.9Y)+0.9Y}P{t=k.G[z.G](p,n,z.4b,(z.5a-z.4b),z.1m);l=k.G[z.G](p,n,z.4k,(z.59-z.4k),z.1m);if(z.1u==\'6h\')o=k.G[z.G](p,n,0.9Y,-0.9Y,z.1m)}}z.bs(s,l,t,I,o)}};z.2I=6V(u(){z.2D()},13);z.bs=u(4q,O,Q,fM,1G){z.el.B(\'W\',z.W*4q/2a+\'U\').B(\'Z\',z.Z*4q/2a+\'U\').B(\'O\',O+\'U\').B(\'Q\',Q+\'U\').B(\'4A\',z.4A*4q/2a+z.fg);if(z.bw)z.el.B(\'4S\',z.bw*4q/2a+z.fc);if(z.bc)z.el.B(\'5O\',z.bc*4q/2a+z.fe);if(z.bA)z.el.B(\'5Q\',z.bA*4q/2a+z.fL);if(z.bt)z.el.B(\'5b\',z.bt*4q/2a+z.g8);if(z.bx)z.el.B(\'5M\',z.bx*4q/2a+z.g4);if(z.bv)z.el.B(\'5U\',z.bv*4q/2a+z.g9);if(z.bj)z.el.B(\'5n\',z.bj*4q/2a+z.gc);if(z.b7)z.el.B(\'4X\',z.b7*4q/2a+z.fK);if(z.1u==\'6h\'){if(1X.71)z.el.K(0).14.5E="8V(1G="+1G*2a+")";z.el.K(0).14.1G=1G}if(fM){if(z.6H){z.el.B(z.V)}if(z.1u==\'b4\'||z.1u==\'6h\'){z.el.B(\'19\',\'1o\');if(z.1u==\'6h\'){if(1X.71)z.el.K(0).14.5E="8V(1G="+2a+")";z.el.K(0).14.1G=1}}P z.el.B(\'19\',\'2B\');if(z.J)z.J.1D(z.el.K(0));k.2H(z.el.K(0),\'1n\')}}};k.fn.23({9U:u(H,1O,G){o=k.H(H);E q.1w(\'1n\',u(){12 k.fx.9U(q,o,1O,G)})},j6:u(H,1O,G){E q.1E(u(){k(\'a[@3h*="#"]\',q).5h(u(e){fW=q.3h.7C(\'#\');k(\'#\'+fW[1]).9U(H,1O,G);E I})})}});k.fx.9U=u(e,o,1O,G){D z=q;z.o=o;z.e=e;z.1O=/fT|gd/.48(1O)?1O:I;z.G=G;p=k.1a.3w(e);s=k.1a.6z();z.4w=u(){5T(z.2I);z.2I=S;k.2H(z.e,\'1n\')};z.t=(12 7g).7z();s.h=s.h>s.ih?(s.h-s.ih):s.h;s.w=s.w>s.iw?(s.w-s.iw):s.w;z.5a=p.y>s.h?s.h:p.y;z.59=p.x>s.w?s.w:p.x;z.4b=s.t;z.4k=s.l;z.2D=u(){D t=(12 7g).7z();D n=t-z.t;D p=n/z.o.1m;if(t>=z.o.1m+z.t){z.4w();9T(u(){z.d3(z.5a,z.59)},13)}P{if(!z.1O||z.1O==\'fT\'){if(!k.G||!k.G[z.G]){9V=((-18.5H(p*18.2Q)/2)+0.5)*(z.5a-z.4b)+z.4b}P{9V=k.G[z.G](p,n,z.4b,(z.5a-z.4b),z.o.1m)}}P{9V=z.4b}if(!z.1O||z.1O==\'gd\'){if(!k.G||!k.G[z.G]){9W=((-18.5H(p*18.2Q)/2)+0.5)*(z.59-z.4k)+z.4k}P{9W=k.G[z.G](p,n,z.4k,(z.59-z.4k),z.o.1m)}}P{9W=z.4k}z.d3(9V,9W)}};z.d3=u(t,l){1X.j4(l,t)};z.2I=6V(u(){z.2D()},13)};k.fn.cY=u(3V,J){E q.1w(\'1n\',u(){if(!k.4K(q)){k.2H(q,\'1n\');E I}D e=12 k.fx.cY(q,3V,J);e.cG()})};k.fx.cY=u(e,3V,J){D z=q;z.el=k(e);z.el.1Y();z.3V=T(3V)||3;z.J=J;z.5y=1;z.V={};z.V.Y=z.el.B(\'Y\');z.V.Q=T(z.el.B(\'Q\'))||0;z.V.O=T(z.el.B(\'O\'))||0;if(z.V.Y!=\'2s\'&&z.V.Y!=\'1P\'){z.el.B(\'Y\',\'2s\')}z.cG=u(){z.5y++;z.e=12 k.fx(z.el.K(0),{1m:60,21:u(){z.e=12 k.fx(z.el.K(0),{1m:60,21:u(){z.e=12 k.fx(e,{1m:60,21:u(){if(z.5y<=z.3V)z.cG();P{z.el.B(\'Y\',z.V.Y).B(\'Q\',z.V.Q+\'U\').B(\'O\',z.V.O+\'U\');k.2H(z.el.K(0),\'1n\');if(z.J&&z.J.1K==2A){z.J.1D(z.el.K(0))}}}},\'O\');z.e.1L(z.V.O-20,z.V.O)}},\'O\');z.e.1L(z.V.O+20,z.V.O-20)}},\'O\');z.e.1L(z.V.O,z.V.O+20)}};k.fn.23({fo:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4F\',\'in\',G)})},fq:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4F\',\'4l\',G)})},iY:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4F\',\'3R\',G)})},iX:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4r\',\'in\',G)})},jr:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4r\',\'4l\',G)})},jq:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'4r\',\'3R\',G)})},jp:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'O\',\'in\',G)})},jn:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'O\',\'4l\',G)})},jm:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'O\',\'3R\',G)})},iP:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'2L\',\'in\',G)})},ic:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'2L\',\'4l\',G)})},ib:u(H,J,G){E q.1w(\'1n\',u(){12 k.fx.1z(q,H,J,\'2L\',\'3R\',G)})}});k.fx.1z=u(e,H,J,2S,1u,G){if(!k.4K(e)){k.2H(e,\'1n\');E I}D z=q;z.el=k(e);z.G=2g J==\'4V\'?J:G||S;z.J=2g J==\'u\'?J:S;if(1u==\'3R\'){1u=z.el.B(\'19\')==\'1o\'?\'in\':\'4l\'}if(!e.4s)e.4s=z.el.B(\'19\');z.el.1Y();z.H=H;z.fx=k.fx.9P(e);z.1u=1u;z.2S=2S;z.21=u(){if(z.1u==\'4l\')z.el.B(\'3n\',\'2K\');k.fx.a0(z.fx.3p.K(0),z.fx.V);if(z.1u==\'in\'){z.el.B(\'19\',z.el.K(0).4s==\'1o\'?\'2B\':z.el.K(0).4s)}P{z.el.B(\'19\',\'1o\');z.el.B(\'3n\',\'dd\')}if(z.J&&z.J.1K==2A){z.J.1D(z.el.K(0))}k.2H(z.el.K(0),\'1n\')};3m(z.2S){1e\'4F\':z.ef=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'Q\');z.7v=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G),\'W\');if(z.1u==\'in\'){z.ef.1L(-z.fx.V.1q.hb,0);z.7v.1L(0,z.fx.V.1q.hb)}P{z.ef.1L(0,-z.fx.V.1q.hb);z.7v.1L(z.fx.V.1q.hb,0)}1r;1e\'4r\':z.ef=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'Q\');if(z.1u==\'in\'){z.ef.1L(z.fx.V.1q.hb,0)}P{z.ef.1L(0,z.fx.V.1q.hb)}1r;1e\'O\':z.ef=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'O\');z.7v=12 k.fx(z.fx.3p.K(0),k.H(z.H,z.G),\'Z\');if(z.1u==\'in\'){z.ef.1L(-z.fx.V.1q.1C,0);z.7v.1L(0,z.fx.V.1q.1C)}P{z.ef.1L(0,-z.fx.V.1q.1C);z.7v.1L(z.fx.V.1q.1C,0)}1r;1e\'2L\':z.ef=12 k.fx(z.el.K(0),k.H(z.H,z.G,z.21),\'O\');if(z.1u==\'in\'){z.ef.1L(z.fx.V.1q.1C,0)}P{z.ef.1L(0,z.fx.V.1q.1C)}1r}};k.3f=S;k.fn.ig=u(o){E q.1w(\'1n\',u(){12 k.fx.dG(q,o)})};k.fx.dG=u(e,o){if(k.3f==S){k(\'2e\',1h).1S(\'<22 id="3f">\');k.3f=k(\'#3f\')}k.3f.B(\'19\',\'2B\').B(\'Y\',\'1P\');D z=q;z.el=k(e);if(!o||!o.30){E}if(o.30.1K==b0&&1h.9e(o.30)){o.30=1h.9e(o.30)}P if(!o.30.dq){E}if(!o.1m){o.1m=g5}z.1m=o.1m;z.30=o.30;z.8r=o.3l;z.21=o.21;if(z.8r){k.3f.2R(z.8r)}z.a3=0;z.a2=0;if(k.dF){z.a3=(T(k.3f.B(\'5b\'))||0)+(T(k.3f.B(\'5O\'))||0)+(T(k.3f.B(\'4X\'))||0)+(T(k.3f.B(\'5U\'))||0);z.a2=(T(k.3f.B(\'4S\'))||0)+(T(k.3f.B(\'5Q\'))||0)+(T(k.3f.B(\'5M\'))||0)+(T(k.3f.B(\'5n\'))||0)}z.26=k.23(k.1a.3w(z.el.K(0)),k.1a.2o(z.el.K(0)));z.2T=k.23(k.1a.3w(z.30),k.1a.2o(z.30));z.26.1C-=z.a3;z.26.hb-=z.a2;z.2T.1C-=z.a3;z.2T.hb-=z.a2;z.J=o.21;k.3f.B(\'Z\',z.26.1C+\'U\').B(\'W\',z.26.hb+\'U\').B(\'Q\',z.26.y+\'U\').B(\'O\',z.26.x+\'U\').5w({Q:z.2T.y,O:z.2T.x,Z:z.2T.1C,W:z.2T.hb},z.1m,u(){if(z.8r)k.3f.4i(z.8r);k.3f.B(\'19\',\'1o\');if(z.21&&z.21.1K==2A){z.21.1D(z.el.K(0),[z.30])}k.2H(z.el.K(0),\'1n\')})};k.1v={M:{2E:10,ec:\'1Q/iJ.eZ\',e3:\'<1T 2J="1Q/6g.da" />\',eW:0.8,d8:\'iN a6\',dc:\'57\',3W:8J},jQ:I,jW:I,6j:S,8m:I,8k:I,d1:u(2k){if(!k.1v.8k||k.1v.8m)E;D 3K=2k.7L||2k.7K||-1;3m(3K){1e 35:if(k.1v.6j)k.1v.26(S,k(\'a[@4I=\'+k.1v.6j+\']:jJ\').K(0));1r;1e 36:if(k.1v.6j)k.1v.26(S,k(\'a[@4I=\'+k.1v.6j+\']:jL\').K(0));1r;1e 37:1e 8:1e 33:1e 80:1e kb:D 9p=k(\'#87\');if(9p.K(0).53!=S){9p.K(0).53.1D(9p.K(0))}1r;1e 38:1r;1e 39:1e 34:1e 32:1e gl:1e 78:D 9k=k(\'#88\');if(9k.K(0).53!=S){9k.K(0).53.1D(9k.K(0))}1r;1e 40:1r;1e 27:k.1v.au();1r}},7q:u(M){if(M)k.23(k.1v.M,M);if(1X.2k){k(\'2e\',1h).1J(\'6y\',k.1v.d1)}P{k(1h).1J(\'6y\',k.1v.d1)}k(\'a\').1E(u(){el=k(q);en=el.1p(\'4I\')||\'\';e9=el.1p(\'3h\')||\'\';ev=/\\.da|\\.gw|\\.8X|\\.eZ|\\.gn/g;if(e9.6c().d5(ev)!=S&&en.6c().3J(\'eU\')==0){el.1J(\'5h\',k.1v.26)}});if(k.3a.4t){3A=1h.3F(\'3A\');k(3A).1p({id:\'cN\',2J:\'ek:I;\',ej:\'cD\',ep:\'cD\'}).B({19:\'1o\',Y:\'1P\',Q:\'0\',O:\'0\',5E:\'9n:9w.9y.cC(1G=0)\'});k(\'2e\').1S(3A)}8n=1h.3F(\'22\');k(8n).1p(\'id\',\'cP\').B({Y:\'1P\',19:\'1o\',Q:\'0\',O:\'0\',1G:0}).1S(1h.8M(\' \')).1J(\'5h\',k.1v.au);6A=1h.3F(\'22\');k(6A).1p(\'id\',\'eK\').B({4X:k.1v.M.2E+\'U\'}).1S(1h.8M(\' \'));cE=1h.3F(\'22\');k(cE).1p(\'id\',\'dg\').B({4X:k.1v.M.2E+\'U\',5n:k.1v.M.2E+\'U\'}).1S(1h.8M(\' \'));cF=1h.3F(\'a\');k(cF).1p({id:\'gg\',3h:\'#\'}).B({Y:\'1P\',2L:k.1v.M.2E+\'U\',Q:\'0\'}).1S(k.1v.M.e3).1J(\'5h\',k.1v.au);7m=1h.3F(\'22\');k(7m).1p(\'id\',\'cM\').B({Y:\'2s\',cA:\'O\',6w:\'0 9F\',3I:1}).1S(6A).1S(cE).1S(cF);2b=1h.3F(\'1T\');2b.2J=k.1v.M.ec;k(2b).1p(\'id\',\'eM\').B({Y:\'1P\'});4G=1h.3F(\'a\');k(4G).1p({id:\'87\',3h:\'#\'}).B({Y:\'1P\',19:\'1o\',2U:\'2K\',ey:\'1o\'}).1S(1h.8M(\' \'));4M=1h.3F(\'a\');k(4M).1p({id:\'88\',3h:\'#\'}).B({Y:\'1P\',2U:\'2K\',ey:\'1o\'}).1S(1h.8M(\' \'));1Z=1h.3F(\'22\');k(1Z).1p(\'id\',\'eE\').B({19:\'1o\',Y:\'2s\',2U:\'2K\',cA:\'O\',6w:\'0 9F\',Q:\'0\',O:\'0\',3I:2}).1S([2b,4G,4M]);6F=1h.3F(\'22\');k(6F).1p(\'id\',\'ao\').B({19:\'1o\',Y:\'1P\',2U:\'2K\',Q:\'0\',O:\'0\',cA:\'cv\',7i:\'cu\',hC:\'0\'}).1S([1Z,7m]);k(\'2e\').1S(8n).1S(6F)},26:u(e,C){el=C?k(C):k(q);9t=el.1p(\'4I\');D 6B,4u,4G,4M;if(9t!=\'eU\'){k.1v.6j=9t;8Y=k(\'a[@4I=\'+9t+\']\');6B=8Y.1N();4u=8Y.cZ(C?C:q);4G=8Y.K(4u-1);4M=8Y.K(4u+1)}89=el.1p(\'3h\');6A=el.1p(\'4g\');3O=k.1a.6z();8n=k(\'#cP\');if(!k.1v.8k){k.1v.8k=1b;if(k.3a.4t){k(\'#cN\').B(\'W\',18.3r(3O.ih,3O.h)+\'U\').B(\'Z\',18.3r(3O.iw,3O.w)+\'U\').1Y()}8n.B(\'W\',18.3r(3O.ih,3O.h)+\'U\').B(\'Z\',18.3r(3O.iw,3O.w)+\'U\').1Y().fX(cO,k.1v.M.eW,u(){k.1v.cw(89,6A,3O,6B,4u,4G,4M)});k(\'#ao\').B(\'Z\',18.3r(3O.iw,3O.w)+\'U\')}P{k(\'#87\').K(0).53=S;k(\'#88\').K(0).53=S;k.1v.cw(89,6A,3O,6B,4u,4G,4M)}E I},cw:u(89,gP,3O,6B,4u,4G,4M){k(\'#cW\').bk();aX=k(\'#87\');aX.2G();aO=k(\'#88\');aO.2G();2b=k(\'#eM\');1Z=k(\'#eE\');6F=k(\'#ao\');7m=k(\'#cM\').B(\'3n\',\'2K\');k(\'#eK\').3x(6A);k.1v.8m=1b;if(6B)k(\'#dg\').3x(k.1v.M.d8+\' \'+(4u+1)+\' \'+k.1v.M.dc+\' \'+6B);if(4G){aX.K(0).53=u(){q.5B();k.1v.26(S,4G);E I}}if(4M){aO.K(0).53=u(){q.5B();k.1v.26(S,4M);E I}}2b.1Y();82=k.1a.2o(1Z.K(0));56=18.3r(82.1C,2b.K(0).Z+k.1v.M.2E*2);6f=18.3r(82.hb,2b.K(0).W+k.1v.M.2E*2);2b.B({O:(56-2b.K(0).Z)/2+\'U\',Q:(6f-2b.K(0).W)/2+\'U\'});1Z.B({Z:56+\'U\',W:6f+\'U\'}).1Y();dw=k.1a.bm();6F.B(\'Q\',3O.t+(dw.h/15)+\'U\');if(6F.B(\'19\')==\'1o\'){6F.1Y().7f(k.1v.M.3W)}6k=12 9s;k(6k).1p(\'id\',\'cW\').1J(\'hJ\',u(){56=6k.Z+k.1v.M.2E*2;6f=6k.W+k.1v.M.2E*2;2b.2G();1Z.5w({W:6f},82.hb!=6f?k.1v.M.3W:1,u(){1Z.5w({Z:56},82.1C!=56?k.1v.M.3W:1,u(){1Z.bG(6k);k(6k).B({Y:\'1P\',O:k.1v.M.2E+\'U\',Q:k.1v.M.2E+\'U\'}).7f(k.1v.M.3W,u(){db=k.1a.2o(7m.K(0));if(4G){aX.B({O:k.1v.M.2E+\'U\',Q:k.1v.M.2E+\'U\',Z:56/2-k.1v.M.2E*3+\'U\',W:6f-k.1v.M.2E*2+\'U\'}).1Y()}if(4M){aO.B({O:56/2+k.1v.M.2E*2+\'U\',Q:k.1v.M.2E+\'U\',Z:56/2-k.1v.M.2E*3+\'U\',W:6f-k.1v.M.2E*2+\'U\'}).1Y()}7m.B({Z:56+\'U\',Q:-db.hb+\'U\',3n:\'dd\'}).5w({Q:-1},k.1v.M.3W,u(){k.1v.8m=I})})})})});6k.2J=89},au:u(){k(\'#cW\').bk();k(\'#ao\').2G();k(\'#cM\').B(\'3n\',\'2K\');k(\'#cP\').fX(cO,0,u(){k(q).2G();if(k.3a.4t){k(\'#cN\').2G()}});k(\'#87\').K(0).53=S;k(\'#88\').K(0).53=S;k.1v.6j=S;k.1v.8k=I;k.1v.8m=I;E I}};k.R={1A:S,41:S,F:S,1s:S,1q:S,Y:S,9a:u(e){k.R.F=(q.d0)?q.d0:q;k.R.1s=k.1a.4a(e);k.R.1q={Z:T(k(k.R.F).B(\'Z\'))||0,W:T(k(k.R.F).B(\'W\'))||0};k.R.Y={Q:T(k(k.R.F).B(\'Q\'))||0,O:T(k(k.R.F).B(\'O\'))||0};k(1h).1J(\'3D\',k.R.cR).1J(\'5P\',k.R.cK);if(2g k.R.F.1k.g2===\'u\'){k.R.F.1k.g2.1D(k.R.F)}E I},cK:u(e){k(1h).3q(\'3D\',k.R.cR).3q(\'5P\',k.R.cK);if(2g k.R.F.1k.fN===\'u\'){k.R.F.1k.fN.1D(k.R.F)}k.R.F=S},cR:u(e){if(!k.R.F){E}1s=k.1a.4a(e);7p=k.R.Y.Q-k.R.1s.y+1s.y;7r=k.R.Y.O-k.R.1s.x+1s.x;7p=18.3r(18.3L(7p,k.R.F.1k.8g-k.R.1q.W),k.R.F.1k.7h);7r=18.3r(18.3L(7r,k.R.F.1k.8h-k.R.1q.Z),k.R.F.1k.70);if(2g k.R.F.1k.4m===\'u\'){D 8a=k.R.F.1k.4m.1D(k.R.F,[7r,7p]);if(2g 8a==\'hh\'&&8a.1g==2){7r=8a[0];7p=8a[1]}}k.R.F.14.Q=7p+\'U\';k.R.F.14.O=7r+\'U\';E I},26:u(e){k(1h).1J(\'3D\',k.R.8j).1J(\'5P\',k.R.8o);k.R.1A=q.1A;k.R.41=q.41;k.R.1s=k.1a.4a(e);k.R.1q={Z:T(k(q.1A).B(\'Z\'))||0,W:T(k(q.1A).B(\'W\'))||0};k.R.Y={Q:T(k(q.1A).B(\'Q\'))||0,O:T(k(q.1A).B(\'O\'))||0};if(k.R.1A.1k.4o){k.R.1A.1k.4o.1D(k.R.1A,[q])}E I},8o:u(){k(1h).3q(\'3D\',k.R.8j).3q(\'5P\',k.R.8o);if(k.R.1A.1k.3T){k.R.1A.1k.3T.1D(k.R.1A,[k.R.41])}k.R.1A=S;k.R.41=S},6i:u(dx,az){E 18.3L(18.3r(k.R.1q.Z+dx*az,k.R.1A.1k.av),k.R.1A.1k.6x)},6m:u(dy,az){E 18.3L(18.3r(k.R.1q.W+dy*az,k.R.1A.1k.8c),k.R.1A.1k.8b)},fb:u(W){E 18.3L(18.3r(W,k.R.1A.1k.8c),k.R.1A.1k.8b)},8j:u(e){if(k.R.1A==S){E}1s=k.1a.4a(e);dx=1s.x-k.R.1s.x;dy=1s.y-k.R.1s.y;1I={Z:k.R.1q.Z,W:k.R.1q.W};2z={Q:k.R.Y.Q,O:k.R.Y.O};3m(k.R.41){1e\'e\':1I.Z=k.R.6i(dx,1);1r;1e\'fj\':1I.Z=k.R.6i(dx,1);1I.W=k.R.6m(dy,1);1r;1e\'w\':1I.Z=k.R.6i(dx,-1);2z.O=k.R.Y.O-1I.Z+k.R.1q.Z;1r;1e\'5F\':1I.Z=k.R.6i(dx,-1);2z.O=k.R.Y.O-1I.Z+k.R.1q.Z;1I.W=k.R.6m(dy,1);1r;1e\'76\':1I.W=k.R.6m(dy,-1);2z.Q=k.R.Y.Q-1I.W+k.R.1q.W;1I.Z=k.R.6i(dx,-1);2z.O=k.R.Y.O-1I.Z+k.R.1q.Z;1r;1e\'n\':1I.W=k.R.6m(dy,-1);2z.Q=k.R.Y.Q-1I.W+k.R.1q.W;1r;1e\'at\':1I.W=k.R.6m(dy,-1);2z.Q=k.R.Y.Q-1I.W+k.R.1q.W;1I.Z=k.R.6i(dx,1);1r;1e\'s\':1I.W=k.R.6m(dy,1);1r}if(k.R.1A.1k.4v){if(k.R.41==\'n\'||k.R.41==\'s\')4p=1I.W*k.R.1A.1k.4v;P 4p=1I.Z;4W=k.R.fb(4p*k.R.1A.1k.4v);4p=4W/k.R.1A.1k.4v;3m(k.R.41){1e\'n\':1e\'76\':1e\'at\':2z.Q+=1I.W-4W;1r}3m(k.R.41){1e\'76\':1e\'w\':1e\'5F\':2z.O+=1I.Z-4p;1r}1I.W=4W;1I.Z=4p}if(2z.Qk.R.1A.1k.8g){1I.W=k.R.1A.1k.8g-2z.Q;if(k.R.1A.1k.4v){1I.Z=1I.W/k.R.1A.1k.4v}}if(2z.O+1I.Z>k.R.1A.1k.8h){1I.Z=k.R.1A.1k.8h-2z.O;if(k.R.1A.1k.4v){1I.W=1I.Z*k.R.1A.1k.4v}}D 6p=I;if(k.R.1A.1k.f7){6p=k.R.1A.1k.f7.1D(k.R.1A,[1I,2z]);if(6p){if(6p.1q){k.23(1I,6p.1q)}if(6p.Y){k.23(2z,6p.Y)}}}8d=k.R.1A.14;8d.O=2z.O+\'U\';8d.Q=2z.Q+\'U\';8d.Z=1I.Z+\'U\';8d.W=1I.W+\'U\';E I},2r:u(M){if(!M||!M.3Z||M.3Z.1K!=7M){E}E q.1E(u(){D el=q;el.1k=M;el.1k.av=M.av||10;el.1k.8c=M.8c||10;el.1k.6x=M.6x||6P;el.1k.8b=M.8b||6P;el.1k.7h=M.7h||-aC;el.1k.70=M.70||-aC;el.1k.8h=M.8h||6P;el.1k.8g=M.8g||6P;d6=k(el).B(\'Y\');if(!(d6==\'2s\'||d6==\'1P\')){el.14.Y=\'2s\'}fS=/n|at|e|fj|s|5F|w|76/g;24(i in el.1k.3Z){if(i.6c().d5(fS)!=S){if(el.1k.3Z[i].1K==b0){3v=k(el.1k.3Z[i]);if(3v.1N()>0){el.1k.3Z[i]=3v.K(0)}}if(el.1k.3Z[i].4Y){el.1k.3Z[i].1A=el;el.1k.3Z[i].41=i;k(el.1k.3Z[i]).1J(\'5v\',k.R.26)}}}if(el.1k.5S){if(2g el.1k.5S===\'4V\'){aV=k(el.1k.5S);if(aV.1N()>0){aV.1E(u(){q.d0=el});aV.1J(\'5v\',k.R.9a)}}P if(el.1k.5S==1b){k(q).1J(\'5v\',k.R.9a)}}})},4U:u(){E q.1E(u(){D el=q;24(i in el.1k.3Z){el.1k.3Z[i].1A=S;el.1k.3Z[i].41=S;k(el.1k.3Z[i]).3q(\'5v\',k.R.26)}if(el.1k.5S){if(2g el.1k.5S===\'4V\'){3v=k(el.1k.5S);if(3v.1N()>0){3v.3q(\'5v\',k.R.9a)}}P if(el.1k.5S==1b){k(q).3q(\'5v\',k.R.9a)}}el.1k=S})}};k.fn.23({hz:k.R.2r,hs:k.R.4U});k.2C=S;k.7n=I;k.3k=S;k.7o=[];k.9v=u(e){D 3K=e.7L||e.7K||-1;if(3K==17||3K==16){k.7n=1b}};k.9u=u(e){k.7n=I};k.dL=u(e){q.f.1s=k.1a.4a(e);q.f.1M=k.23(k.1a.3w(q),k.1a.2o(q));q.f.3e=k.1a.6z(q);q.f.1s.x-=q.f.1M.x;q.f.1s.y-=q.f.1M.y;k(q).1S(k.2C.K(0));if(q.f.hc)k.2C.2R(q.f.hc).B(\'19\',\'2B\');k.2C.B({19:\'2B\',Z:\'2P\',W:\'2P\'});if(q.f.o){k.2C.B(\'1G\',q.f.o)}k.3k=q;k.96=I;k.7o=[];q.f.el.1E(u(){q.1M={x:q.8t+(q.4Z&&!k.3a.7I?T(q.4Z.5b)||0:0)+(k.3k.3c||0),y:q.8G+(q.4Z&&!k.3a.7I?T(q.4Z.4S)||0:0)+(k.3k.3d||0),1C:q.4c,hb:q.5W};if(q.s==1b){if(k.7n==I){q.s=I;k(q).4i(k.3k.f.7j)}P{k.96=1b;k.7o[k.7o.1g]=k.1p(q,\'id\')}}});k.am.1D(q,[e]);k(1h).1J(\'3D\',k.am).1J(\'5P\',k.cX);E I};k.am=u(e){if(!k.3k)E;k.fd.1D(k.3k,[e])};k.fd=u(e){if(!k.3k)E;D 1s=k.1a.4a(e);D 3e=k.1a.6z(k.3k);1s.x+=3e.l-q.f.3e.l-q.f.1M.x;1s.y+=3e.t-q.f.3e.t-q.f.1M.y;D 93=18.3L(1s.x,q.f.1s.x);D 5F=18.3L(18.3S(1s.x-q.f.1s.x),18.3S(q.f.3e.w-93));D 99=18.3L(1s.y,q.f.1s.y);D 9g=18.3L(18.3S(1s.y-q.f.1s.y),18.3S(q.f.3e.h-99));if(q.3d>0&&1s.y-20q.3d+q.f.1M.h){D 3X=18.3L(q.f.3e.h-q.3d,10);q.3d+=3X;if(q.3d!=3e.t)9g+=3X}if(q.3c>0&&1s.x-20q.3c+q.f.1M.w){D 3X=18.3L(q.f.3e.w-q.3c,10);q.3c+=3X;if(q.3c!=3e.l)5F+=3X}k.2C.B({O:93+\'U\',Q:99+\'U\',Z:5F+\'U\',W:9g+\'U\'});k.2C.l=93+q.f.3e.l;k.2C.t=99+q.f.3e.t;k.2C.r=k.2C.l+5F;k.2C.b=k.2C.t+9g;k.96=I;q.f.el.1E(u(){aw=k.7o.3J(k.1p(q,\'id\'));if(!(q.1M.x>k.2C.r||(q.1M.x+q.1M.1C)k.2C.b||(q.1M.y+q.1M.hb)0){h+=\'&\'}h+=s+\'[]=\'+k.1p(q,\'id\');o[o.1g]=k.1p(q,\'id\')}})}E{7l:h,o:o}};k.fn.gZ=u(o){if(!k.2C){k(\'2e\',1h).1S(\'<22 id="2C">\').1J(\'7B\',k.9v).1J(\'6y\',k.9u);k.2C=k(\'#2C\');k.2C.B({Y:\'1P\',19:\'1o\'});if(1X.2k){k(\'2e\',1h).1J(\'7B\',k.9v).1J(\'6y\',k.9u)}P{k(1h).1J(\'7B\',k.9v).1J(\'6y\',k.9u)}}if(!o){o={}}E q.1E(u(){if(q.eP)E;q.eP=1b;q.f={a:o.3C,o:o.1G?2m(o.1G):I,7j:o.eS?o.eS:I,hc:o.58?o.58:I,98:o.98?o.98:I,9d:o.9d?o.9d:I};q.f.el=k(\'.\'+o.3C);k(q).1J(\'5v\',k.dL).B(\'Y\',\'2s\')})};k.3b={bM:1,eH:u(3t){D 3t=3t;E q.1E(u(){q.4z.6s.1E(u(ab){k.3b.5c(q,3t[ab])})})},K:u(){D 3t=[];q.1E(u(cL){if(q.bI){3t[cL]=[];D C=q;D 1q=k.1a.2o(q);q.4z.6s.1E(u(ab){D x=q.8t;D y=q.8G;92=T(x*2a/(1q.w-q.4c));91=T(y*2a/(1q.h-q.5W));3t[cL][ab]=[92||0,91||0,x||0,y||0]})}});E 3t},ct:u(C){C.A.fu=C.A.28.w-C.A.1B.1C;C.A.fw=C.A.28.h-C.A.1B.hb;if(C.9r.4z.bC){9Z=C.9r.4z.6s.K(C.bF+1);if(9Z){C.A.28.w=(T(k(9Z).B(\'O\'))||0)+C.A.1B.1C;C.A.28.h=(T(k(9Z).B(\'Q\'))||0)+C.A.1B.hb}9Q=C.9r.4z.6s.K(C.bF-1);if(9Q){D cU=T(k(9Q).B(\'O\'))||0;D cH=T(k(9Q).B(\'O\'))||0;C.A.28.x+=cU;C.A.28.y+=cH;C.A.28.w-=cU;C.A.28.h-=cH}}C.A.g7=C.A.28.w-C.A.1B.1C;C.A.eC=C.A.28.h-C.A.1B.hb;if(C.A.2O){C.A.gx=((C.A.28.w-C.A.1B.1C)/C.A.2O)||1;C.A.gy=((C.A.28.h-C.A.1B.hb)/C.A.2O)||1;C.A.fU=C.A.g7/C.A.2O;C.A.fH=C.A.eC/C.A.2O}C.A.28.dx=C.A.28.x-C.A.2c.x;C.A.28.dy=C.A.28.y-C.A.2c.y;k.11.1c.B(\'9b\',\'ad\')},3H:u(C,x,y){if(C.A.2O){fE=T(x/C.A.fU);92=fE*2a/C.A.2O;ft=T(y/C.A.fH);91=ft*2a/C.A.2O}P{92=T(x*2a/C.A.fu);91=T(y*2a/C.A.fw)}C.A.b3=[92||0,91||0,x||0,y||0];if(C.A.3H)C.A.3H.1D(C,C.A.b3)},eI:u(2k){3K=2k.7L||2k.7K||-1;3m(3K){1e 35:k.3b.5c(q.3U,[ae,ae]);1r;1e 36:k.3b.5c(q.3U,[-ae,-ae]);1r;1e 37:k.3b.5c(q.3U,[-q.3U.A.gx||-1,0]);1r;1e 38:k.3b.5c(q.3U,[0,-q.3U.A.gy||-1]);1r;1e 39:k.3b.5c(q.3U,[q.3U.A.gx||1,0]);1r;1e 40:k.11.5c(q.3U,[0,q.3U.A.gy||1]);1r}},5c:u(C,Y){if(!C.A){E}C.A.1B=k.23(k.1a.3w(C),k.1a.2o(C));C.A.2c={x:T(k.B(C,\'O\'))||0,y:T(k.B(C,\'Q\'))||0};C.A.4n=k.B(C,\'Y\');if(C.A.4n!=\'2s\'&&C.A.4n!=\'1P\'){C.14.Y=\'2s\'}k.11.c5(C);k.3b.ct(C);dx=T(Y[0])||0;dy=T(Y[1])||0;2v=C.A.2c.x+dx;2q=C.A.2c.y+dy;if(C.A.2O){3y=k.11.c7.1D(C,[2v,2q,dx,dy]);if(3y.1K==7M){dx=3y.dx;dy=3y.dy}2v=C.A.2c.x+dx;2q=C.A.2c.y+dy}3y=k.11.ce.1D(C,[2v,2q,dx,dy]);if(3y&&3y.1K==7M){dx=3y.dx;dy=3y.dy}2v=C.A.2c.x+dx;2q=C.A.2c.y+dy;if(C.A.5i&&(C.A.3H||C.A.2Z)){k.3b.3H(C,2v,2q)}2v=!C.A.1O||C.A.1O==\'4j\'?2v:C.A.2c.x||0;2q=!C.A.1O||C.A.1O==\'49\'?2q:C.A.2c.y||0;C.14.O=2v+\'U\';C.14.Q=2q+\'U\'},2r:u(o){E q.1E(u(){if(q.bI==1b||!o.3C||!k.1a||!k.11||!k.1x){E}5x=k(o.3C,q);if(5x.1N()==0){E}D 4N={2p:\'94\',5i:1b,3H:o.3H&&o.3H.1K==2A?o.3H:S,2Z:o.2Z&&o.2Z.1K==2A?o.2Z:S,3v:q,1G:o.1G||I};if(o.2O&&T(o.2O)){4N.2O=T(o.2O)||1;4N.2O=4N.2O>0?4N.2O:1}if(5x.1N()==1)5x.7t(4N);P{k(5x.K(0)).7t(4N);4N.3v=S;5x.7t(4N)}5x.7B(k.3b.eI);5x.1p(\'bM\',k.3b.bM++);q.bI=1b;q.4z={};q.4z.er=4N.er;q.4z.2O=4N.2O;q.4z.6s=5x;q.4z.bC=o.bC?1b:I;bZ=q;bZ.4z.6s.1E(u(2N){q.bF=2N;q.9r=bZ});if(o.3t&&o.3t.1K==7F){24(i=o.3t.1g-1;i>=0;i--){if(o.3t[i].1K==7F&&o.3t[i].1g==2){el=q.4z.6s.K(i);if(el.4Y){k.3b.5c(el,o.3t[i])}}}}})}};k.fn.23({hN:k.3b.2r,hS:k.3b.eH,hG:k.3b.K});k.2u={5I:[],eg:u(){q.5B();X=q.31;id=k.1p(X,\'id\');if(k.2u.5I[id]!=S){1X.5T(k.2u.5I[id])}1z=X.L.3u+1;if(X.L.1Q.1g<1z){1z=1}1Q=k(\'1T\',X.L.5u);X.L.3u=1z;if(1Q.1N()>0){1Q.7a(X.L.3W,k.2u.95)}},dp:u(){q.5B();X=q.31;id=k.1p(X,\'id\');if(k.2u.5I[id]!=S){1X.5T(k.2u.5I[id])}1z=X.L.3u-1;1Q=k(\'1T\',X.L.5u);if(1z<1){1z=X.L.1Q.1g}X.L.3u=1z;if(1Q.1N()>0){1Q.7a(X.L.3W,k.2u.95)}},2I:u(c){X=1h.9e(c);if(X.L.6o){1z=X.L.3u;7d(1z==X.L.3u){1z=1+T(18.6o()*X.L.1Q.1g)}}P{1z=X.L.3u+1;if(X.L.1Q.1g<1z){1z=1}}1Q=k(\'1T\',X.L.5u);X.L.3u=1z;if(1Q.1N()>0){1Q.7a(X.L.3W,k.2u.95)}},go:u(o){D X;if(o&&o.1K==7M){if(o.2b){X=1h.9e(o.2b.X);5N=1X.hn.3h.7C("#");o.2b.6S=S;if(5N.1g==2){1z=T(5N[1]);1Y=5N[1].4E(1z,\'\');if(k.1p(X,\'id\')!=1Y){1z=1}}P{1z=1}}if(o.90){o.90.5B();X=o.90.31.31;id=k.1p(X,\'id\');if(k.2u.5I[id]!=S){1X.5T(k.2u.5I[id])}5N=o.90.3h.7C("#");1z=T(5N[1]);1Y=5N[1].4E(1z,\'\');if(k.1p(X,\'id\')!=1Y){1z=1}}if(X.L.1Q.1g<1z||1z<1){1z=1}X.L.3u=1z;52=k.1a.2o(X);dt=k.1a.aT(X);d9=k.1a.6U(X);if(X.L.3z){X.L.3z.o.B(\'19\',\'1o\')}if(X.L.3s){X.L.3s.o.B(\'19\',\'1o\')}if(X.L.2b){y=T(dt.t)+T(d9.t);if(X.L.1U){if(X.L.1U.5A==\'Q\'){y+=X.L.1U.4C.hb}P{52.h-=X.L.1U.4C.hb}}if(X.L.2x){if(X.L.2x&&X.L.2x.6Q==\'Q\'){y+=X.L.2x.4C.hb}P{52.h-=X.L.2x.4C.hb}}if(!X.L.c1){X.L.df=o.2b?o.2b.W:(T(X.L.2b.B(\'W\'))||0);X.L.c1=o.2b?o.2b.Z:(T(X.L.2b.B(\'Z\'))||0)}X.L.2b.B(\'Q\',y+(52.h-X.L.df)/2+\'U\');X.L.2b.B(\'O\',(52.1C-X.L.c1)/2+\'U\');X.L.2b.B(\'19\',\'2B\')}1Q=k(\'1T\',X.L.5u);if(1Q.1N()>0){1Q.7a(X.L.3W,k.2u.95)}P{aj=k(\'a\',X.L.1U.o).K(1z-1);k(aj).2R(X.L.1U.5R);D 1T=12 9s();1T.X=k.1p(X,\'id\');1T.1z=1z-1;1T.2J=X.L.1Q[X.L.3u-1].2J;if(1T.21){1T.6S=S;k.2u.19.1D(1T)}P{1T.6S=k.2u.19}if(X.L.2x){X.L.2x.o.3x(X.L.1Q[1z-1].6L)}}}},95:u(){X=q.31.31;X.L.5u.B(\'19\',\'1o\');if(X.L.1U.5R){aj=k(\'a\',X.L.1U.o).4i(X.L.1U.5R).K(X.L.3u-1);k(aj).2R(X.L.1U.5R)}D 1T=12 9s();1T.X=k.1p(X,\'id\');1T.1z=X.L.3u-1;1T.2J=X.L.1Q[X.L.3u-1].2J;if(1T.21){1T.6S=S;k.2u.19.1D(1T)}P{1T.6S=k.2u.19}if(X.L.2x){X.L.2x.o.3x(X.L.1Q[X.L.3u-1].6L)}},19:u(){X=1h.9e(q.X);if(X.L.3z){X.L.3z.o.B(\'19\',\'1o\')}if(X.L.3s){X.L.3s.o.B(\'19\',\'1o\')}52=k.1a.2o(X);y=0;if(X.L.1U){if(X.L.1U.5A==\'Q\'){y+=X.L.1U.4C.hb}P{52.h-=X.L.1U.4C.hb}}if(X.L.2x){if(X.L.2x&&X.L.2x.6Q==\'Q\'){y+=X.L.2x.4C.hb}P{52.h-=X.L.2x.4C.hb}}hg=k(\'.ca\',X);y=y+(52.h-q.W)/2;x=(52.1C-q.Z)/2;X.L.5u.B(\'Q\',y+\'U\').B(\'O\',x+\'U\').3x(\'<1T 2J="\'+q.2J+\'" />\');X.L.5u.7f(X.L.3W);3s=X.L.3u+1;if(3s>X.L.1Q.1g){3s=1}3z=X.L.3u-1;if(3z<1){3z=X.L.1Q.1g}X.L.3s.o.B(\'19\',\'2B\').B(\'Q\',y+\'U\').B(\'O\',x+2*q.Z/3+\'U\').B(\'Z\',q.Z/3+\'U\').B(\'W\',q.W+\'U\').1p(\'4g\',X.L.1Q[3s-1].6L);X.L.3s.o.K(0).3h=\'#\'+3s+k.1p(X,\'id\');X.L.3z.o.B(\'19\',\'2B\').B(\'Q\',y+\'U\').B(\'O\',x+\'U\').B(\'Z\',q.Z/3+\'U\').B(\'W\',q.W+\'U\').1p(\'4g\',X.L.1Q[3z-1].6L);X.L.3z.o.K(0).3h=\'#\'+3z+k.1p(X,\'id\')},2r:u(o){if(!o||!o.1Z||k.2u.5I[o.1Z])E;D 1Z=k(\'#\'+o.1Z);D el=1Z.K(0);if(el.14.Y!=\'1P\'&&el.14.Y!=\'2s\'){el.14.Y=\'2s\'}el.14.2U=\'2K\';if(1Z.1N()==0)E;el.L={};el.L.1Q=o.1Q?o.1Q:[];el.L.6o=o.6o&&o.6o==1b||I;97=el.f3(\'hL\');24(i=0;i<97.1g;i++){7Z=el.L.1Q.1g;el.L.1Q[7Z]={2J:97[i].2J,6L:97[i].4g||97[i].hD||\'\'}}if(el.L.1Q.1g==0){E}el.L.4n=k.23(k.1a.3w(el),k.1a.2o(el));el.L.b5=k.1a.aT(el);el.L.bu=k.1a.6U(el);t=T(el.L.b5.t)+T(el.L.bu.t);b=T(el.L.b5.b)+T(el.L.bu.b);k(\'1T\',el).bk();el.L.3W=o.3W?o.3W:g5;if(o.5A||o.9f||o.5R){el.L.1U={};1Z.1S(\'<22 6T="g1">\');el.L.1U.o=k(\'.g1\',el);if(o.9f){el.L.1U.9f=o.9f;el.L.1U.o.2R(o.9f)}if(o.5R){el.L.1U.5R=o.5R}el.L.1U.o.B(\'Y\',\'1P\').B(\'Z\',el.L.4n.w+\'U\');if(o.5A&&o.5A==\'Q\'){el.L.1U.5A=\'Q\';el.L.1U.o.B(\'Q\',t+\'U\')}P{el.L.1U.5A=\'4D\';el.L.1U.o.B(\'4D\',b+\'U\')}el.L.1U.aE=o.aE?o.aE:\' \';24(D i=0;i\'+7Z+\'\'+(7Z!=el.L.1Q.1g?el.L.1U.aE:\'\'))}k(\'a\',el.L.1U.o).1J(\'5h\',u(){k.2u.go({90:q})});el.L.1U.4C=k.1a.2o(el.L.1U.o.K(0))}if(o.6Q||o.9c){el.L.2x={};1Z.1S(\'<22 6T="dn">&7k;\');el.L.2x.o=k(\'.dn\',el);if(o.9c){el.L.2x.9c=o.9c;el.L.2x.o.2R(o.9c)}el.L.2x.o.B(\'Y\',\'1P\').B(\'Z\',el.L.4n.w+\'U\');if(o.6Q&&o.6Q==\'Q\'){el.L.2x.6Q=\'Q\';el.L.2x.o.B(\'Q\',(el.L.1U&&el.L.1U.5A==\'Q\'?el.L.1U.4C.hb+t:t)+\'U\')}P{el.L.2x.6Q=\'4D\';el.L.2x.o.B(\'4D\',(el.L.1U&&el.L.1U.5A==\'4D\'?el.L.1U.4C.hb+b:b)+\'U\')}el.L.2x.4C=k.1a.2o(el.L.2x.o.K(0))}if(o.9D){el.L.3s={9D:o.9D};1Z.1S(\'&7k;\');el.L.3s.o=k(\'.eY\',el);el.L.3s.o.B(\'Y\',\'1P\').B(\'19\',\'1o\').B(\'2U\',\'2K\').B(\'4A\',\'eR\').2R(el.L.3s.9D);el.L.3s.o.1J(\'5h\',k.2u.eg)}if(o.9o){el.L.3z={9o:o.9o};1Z.1S(\'&7k;\');el.L.3z.o=k(\'.ee\',el);el.L.3z.o.B(\'Y\',\'1P\').B(\'19\',\'1o\').B(\'2U\',\'2K\').B(\'4A\',\'eR\').2R(el.L.3z.9o);el.L.3z.o.1J(\'5h\',k.2u.dp)}1Z.bG(\'<22 6T="ca">\');el.L.5u=k(\'.ca\',el);el.L.5u.B(\'Y\',\'1P\').B(\'Q\',\'2P\').B(\'O\',\'2P\').B(\'19\',\'1o\');if(o.2b){1Z.bG(\'<22 6T="dW" 14="19: 1o;"><1T 2J="\'+o.2b+\'" />\');el.L.2b=k(\'.dW\',el);el.L.2b.B(\'Y\',\'1P\');D 1T=12 9s();1T.X=o.1Z;1T.2J=o.2b;if(1T.21){1T.6S=S;k.2u.go({2b:1T})}P{1T.6S=u(){k.2u.go({2b:q})}}}P{k.2u.go({1Z:el})}if(o.cS){fi=T(o.cS)*aC}k.2u.5I[o.1Z]=o.cS?1X.6V(\'k.2u.2I(\\\'\'+o.1Z+\'\\\')\',fi):S}};k.X=k.2u.2r;k.1t={7s:[],5L:{},1c:I,7u:S,26:u(){if(k.11.F==S){E}D 4O,3G,c,cs;k.1t.1c.K(0).3l=k.11.F.A.6R;4O=k.1t.1c.K(0).14;4O.19=\'2B\';k.1t.1c.1B=k.23(k.1a.3w(k.1t.1c.K(0)),k.1a.2o(k.1t.1c.K(0)));4O.Z=k.11.F.A.1B.1C+\'U\';4O.W=k.11.F.A.1B.hb+\'U\';3G=k.1a.cy(k.11.F);4O.5K=3G.t;4O.5z=3G.r;4O.5k=3G.b;4O.5j=3G.l;if(k.11.F.A.46==1b){c=k.11.F.fI(1b);cs=c.14;cs.5K=\'2P\';cs.5z=\'2P\';cs.5k=\'2P\';cs.5j=\'2P\';cs.19=\'2B\';k.1t.1c.5o().1S(c)}k(k.11.F).f5(k.1t.1c.K(0));k.11.F.14.19=\'1o\'},fC:u(e){if(!e.A.44&&k.1x.5r.cQ){if(e.A.3T)e.A.3T.1D(F);k(e).B(\'Y\',e.A.cz||e.A.4n);k(e).aS();k(k.1x.5r).f6(e)}k.1t.1c.4i(e.A.6R).3x(\'&7k;\');k.1t.7u=S;D 4O=k.1t.1c.K(0).14;4O.19=\'1o\';k.1t.1c.f5(e);if(e.A.fx>0){k(e).7f(e.A.fx)}k(\'2e\').1S(k.1t.1c.K(0));D 86=[];D 8q=I;24(D i=0;i0){8q(86)}},al:u(e,o){if(!k.11.F)E;D 6e=I;D i=0;if(e.1i.el.1N()>0){24(i=e.1i.el.1N();i>0;i--){if(e.1i.el.K(i-1)!=k.11.F){if(!e.5V.b2){if((e.1i.el.K(i-1).1M.y+e.1i.el.K(i-1).1M.hb/2)>k.11.F.A.2q){6e=e.1i.el.K(i-1)}P{1r}}P{if((e.1i.el.K(i-1).1M.x+e.1i.el.K(i-1).1M.1C/2)>k.11.F.A.2v&&(e.1i.el.K(i-1).1M.y+e.1i.el.K(i-1).1M.hb/2)>k.11.F.A.2q){6e=e.1i.el.K(i-1)}}}}}if(6e&&k.1t.7u!=6e){k.1t.7u=6e;k(6e).h5(k.1t.1c.K(0))}P if(!6e&&(k.1t.7u!=S||k.1t.1c.K(0).31!=e)){k.1t.7u=S;k(e).1S(k.1t.1c.K(0))}k.1t.1c.K(0).14.19=\'2B\'},cT:u(e){if(k.11.F==S){E}e.1i.el.1E(u(){q.1M=k.23(k.1a.74(q),k.1a.7G(q))})},8x:u(s){D i;D h=\'\';D o={};if(s){if(k.1t.5L[s]){o[s]=[];k(\'#\'+s+\' .\'+k.1t.5L[s]).1E(u(){if(h.1g>0){h+=\'&\'}h+=s+\'[]=\'+k.1p(q,\'id\');o[s][o[s].1g]=k.1p(q,\'id\')})}P{24(a in s){if(k.1t.5L[s[a]]){o[s[a]]=[];k(\'#\'+s[a]+\' .\'+k.1t.5L[s[a]]).1E(u(){if(h.1g>0){h+=\'&\'}h+=s[a]+\'[]=\'+k.1p(q,\'id\');o[s[a]][o[s[a]].1g]=k.1p(q,\'id\')})}}}}P{24(i in k.1t.5L){o[i]=[];k(\'#\'+i+\' .\'+k.1t.5L[i]).1E(u(){if(h.1g>0){h+=\'&\'}h+=i+\'[]=\'+k.1p(q,\'id\');o[i][o[i].1g]=k.1p(q,\'id\')})}}E{7l:h,o:o}},fF:u(e){if(!e.dq){E}E q.1E(u(){if(!q.5V||!k(e).is(\'.\'+q.5V.3C))k(e).2R(q.5V.3C);k(e).7t(q.5V.A)})},4U:u(){E q.1E(u(){k(\'.\'+q.5V.3C).aS();k(q).dR();q.5V=S;q.fm=S})},2r:u(o){if(o.3C&&k.1a&&k.11&&k.1x){if(!k.1t.1c){k(\'2e\',1h).1S(\'<22 id="e5">&7k;\');k.1t.1c=k(\'#e5\');k.1t.1c.K(0).14.19=\'1o\'}q.do({3C:o.3C,9J:o.9J?o.9J:I,a5:o.a5?o.a5:I,58:o.58?o.58:I,7x:o.7x||o.dC,7y:o.7y||o.fO,cQ:1b,2Z:o.2Z||o.ia,fx:o.fx?o.fx:I,46:o.46?1b:I,6I:o.6I?o.6I:\'cV\'});E q.1E(u(){D A={6N:o.6N?1b:I,ff:6P,1G:o.1G?2m(o.1G):I,6R:o.58?o.58:I,fx:o.fx?o.fx:I,44:1b,46:o.46?1b:I,3v:o.3v?o.3v:S,2p:o.2p?o.2p:S,4o:o.4o&&o.4o.1K==2A?o.4o:I,4m:o.4m&&o.4m.1K==2A?o.4m:I,3T:o.3T&&o.3T.1K==2A?o.3T:I,1O:/49|4j/.48(o.1O)?o.1O:I,6M:o.6M?T(o.6M)||0:I,2V:o.2V?o.2V:I};k(\'.\'+o.3C,q).7t(A);q.fm=1b;q.5V={3C:o.3C,6N:o.6N?1b:I,ff:6P,1G:o.1G?2m(o.1G):I,6R:o.58?o.58:I,fx:o.fx?o.fx:I,44:1b,46:o.46?1b:I,3v:o.3v?o.3v:S,2p:o.2p?o.2p:S,b2:o.b2?1b:I,A:A}})}}};k.fn.23({j3:k.1t.2r,f6:k.1t.fF,iS:k.1t.4U});k.iZ=k.1t.8x;k.2t={6O:S,7b:I,9m:S,6K:u(e){k.2t.7b=1b;k.2t.1Y(e,q,1b)},cq:u(e){if(k.2t.6O!=q)E;k.2t.7b=I;k.2t.2G(e,q)},1Y:u(e,el,7b){if(k.2t.6O!=S)E;if(!el){el=q}k.2t.6O=el;1M=k.23(k.1a.3w(el),k.1a.2o(el));8u=k(el);4g=8u.1p(\'4g\');3h=8u.1p(\'3h\');if(4g){k.2t.9m=4g;8u.1p(\'4g\',\'\');k(\'#eT\').3x(4g);if(3h)k(\'#bL\').3x(3h.4E(\'jh://\',\'\'));P k(\'#bL\').3x(\'\');1c=k(\'#8z\');if(el.4H.3l){1c.K(0).3l=el.4H.3l}P{1c.K(0).3l=\'\'}bo=k.1a.2o(1c.K(0));ga=7b&&el.4H.Y==\'bO\'?\'4D\':el.4H.Y;3m(ga){1e\'Q\':2q=1M.y-bo.hb;2v=1M.x;1r;1e\'O\':2q=1M.y;2v=1M.x-bo.1C;1r;1e\'2L\':2q=1M.y;2v=1M.x+1M.1C;1r;1e\'bO\':k(\'2e\').1J(\'3D\',k.2t.3D);1s=k.1a.4a(e);2q=1s.y+15;2v=1s.x+15;1r;ad:2q=1M.y+1M.hb;2v=1M.x;1r}1c.B({Q:2q+\'U\',O:2v+\'U\'});if(el.4H.54==I){1c.1Y()}P{1c.7f(el.4H.54)}if(el.4H.2Y)el.4H.2Y.1D(el);8u.1J(\'8B\',k.2t.2G).1J(\'5B\',k.2t.cq)}},3D:u(e){if(k.2t.6O==S){k(\'2e\').3q(\'3D\',k.2t.3D);E}1s=k.1a.4a(e);k(\'#8z\').B({Q:1s.y+15+\'U\',O:1s.x+15+\'U\'})},2G:u(e,el){if(!el){el=q}if(k.2t.7b!=1b&&k.2t.6O==el){k.2t.6O=S;k(\'#8z\').7a(1);k(el).1p(\'4g\',k.2t.9m).3q(\'8B\',k.2t.2G).3q(\'5B\',k.2t.cq);if(el.4H.3i)el.4H.3i.1D(el);k.2t.9m=S}},2r:u(M){if(!k.2t.1c){k(\'2e\').1S(\'<22 id="8z"><22 id="eT"><22 id="bL">\');k(\'#8z\').B({Y:\'1P\',3I:6P,19:\'1o\'});k.2t.1c=1b}E q.1E(u(){if(k.1p(q,\'4g\')){q.4H={Y:/Q|4D|O|2L|bO/.48(M.Y)?M.Y:\'4D\',3l:M.3l?M.3l:I,54:M.54?M.54:I,2Y:M.2Y&&M.2Y.1K==2A?M.2Y:I,3i:M.3i&&M.3i.1K==2A?M.3i:I};D el=k(q);el.1J(\'9z\',k.2t.1Y);el.1J(\'6K\',k.2t.6K)}})}};k.fn.hO=k.2t.2r;k.84={bq:u(e){3K=e.7L||e.7K||-1;if(3K==9){if(1X.2k){1X.2k.bT=1b;1X.2k.c0=I}P{e.aP();e.aW()}if(q.b1){1h.6J.dZ().3g="\\t";q.dV=u(){q.6K();q.dV=S}}P if(q.aF){26=q.5q;2T=q.dN;q.2y=q.2y.hd(0,26)+"\\t"+q.2y.h8(2T);q.aF(26+1,26+1);q.6K()}E I}},4U:u(){E q.1E(u(){if(q.7P&&q.7P==1b){k(q).3q(\'7B\',k.84.bq);q.7P=I}})},2r:u(){E q.1E(u(){if(q.4Y==\'cf\'&&(!q.7P||q.7P==I)){k(q).1J(\'7B\',k.84.bq);q.7P=1b}})}};k.fn.23({j5:k.84.2r,hH:k.84.4U});k.1a={3w:u(e){D x=0;D y=0;D es=e.14;D bP=I;if(k(e).B(\'19\')==\'1o\'){D 5Y=es.3n;D 9q=es.Y;bP=1b;es.3n=\'2K\';es.19=\'2B\';es.Y=\'1P\'}D el=e;7d(el){x+=el.8t+(el.4Z&&!k.3a.7I?T(el.4Z.5b)||0:0);y+=el.8G+(el.4Z&&!k.3a.7I?T(el.4Z.4S)||0:0);el=el.dJ}el=e;7d(el&&el.4Y&&el.4Y.6c()!=\'2e\'){x-=el.3c||0;y-=el.3d||0;el=el.31}if(bP==1b){es.19=\'1o\';es.Y=9q;es.3n=5Y}E{x:x,y:y}},7G:u(el){D x=0,y=0;7d(el){x+=el.8t||0;y+=el.8G||0;el=el.dJ}E{x:x,y:y}},2o:u(e){D w=k.B(e,\'Z\');D h=k.B(e,\'W\');D 1C=0;D hb=0;D es=e.14;if(k(e).B(\'19\')!=\'1o\'){1C=e.4c;hb=e.5W}P{D 5Y=es.3n;D 9q=es.Y;es.3n=\'2K\';es.19=\'2B\';es.Y=\'1P\';1C=e.4c;hb=e.5W;es.19=\'1o\';es.Y=9q;es.3n=5Y}E{w:w,h:h,1C:1C,hb:hb}},74:u(el){E{1C:el.4c||0,hb:el.5W||0}},bm:u(e){D h,w,de;if(e){w=e.8W;h=e.8O}P{de=1h.5d;w=1X.d4||aa.d4||(de&&de.8W)||1h.2e.8W;h=1X.cB||aa.cB||(de&&de.8O)||1h.2e.8O}E{w:w,h:h}},6z:u(e){D t=0,l=0,w=0,h=0,iw=0,ih=0;if(e&&e.9N.6c()!=\'2e\'){t=e.3d;l=e.3c;w=e.d7;h=e.d2;iw=0;ih=0}P{if(1h.5d){t=1h.5d.3d;l=1h.5d.3c;w=1h.5d.d7;h=1h.5d.d2}P if(1h.2e){t=1h.2e.3d;l=1h.2e.3c;w=1h.2e.d7;h=1h.2e.d2}iw=aa.d4||1h.5d.8W||1h.2e.8W||0;ih=aa.cB||1h.5d.8O||1h.2e.8O||0}E{t:t,l:l,w:w,h:h,iw:iw,ih:ih}},cy:u(e,7N){D el=k(e);D t=el.B(\'5K\')||\'\';D r=el.B(\'5z\')||\'\';D b=el.B(\'5k\')||\'\';D l=el.B(\'5j\')||\'\';if(7N)E{t:T(t)||0,r:T(r)||0,b:T(b)||0,l:T(l)};P E{t:t,r:r,b:b,l:l}},aT:u(e,7N){D el=k(e);D t=el.B(\'5M\')||\'\';D r=el.B(\'5U\')||\'\';D b=el.B(\'5n\')||\'\';D l=el.B(\'4X\')||\'\';if(7N)E{t:T(t)||0,r:T(r)||0,b:T(b)||0,l:T(l)};P E{t:t,r:r,b:b,l:l}},6U:u(e,7N){D el=k(e);D t=el.B(\'4S\')||\'\';D r=el.B(\'5O\')||\'\';D b=el.B(\'5Q\')||\'\';D l=el.B(\'5b\')||\'\';if(7N)E{t:T(t)||0,r:T(r)||0,b:T(b)||0,l:T(l)||0};P E{t:t,r:r,b:b,l:l}},4a:u(2k){D x=2k.hT||(2k.gM+(1h.5d.3c||1h.2e.3c))||0;D y=2k.ki||(2k.iQ+(1h.5d.3d||1h.2e.3d))||0;E{x:x,y:y}},cI:u(4R,cx){cx(4R);4R=4R.7c;7d(4R){k.1a.cI(4R,cx);4R=4R.hQ}},h7:u(4R){k.1a.cI(4R,u(el){24(D 1p in el){if(2g el[1p]===\'u\'){el[1p]=S}}})},hV:u(el,1O){D 5l=k.1a.6z();D b6=k.1a.2o(el);if(!1O||1O==\'49\')k(el).B({Q:5l.t+((18.3r(5l.h,5l.ih)-5l.t-b6.hb)/2)+\'U\'});if(!1O||1O==\'4j\')k(el).B({O:5l.l+((18.3r(5l.w,5l.iw)-5l.l-b6.1C)/2)+\'U\'})},hW:u(el,dk){D 1Q=k(\'1T[@2J*="8X"]\',el||1h),8X;1Q.1E(u(){8X=q.2J;q.2J=dk;q.14.5E="9n:9w.9y.hE(2J=\'"+8X+"\')"})}};[].3J||(7F.hF.3J=u(v,n){n=(n==S)?0:n;D m=q.1g;24(D i=n;i35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9(){6(1f C!="Q")E v=C;E C=19.16=9(a,c){6(19==7||!7.4a)F 1s C(a,c);F 7.4a(a,c)};6(1f $!="Q")E B=$;19.$=C;E q=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/;C.15=C.3v={4a:9(a,c){a=a||R;6(1f a=="1E"){E m=q.2d(a);6(m&&(m[1]||!c)){6(m[1])a=C.3c([m[1]]);G{E b=R.37(m[3]);6(b)6(b.2j!=m[3])F C().1F(a);G{7[0]=b;7.H=1;F 7}G a=[]}}G F 1s C(c).1F(a)}G 6(C.1g(a))F 1s C(R)[C.15.1L?"1L":"2f"](a);F 7.5J(a.1b==1K&&a||(a.3w||a.H&&a!=19&&!a.1t&&a[0]!=Q&&a[0].1t)&&C.2V(a)||[a])},3w:"1.1.4",7K:9(){F 7.H},H:0,21:9(a){F a==Q?C.2V(7):7[a]},1O:9(a){E b=C(a);b.5c=7;F b},5J:9(a){7.H=0;1K.3v.Y.T(7,a);F 7},J:9(a,b){F C.J(7,a,b)},45:9(a){E b=-1;7.J(9(i){6(7==a)b=i});F b},1j:9(f,d,e){E c=f;6(f.1b==3n)6(d==Q)F 7.H&&C[e||"1j"](7[0],f)||Q;G{c={};c[f]=d}F 7.J(9(a){I(E b 17 c)C.1j(e?7.S:7,b,C.4Q(7,c[b],e,a,b))})},1h:9(b,a){F 7.1j(b,a,"34")},2Q:9(e){6(1f e!="4P"&&e!=K)F 7.3K().3H(R.60(e));E t="";C.J(e||7,9(){C.J(7.2Z,9(){6(7.1t!=8)t+=7.1t!=1?7.5S:C.15.2Q([7])})});F t},82:9(){E a,2e=1a;F 7.J(9(){6(!a)a=C.3c(2e,7.2I);E b=a[0].3B(O);7.P.2p(b,7);20(b.1k)b=b.1k;b.4p(7)})},3H:9(){F 7.2J(1a,O,1,9(a){7.4p(a)})},5v:9(){F 7.2J(1a,O,-1,9(a){7.2p(a,7.1k)})},5u:9(){F 7.2J(1a,M,1,9(a){7.P.2p(a,7)})},5t:9(){F 7.2J(1a,M,-1,9(a){7.P.2p(a,7.2a)})},3L:9(){F 7.5c||C([])},1F:9(t){E b=C.3M(7,9(a){F C.1F(t,a)});F 7.1O(/[^+>] [^+>]/.1d(t)||t.U("..")>-1?C.4d(b):b)},7o:9(e){e=e!=Q?e:O;E d=7.1r(7.1F("*"));6(C.N.12){d.J(9(){7.2l$1i={};I(E a 17 7.$1i)7.2l$1i[a]=C.14({},7.$1i[a])}).49()}E r=7.1O(C.3M(7,9(a){F a.3B(e)}));6(C.N.12){d.J(9(){E c=7.2l$1i;I(E a 17 c)I(E b 17 c[a])C.1c.1r(7,a,c[a][b],c[a][b].V);7.2l$1i=K})}6(e){E f=r.1r(r.1F(\'*\')).1l(\'2b,39[@L=3i]\');d.1l(\'2b,39[@L=3i]\').J(9(i){6(7.3j)f[i].3j=7.3j;6(7.27)f[i].27=O})}F r},1l:9(t){F 7.1O(C.1g(t)&&C.2B(7,9(b,a){F t.T(b,[a])})||C.2R(t,7))},5l:9(t){F 7.1O(t.1b==3n&&C.2R(t,7,O)||C.2B(7,9(a){F(t.1b==1K||t.3w)?C.4K(a,t)<0:a!=t}))},1r:9(t){F 7.1O(C.29(7.21(),t.1b==3n?C(t).21():t.H!=Q&&(!t.W||t.W=="6s")?t:[t]))},3y:9(a){F a?C.2R(a,7).H>0:M},2G:9(a){F a==Q?(7.H?7[0].2A:K):7.1j("2A",a)},5W:9(a){F a==Q?(7.H?7[0].2W:K):7.3K().3H(a)},3S:9(){F 7.1O(1K.3v.3S.T(7,1a))},2J:9(f,d,g,e){E c=7.H>1,a;F 7.J(9(){6(!a){a=C.3c(f,7.2I);6(g<0)a.8E()}E b=7;6(d&&C.W(7,"1A")&&C.W(a[0],"3O"))b=7.4L("1w")[0]||7.4p(R.6a("1w"));C.J(a,9(){6(C.W(7,"33")){6(7.32)C.31({1G:7.32,2w:M,3G:"33"});G C.4E(7.2Q||7.5Z||7.2W||"")}G e.T(b,[c?7.3B(O):7])})})}};C.14=C.15.14=9(){E c=1a[0]||{},a=1,1M=1a.H,4D=M;6(c.1b==8d){4D=c;c=1a[1]||{}}6(1M==1){c=7;a=0}E b;I(;a<1M;a++)6((b=1a[a])!=K)I(E i 17 b){6(c==b[i])5X;6(4D&&1f b[i]==\'4P\'&&c[i])C.14(c[i],b[i]);G 6(b[i]!=Q)c[i]=b[i]}F c};C.14({8a:9(a){19.$=B;6(a)19.16=v;F C},1g:9(a){F!!a&&1f a!="1E"&&!a.W&&a.1b!=1K&&/9/i.1d(a+"")},3E:9(a){F a.3D&&!a.4z||a.4y&&a.2I&&!a.2I.4z},4E:9(a){a=C.2s(a);6(a){6(19.5N)19.5N(a);G 6(C.N.1H)19.4x(a,0);G 2T.2S(19,a)}},W:9(b,a){F b.W&&b.W.1I()==a.1I()},J:9(a,b,c){6(c){6(a.H==Q)I(E i 17 a)b.T(a[i],c);G I(E i=0,3A=a.H;i<3A;i++)6(b.T(a[i],c)===M)1J}G{6(a.H==Q)I(E i 17 a)b.2S(a[i],i,a[i]);G I(E i=0,3A=a.H,2G=a[0];i<3A&&b.2S(2G,i,2G)!==M;2G=a[++i]){}}F a},4Q:9(c,b,d,e,a){6(C.1g(b))b=b.2S(c,[e]);E f=/z-?45|7S-?7Q|1e|5y|7O-?1u/i;F b&&b.1b==3x&&d=="34"&&!f.1d(a)?b+"4t":b},18:{1r:9(b,c){C.J((c||"").2M(/\\s+/),9(i,a){6(!C.18.2N(b.18,a))b.18+=(b.18?" ":"")+a})},23:9(b,c){b.18=c!=Q?C.2B(b.18.2M(/\\s+/),9(a){F!C.18.2N(c,a)}).5w(" "):""},2N:9(t,c){F C.4K(c,(t.18||t).3s().2M(/\\s+/))>-1}},1V:9(e,o,f){I(E i 17 o){e.S["2U"+i]=e.S[i];e.S[i]=o[i]}f.T(e,[]);I(E i 17 o)e.S[i]=e.S["2U"+i]},1h:9(e,p){6(p=="1u"||p=="24"){E b={},3p,3o,d=["7J","7G","7F","7B"];C.J(d,9(){b["7A"+7]=0;b["7x"+7+"7u"]=0});C.1V(e,b,9(){6(C(e).3y(\':4N\')){3p=e.7t;3o=e.7q}G{e=C(e.3B(O)).1F(":4e").5d("27").3L().1h({3V:"1C",3k:"7n",11:"2m",7h:"0",7e:"0"}).57(e.P)[0];E a=C.1h(e.P,"3k")||"3g";6(a=="3g")e.P.S.3k="76";3p=e.74;3o=e.71;6(a=="3g")e.P.S.3k="3g";e.P.3e(e)}});F p=="1u"?3p:3o}F C.34(e,p)},34:9(h,d,g){E i,1R=[],1V=[];9 2E(a){6(!C.N.1H)F M;E b=R.2L.3b(a,K);F!b||b.44("2E")==""}6(d=="1e"&&C.N.12){i=C.1j(h.S,"1e");F i==""?"1":i}6(d.2k(/3a/i))d=x;6(!g&&h.S[d])i=h.S[d];G 6(R.2L&&R.2L.3b){6(d.2k(/3a/i))d="3a";d=d.1v(/([A-Z])/g,"-$1").2D();E e=R.2L.3b(h,K);6(e&&!2E(h))i=e.44(d);G{I(E a=h;a&&2E(a);a=a.P)1R.42(a);I(a=0;a<1R.H;a++)6(2E(1R[a])){1V[a]=1R[a].S.11;1R[a].S.11="2m"}i=d=="11"&&1V[1R.H-1]!=K?"1T":R.2L.3b(h,K).44(d)||"";I(a=0;a<1V.H;a++)6(1V[a]!=K)1R[a].S.11=1V[a]}6(d=="1e"&&i=="")i="1"}G 6(h.41){E f=d.1v(/\\-(\\w)/g,9(m,c){F c.1I()});i=h.41[d]||h.41[f]}F i},3c:9(a,c){E r=[];c=c||R;C.J(a,9(i,b){6(!b)F;6(b.1b==3x)b=b.3s();6(1f b=="1E"){E s=C.2s(b).2D(),1m=c.6a("1m"),1P=[];E a=!s.U("<1Z")&&[1,"<2b>",""]||!s.U("<6L")&&[1,"<4V>",""]||s.2k(/^<(6I|1w|6H|6F|6D)/)&&[1,"<1A>",""]||!s.U("<3O")&&[2,"<1A><1w>",""]||(!s.U("<6A")||!s.U("<6y"))&&[3,"<1A><1w><3O>",""]||!s.U("<6x")&&[2,"<1A><1w><4T>",""]||C.N.12&&[1,"1m<1m>",""]||[0,"",""];1m.2W=a[1]+b+a[2];20(a[0]--)1m=1m.3Y;6(C.N.12){6(!s.U("<1A")&&s.U("<1w")<0)1P=1m.1k&&1m.1k.2Z;G 6(a[1]=="<1A>"&&s.U("<1w")<0)1P=1m.2Z;I(E n=1P.H-1;n>=0;--n)6(C.W(1P[n],"1w")&&!1P[n].2Z.H)1P[n].P.3e(1P[n]);6(/^\\s/.1d(b))1m.2p(c.60(b.2k(/^\\s*/)[0]),1m.1k)}b=C.2V(1m.2Z)}6(0===b.H&&(!C.W(b,"38")&&!C.W(b,"2b")))F;6(b[0]==Q||C.W(b,"38")||b.6u)r.Y(b);G r=C.29(r,b)});F r},1j:9(c,d,a){E e=C.3E(c)?{}:C.4q;6(d=="28"&&C.N.1H)c.P.3j;6(e[d]){6(a!=Q)c[e[d]]=a;F c[e[d]]}G 6(C.N.12&&d=="S")F C.1j(c.S,"6p",a);G 6(a==Q&&C.N.12&&C.W(c,"38")&&(d=="6n"||d=="6m"))F c.6k(d).5S;G 6(c.4y){6(a!=Q)c.6j(d,a);6(C.N.12&&/5R|32/.1d(d)&&!C.3E(c))F c.3F(d,2);F c.3F(d)}G{6(d=="1e"&&C.N.12){6(a!=Q){c.5y=1;c.1l=(c.1l||"").1v(/5T\\([^)]*\\)/,"")+(3m(a).3s()=="6d"?"":"5T(1e="+a*6c+")")}F c.1l?(3m(c.1l.2k(/1e=([^)]*)/)[1])/6c).3s():""}d=d.1v(/-([a-z])/8I,9(z,b){F b.1I()});6(a!=Q)c[d]=a;F c[d]}},2s:9(t){F(t||"").1v(/^\\s+|\\s+$/g,"")},2V:9(a){E r=[];6(1f a!="8H")I(E i=0,1M=a.H;i<1M;i++)r.Y(a[i]);G r=a.3S(0);F r},4K:9(b,a){I(E i=0,1M=a.H;i<1M;i++)6(a[i]==b)F i;F-1},29:9(a,b){6(C.N.12){I(E i=0;b[i];i++)6(b[i].1t!=8)a.Y(b[i])}G I(E i=0;b[i];i++)a.Y(b[i]);F a},4d:9(a){E r=[],4O=C.1q++;2g{I(E i=0,69=a.H;i<69;i++)6(4O!=a[i].1q){a[i].1q=4O;r.Y(a[i])}}2h(e){r=a}F r},1q:0,2B:9(b,a,c){6(1f a=="1E")a=2T("M||9(a,i){F "+a+"}");E d=[];I(E i=0,3P=b.H;i<3P;i++)6(!c&&a(b[i],i)||c&&!a(b[i],i))d.Y(b[i]);F d},3M:9(c,b){6(1f b=="1E")b=2T("M||9(a){F "+b+"}");E d=[];I(E i=0,3P=c.H;i<3P;i++){E a=b(c[i],i);6(a!==K&&a!=Q){6(a.1b!=1K)a=[a];d=d.8x(a)}}F d}});E u=8w.8u.2D();C.N={6b:(u.2k(/.+(?:8s|8q|8p|8o)[\\/: ]([\\d.]+)/)||[])[1],1H:/61/.1d(u),2t:/2t/.1d(u),12:/12/.1d(u)&&!/2t/.1d(u),3J:/3J/.1d(u)&&!/(8n|61)/.1d(u)};E x=C.N.12?"3I":"4G";C.14({8m:!C.N.12||R.8l=="8k",3I:C.N.12?"3I":"4G",4q:{"I":"8j","8i":"18","3a":x,4G:x,3I:x,2W:"2W",18:"18",2A:"2A",30:"30",27:"27",8h:"8g",28:"28",8f:"8e"}});C.J({5Y:"a.P",4C:"16.4C(a)",8c:"16.25(a,2,\'2a\')",8b:"16.25(a,2,\'4B\')",88:"16.4A(a.P.1k,a)",87:"16.4A(a.1k)"},9(i,n){C.15[i]=9(a){E b=C.3M(7,n);6(a&&1f a=="1E")b=C.2R(a,b);F 7.1O(C.4d(b))}});C.J({57:"3H",86:"5v",2p:"5u",85:"5t"},9(i,n){C.15[i]=9(){E a=1a;F 7.J(9(){I(E j=0,1M=a.H;j<1M;j++)C(a[j])[n](7)})}});C.J({5d:9(a){C.1j(7,a,"");7.84(a)},83:9(c){C.18.1r(7,c)},81:9(c){C.18.23(7,c)},80:9(c){C.18[C.18.2N(7,c)?"23":"1r"](7,c)},23:9(a){6(!a||C.1l(a,[7]).r.H)7.P.3e(7)},3K:9(){20(7.1k)7.3e(7.1k)}},9(i,n){C.15[i]=9(){F 7.J(n,1a)}});C.J(["5Q","5P","5M","5L"],9(i,n){C.15[n]=9(a,b){F 7.1l(":"+n+"("+a+")",b)}});C.J(["1u","24"],9(i,n){C.15[n]=9(h){F h==Q?(7.H?C.1h(7[0],n):K):7.1h(n,h.1b==3n?h:h+"4t")}});E A=C.N.1H&&5K(C.N.6b)<7Z?"(?:[\\\\w*2l-]|\\\\\\\\.)":"(?:[\\\\w\\7Y-\\7V*2l-]|\\\\\\\\.)",5I=1s 3C("^[/>]\\\\s*("+A+"+)"),5H=1s 3C("^("+A+"+)(#)("+A+"+)"),5G=1s 3C("^([#.]?)("+A+"*)");C.14({4w:{"":"m[2]==\'*\'||16.W(a,m[2])","#":"a.3F(\'2j\')==m[2]",":":{5P:"im[3]-0",25:"m[3]-0==i",5Q:"m[3]-0==i",2H:"i==0",2P:"i==r.H-1",5E:"i%2==0",5D:"i%2","2H-3z":"a.P.4L(\'*\')[0]==a","2P-3z":"16.25(a.P.3Y,1,\'4B\')==a","7U-3z":"!16.25(a.P.3Y,2,\'4B\')",5Y:"a.1k",3K:"!a.1k",5L:"(a.5Z||a.7T||\'\').U(m[3])>=0",4N:\'"1C"!=a.L&&16.1h(a,"11")!="1T"&&16.1h(a,"3V")!="1C"\',1C:\'"1C"==a.L||16.1h(a,"11")=="1T"||16.1h(a,"3V")=="1C"\',7R:"!a.30",30:"a.30",27:"a.27",28:"a.28||16.1j(a,\'28\')",2Q:"\'2Q\'==a.L",4e:"\'4e\'==a.L",3i:"\'3i\'==a.L",4v:"\'4v\'==a.L",5C:"\'5C\'==a.L",4u:"\'4u\'==a.L",5B:"\'5B\'==a.L",5A:"\'5A\'==a.L",1X:\'"1X"==a.L||16.W(a,"1X")\',39:"/39|2b|7P|1X/i.1d(a.W)",2N:"16.1F(m[3],a).H"},"[":"16.1F(m[2],a).H"},5x:[/^\\[ *(@)([\\w-]+) *([!*$^~=]*) *(\'?"?)(.*?)\\4 *\\]/,/^(\\[)\\s*(.*?(\\[.*?\\])?[^[]*?)\\s*\\]/,/^(:)([\\w-]+)\\("?\'?(.*?(\\(.*?\\))?[^(]*?)"?\'?\\)/,1s 3C("^([:.#]*)("+A+"+)")],2R:9(a,c,b){E d,1Y=[];20(a&&a!=d){d=a;E f=C.1l(a,c,b);a=f.t.1v(/^\\s*,\\s*/,"");1Y=b?c=f.r:C.29(1Y,f.r)}F 1Y},1F:9(t,l){6(1f t!="1E")F[t];6(l&&!l.1t)l=K;l=l||R;6(!t.U("//")){t=t.2K(2,t.H)}G 6(!t.U("/")&&!l.2I){l=l.3D;t=t.2K(1,t.H);6(t.U("/")>=1)t=t.2K(t.U("/"),t.H)}E d=[l],2q=[],2P;20(t&&2P!=t){E r=[];2P=t;t=C.2s(t).1v(/^\\/\\//,"");E k=M;E g=5I;E m=g.2d(t);6(m){E o=m[1].1I();I(E i=0;d[i];i++)I(E c=d[i].1k;c;c=c.2a)6(c.1t==1&&(o=="*"||c.W.1I()==o.1I()))r.Y(c);d=r;t=t.1v(g,"");6(t.U(" ")==0)5X;k=O}G{g=/^((\\/?\\.\\.)|([>\\/+~]))\\s*(\\w*)/i;6((m=g.2d(t))!=K){r=[];E o=m[4],1q=C.1q++;m=m[1];I(E j=0,2o=d.H;j<2o;j++)6(m.U("..")<0){E n=m=="~"||m=="+"?d[j].2a:d[j].1k;I(;n;n=n.2a)6(n.1t==1){6(m=="~"&&n.1q==1q)1J;6(!o||n.W.1I()==o.1I()){6(m=="~")n.1q=1q;r.Y(n)}6(m=="+")1J}}G r.Y(d[j].P);d=r;t=C.2s(t.1v(g,""));k=O}}6(t&&!k){6(!t.U(",")){6(l==d[0])d.4s();2q=C.29(2q,d);r=d=[l];t=" "+t.2K(1,t.H)}G{E h=5H;E m=h.2d(t);6(m){m=[0,m[2],m[3],m[1]]}G{h=5G;m=h.2d(t)}m[2]=m[2].1v(/\\\\/g,"");E f=d[d.H-1];6(m[1]=="#"&&f&&f.37&&!C.3E(f)){E p=f.37(m[2]);6((C.N.12||C.N.2t)&&p&&1f p.2j=="1E"&&p.2j!=m[2])p=C(\'[@2j="\'+m[2]+\'"]\',f)[0];d=r=p&&(!m[3]||C.W(p,m[3]))?[p]:[]}G{I(E i=0;d[i];i++){E a=m[1]!=""||m[0]==""?"*":m[2];6(a=="*"&&d[i].W.2D()=="4P")a="2O";r=C.29(r,d[i].4L(a))}6(m[1]==".")r=C.4r(r,m[2]);6(m[1]=="#"){E e=[];I(E i=0;r[i];i++)6(r[i].3F("2j")==m[2]){e=[r[i]];1J}r=e}d=r}t=t.1v(h,"")}}6(t){E b=C.1l(t,r);d=r=b.r;t=C.2s(b.t)}}6(t)d=[];6(d&&l==d[0])d.4s();2q=C.29(2q,d);F 2q},4r:9(r,m,a){m=" "+m+" ";E c=[];I(E i=0;r[i];i++){E b=(" "+r[i].18+" ").U(m)>=0;6(!a&&b||a&&!b)c.Y(r[i])}F c},1l:9(t,r,h){E d;20(t&&t!=d){d=t;E p=C.5x,m;I(E i=0;p[i];i++){m=p[i].2d(t);6(m){t=t.7N(m[0].H);m[2]=m[2].1v(/\\\\/g,"");1J}}6(!m)1J;6(m[1]==":"&&m[2]=="5l")r=C.1l(m[3],r,O).r;G 6(m[1]==".")r=C.4r(r,m[2],h);G 6(m[1]=="@"){E g=[],L=m[3];I(E i=0,2o=r.H;i<2o;i++){E a=r[i],z=a[C.4q[m[2]]||m[2]];6(z==K||/5R|32|28/.1d(m[2]))z=C.1j(a,m[2])||\'\';6((L==""&&!!z||L=="="&&z==m[5]||L=="!="&&z!=m[5]||L=="^="&&z&&!z.U(m[5])||L=="$="&&z.2K(z.H-m[5].H)==m[5]||(L=="*="||L=="~=")&&z.U(m[5])>=0)^h)g.Y(a)}r=g}G 6(m[1]==":"&&m[2]=="25-3z"){E e=C.1q++,g=[],1d=/(\\d*)n\\+?(\\d*)/.2d(m[3]=="5E"&&"2n"||m[3]=="5D"&&"2n+1"||!/\\D/.1d(m[3])&&"n+"+m[3]||m[3]),2H=(1d[1]||1)-0,d=1d[2]-0;I(E i=0,2o=r.H;i<2o;i++){E j=r[i],P=j.P;6(e!=P.1q){E c=1;I(E n=P.1k;n;n=n.2a)6(n.1t==1)n.4o=c++;P.1q=e}E b=M;6(2H==1){6(d==0||j.4o==d)b=O}G 6((j.4o+d)%2H==0)b=O;6(b^h)g.Y(j)}r=g}G{E f=C.4w[m[1]];6(1f f!="1E")f=C.4w[m[1]][m[2]];f=2T("M||9(a,i){F "+f+"}");r=C.2B(r,f,h)}}F{r:r,t:t}},4C:9(c){E b=[];E a=c.P;20(a&&a!=R){b.Y(a);a=a.P}F b},25:9(a,e,c,b){e=e||1;E d=0;I(;a;a=a[c])6(a.1t==1&&++d==e)1J;F a},4A:9(n,a){E r=[];I(;n;n=n.2a){6(n.1t==1&&(!a||n!=a))r.Y(n)}F r}});C.1c={1r:9(f,d,c,b){6(C.N.12&&f.3t!=Q)f=19;6(!c.22)c.22=7.22++;6(b!=Q){E e=c;c=9(){F e.T(7,1a)};c.V=b;c.22=e.22}6(!f.$1i)f.$1i={};6(!f.$1y)f.$1y=9(){E a;6(1f C=="Q"||C.1c.4n)F a;a=C.1c.1y.T(f,1a);F a};E g=f.$1i[d];6(!g){g=f.$1i[d]={};6(f.4m)f.4m(d,f.$1y,M);G f.7M("3r"+d,f.$1y)}g[c.22]=c;7.1D[d]=O},22:1,1D:{},23:9(c,b,a){E d=c.$1i,2c,45;6(d){6(b&&b.L){a=b.4l;b=b.L}6(!b){I(b 17 d)7.23(c,b)}G 6(d[b]){6(a)4k d[b][a.22];G I(a 17 c.$1i[b])4k d[b][a];I(2c 17 d[b])1J;6(!2c){6(c.4j)c.4j(b,c.$1y,M);G c.7L("3r"+b,c.$1y);2c=K;4k d[b]}}I(2c 17 d)1J;6(!2c)c.$1y=c.$1i=K}},1z:9(c,b,d){b=C.2V(b||[]);6(!d){6(7.1D[c])C("*").1r([19,R]).1z(c,b)}G{E a,2c,15=C.1g(d[c]||K);b.42(7.4i({L:c,1S:d}));6(C.1g(d.$1y))a=d.$1y.T(d,b);6(!15&&d["3r"+c]&&d["3r"+c].T(d,b)===M)a=M;6(15&&a!==M&&!(C.W(d,\'a\')&&c=="4h")){7.4n=O;d[c]()}7.4n=M}},1y:9(b){E a;b=C.1c.4i(b||19.1c||{});E c=7.$1i&&7.$1i[b.L],2e=1K.3v.3S.2S(1a,1);2e.42(b);I(E j 17 c){2e[0].4l=c[j];2e[0].V=c[j].V;6(c[j].T(7,2e)===M){b.2u();b.2X();a=M}}6(C.N.12)b.1S=b.2u=b.2X=b.4l=b.V=K;F a},4i:9(c){E a=c;c=C.14({},a);c.2u=9(){6(a.2u)a.2u();a.7I=M};c.2X=9(){6(a.2X)a.2X();a.7H=O};6(!c.1S&&c.5r)c.1S=c.5r;6(C.N.1H&&c.1S.1t==3)c.1S=a.1S.P;6(!c.4g&&c.4F)c.4g=c.4F==c.1S?c.7C:c.4F;6(c.5p==K&&c.66!=K){E e=R.3D,b=R.4z;c.5p=c.66+(e&&e.5o||b.5o||0);c.7z=c.7v+(e&&e.5m||b.5m||0)}6(!c.3Q&&(c.5k||c.5j))c.3Q=c.5k||c.5j;6(!c.5i&&c.5g)c.5i=c.5g;6(!c.3Q&&c.1X)c.3Q=(c.1X&1?1:(c.1X&2?3:(c.1X&4?2:0)));F c}};C.15.14({3l:9(c,a,b){F c=="5f"?7.5e(c,a,b):7.J(9(){C.1c.1r(7,c,b||a,b&&a)})},5e:9(d,b,c){F 7.J(9(){C.1c.1r(7,d,9(a){C(7).49(a);F(c||b).T(7,1a)},c&&b)})},49:9(a,b){F 7.J(9(){C.1c.23(7,a,b)})},1z:9(a,b){F 7.J(9(){C.1c.1z(a,b,7)})},1W:9(){E a=1a;F 7.4h(9(e){7.3T=0==7.3T?1:0;e.2u();F a[7.3T].T(7,[e])||M})},7p:9(f,g){9 3U(e){E p=e.4g;20(p&&p!=7)2g{p=p.P}2h(e){p=7};6(p==7)F M;F(e.L=="3W"?f:g).T(7,[e])}F 7.3W(3U).5b(3U)},1L:9(f){5a();6(C.36)f.T(R,[C]);G C.2C.Y(9(){F f.T(7,[C])});F 7}});C.14({36:M,2C:[],1L:9(){6(!C.36){C.36=O;6(C.2C){C.J(C.2C,9(){7.T(R)});C.2C=K}6(C.N.3J||C.N.2t)R.4j("59",C.1L,M);6(!19.7m.H)C(19).2f(9(){C("#4b").23()})}}});C.J(("7l,7k,2f,7j,7i,5f,4h,7g,"+"7f,7d,7c,3W,5b,7b,2b,"+"4u,7a,79,78,3f").2M(","),9(i,o){C.15[o]=9(f){F f?7.3l(o,f):7.1z(o)}});E w=M;9 5a(){6(w)F;w=O;6(C.N.3J||C.N.2t)R.4m("59",C.1L,M);G 6(C.N.12){R.75("<73"+"72 2j=4b 70=O "+"32=//:><\\/33>");E a=R.37("4b");6(a)a.6Z=9(){6(R.3d!="1x")F;C.1L()};a=K}G 6(C.N.1H)C.48=3t(9(){6(R.3d=="6Y"||R.3d=="1x"){47(C.48);C.48=K;C.1L()}},10);C.1c.1r(19,"2f",C.1L)}C.15.14({6X:9(c,b,a){7.2f(c,b,a,1)},2f:9(g,e,c,d){6(C.1g(g))F 7.3l("2f",g);c=c||9(){};E f="46";6(e)6(C.1g(e)){c=e;e=K}G{e=C.2O(e);f="55"}E h=7;C.31({1G:g,L:f,V:e,2F:d,1x:9(a,b){6(b=="1U"||!d&&b=="54")h.5W(a.43);4x(9(){h.J(c,[a.43,b,a])},13)}});F 7},6W:9(){F C.2O(7)},6V:9(){}});C.J("53,52,51,50,4Z,5h".2M(","),9(i,o){C.15[o]=9(f){F 7.3l(o,f)}});C.14({21:9(e,c,a,d,b){6(C.1g(c)){a=c;c=K}F C.31({L:"46",1G:e,V:c,1U:a,3G:d,2F:b})},6U:9(d,b,a,c){F C.21(d,b,a,c,1)},6T:9(b,a){F C.21(b,K,a,"33")},77:9(c,b,a){F C.21(c,b,a,"56")},6S:9(d,b,a,c){6(C.1g(b)){a=b;b={}}F C.31({L:"55",1G:d,V:b,1U:a,3G:c})},6R:9(a){C.3u.1Q=a},6Q:9(a){C.14(C.3u,a)},3u:{1D:O,L:"46",1Q:0,4Y:"6P/x-6O-38-6N",4X:O,2w:O,V:K},3h:{},31:9(s){s=C.14(O,s,C.14(O,{},C.3u,s));6(s.V){6(s.4X&&1f s.V!="1E")s.V=C.2O(s.V);6(s.L.2D()=="21"){s.1G+=(s.1G.U("?")>-1?"&":"?")+s.V;s.V=K}}6(s.1D&&!C.40++)C.1c.1z("53");E f=M;E h=19.4W?1s 4W("6M.6K"):1s 58();h.6J(s.L,s.1G,s.2w);6(s.V)h.4c("7r-7s",s.4Y);6(s.2F)h.4c("6G-3Z-6E",C.3h[s.1G]||"7w, 6C 7y 6B 4J:4J:4J 6z");h.4c("X-7D-7E","58");6(s.4U)s.4U(h);6(s.1D)C.1c.1z("5h",[h,s]);E g=9(d){6(!f&&h&&(h.3d==4||d=="1Q")){f=O;6(i){47(i);i=K}E c=d=="1Q"&&"1Q"||!C.5n(h)&&"3f"||s.2F&&C.5s(h,s.1G)&&"54"||"1U";6(c=="1U"){2g{E a=C.5q(h,s.3G)}2h(e){c="4I"}}6(c=="1U"){E b;2g{b=h.4f("4S-3Z")}2h(e){}6(s.2F&&b)C.3h[s.1G]=b;6(s.1U)s.1U(a,c);6(s.1D)C.1c.1z("4Z",[h,s])}G C.3X(s,h,c);6(s.1D)C.1c.1z("51",[h,s]);6(s.1D&&!--C.40)C.1c.1z("52");6(s.1x)s.1x(h,c);6(s.2w)h=K}};6(s.2w){E i=3t(g,13);6(s.1Q>0)4x(9(){6(h){h.6w();6(!f)g("1Q")}},s.1Q)}2g{h.6v(s.V)}2h(e){C.3X(s,h,K,e)}6(!s.2w)g();F h},3X:9(s,a,b,e){6(s.3f)s.3f(a,b,e);6(s.1D)C.1c.1z("50",[a,s,e])},40:0,5n:9(r){2g{F!r.26&&6t.6r=="4v:"||(r.26>=4R&&r.26<6q)||r.26==5z||C.N.1H&&r.26==Q}2h(e){}F M},5s:9(a,c){2g{E b=a.4f("4S-3Z");F a.26==5z||b==C.3h[c]||C.N.1H&&a.26==Q}2h(e){}F M},5q:9(r,a){E b=r.4f("6o-L");E c=a=="5F"||!a&&b&&b.U("5F")>=0;V=c?r.7W:r.43;6(c&&V.3D.4y=="4I")7X"4I";6(a=="33")C.4E(V);6(a=="56")V=2T("("+V+")");F V},2O:9(a){E s=[];6(a.1b==1K||a.3w)C.J(a,9(){s.Y(2y(7.6l)+"="+2y(7.2A))});G I(E j 17 a)6(a[j]&&a[j].1b==1K)C.J(a[j],9(){s.Y(2y(j)+"="+2y(7))});G s.Y(2y(j)+"="+2y(a[j]));F s.5w("&")}});C.15.14({1o:9(b,a){F b?7.1B({1u:"1o",24:"1o",1e:"1o"},b,a):7.1l(":1C").J(9(){7.S.11=7.2r?7.2r:"";6(C.1h(7,"11")=="1T")7.S.11="2m"}).3L()},1p:9(b,a){F b?7.1B({1u:"1p",24:"1p",1e:"1p"},b,a):7.1l(":4N").J(9(){7.2r=7.2r||C.1h(7,"11");6(7.2r=="1T")7.2r="2m";7.S.11="1T"}).3L()},5O:C.15.1W,1W:9(a,b){F C.1g(a)&&C.1g(b)?7.5O(a,b):a?7.1B({1u:"1W",24:"1W",1e:"1W"},a,b):7.J(9(){C(7)[C(7).3y(":1C")?"1o":"1p"]()})},6i:9(b,a){F 7.1B({1u:"1o"},b,a)},6h:9(b,a){F 7.1B({1u:"1p"},b,a)},6g:9(b,a){F 7.1B({1u:"1W"},b,a)},6f:9(b,a){F 7.1B({1e:"1o"},b,a)},89:9(b,a){F 7.1B({1e:"1p"},b,a)},6e:9(c,a,b){F 7.1B({1e:a},c,b)},1B:9(d,h,f,g){F 7.1n(9(){E c=C(7).3y(":1C"),1Z=C.5V(h,f,g),5U=7;I(E p 17 d){6(d[p]=="1p"&&c||d[p]=="1o"&&!c)F C.1g(1Z.1x)&&1Z.1x.T(7);6(p=="1u"||p=="24"){1Z.11=C.1h(7,"11");1Z.2z=7.S.2z}}6(1Z.2z!=K)7.S.2z="1C";7.2v=C.14({},d);C.J(d,9(a,b){E e=1s C.2Y(5U,1Z,a);6(b.1b==3x)e.3R(e.1Y()||0,b);G e[b=="1W"?c?"1o":"1p":b](d)});F O})},1n:9(a,b){6(!b){b=a;a="2Y"}F 7.J(9(){6(!7.1n)7.1n={};6(!7.1n[a])7.1n[a]=[];7.1n[a].Y(b);6(7.1n[a].H==1)b.T(7)})}});C.14({5V:9(b,a,c){E d=b&&b.1b==8G?b:{1x:c||!c&&a||C.1g(b)&&b,1N:b,35:c&&a||a&&a.1b!=8F&&a};d.1N=(d.1N&&d.1N.1b==3x?d.1N:{8D:8C,8B:4R}[d.1N])||8A;d.2U=d.1x;d.1x=9(){C.68(7,"2Y");6(C.1g(d.2U))d.2U.T(7)};F d},35:{62:9(p,n,b,a){F b+a*p},4H:9(p,n,b,a){F((-67.8z(p*67.8y)/2)+0.5)*a+b}},1n:{},68:9(b,a){a=a||"2Y";6(b.1n&&b.1n[a]){b.1n[a].4s();E f=b.1n[a][0];6(f)f.T(b)}},3N:[],2Y:9(f,e,g){E z=7;E y=f.S;z.a=9(){6(e.3q)e.3q.T(f,[z.2x]);6(g=="1e")C.1j(y,"1e",z.2x);G{y[g]=5K(z.2x)+"4t";6(g=="1u"||g=="24")y.11="2m"}};z.65=9(){F 3m(C.1h(f,g))};z.1Y=9(){E r=3m(C.34(f,g));F r&&r>-8v?r:z.65()};z.3R=9(c,b){z.4M=(1s 64()).63();z.2x=c;z.a();C.3N.Y(9(){F z.3q(c,b)});6(C.3N.H==1){E d=3t(9(){E a=C.3N;I(E i=0;ie.1N+z.4M){z.2x=c;z.a();6(f.2v)f.2v[g]=O;E b=O;I(E i 17 f.2v)6(f.2v[i]!==O)b=M;6(b){6(e.11!=K){y.2z=e.2z;y.11=e.11;6(C.1h(f,"11")=="1T")y.11="2m"}6(e.1p)y.11="1T";6(e.1p||e.1o)I(E p 17 f.2v)C.1j(y,p,f.2i[p])}6(b&&C.1g(e.1x))e.1x.T(f);F M}G{E n=t-7.4M;E p=n/e.1N;z.2x=C.35[e.35||(C.35.4H?"4H":"62")](p,n,a,(c-a),e.1N);z.a()}F O}}})})();',62,541,'||||||if|this||function|||||||||||||||||||||||||||||||var|return|else|length|for|each|null|type|false|browser|true|parentNode|undefined|document|style|apply|indexOf|data|nodeName||push|||display|msie||extend|fn|jQuery|in|className|window|arguments|constructor|event|test|opacity|typeof|isFunction|css|events|attr|firstChild|filter|div|queue|show|hide|mergeNum|add|new|nodeType|height|replace|tbody|complete|handle|trigger|table|animate|hidden|global|string|find|url|safari|toUpperCase|break|Array|ready|al|duration|pushStack|tb|timeout|stack|target|none|success|swap|toggle|button|cur|opt|while|get|guid|remove|width|nth|status|checked|selected|merge|nextSibling|select|ret|exec|args|load|try|catch|orig|id|match|_|block||rl|insertBefore|done|oldblock|trim|opera|preventDefault|curAnim|async|now|encodeURIComponent|overflow|value|grep|readyList|toLowerCase|color|ifModified|val|first|ownerDocument|domManip|substr|defaultView|split|has|param|last|text|multiFilter|call|eval|old|makeArray|innerHTML|stopPropagation|fx|childNodes|disabled|ajax|src|script|curCSS|easing|isReady|getElementById|form|input|float|getComputedStyle|clean|readyState|removeChild|error|static|lastModified|checkbox|selectedIndex|position|bind|parseFloat|String|oWidth|oHeight|step|on|toString|setInterval|ajaxSettings|prototype|jquery|Number|is|child|ol|cloneNode|RegExp|documentElement|isXMLDoc|getAttribute|dataType|append|styleFloat|mozilla|empty|end|map|timers|tr|el|which|custom|slice|lastToggle|handleHover|visibility|mouseover|handleError|lastChild|Modified|active|currentStyle|unshift|responseText|getPropertyValue|index|GET|clearInterval|safariTimer|unbind|init|__ie_init|setRequestHeader|unique|radio|getResponseHeader|relatedTarget|click|fix|removeEventListener|delete|handler|addEventListener|triggered|nodeIndex|appendChild|props|classFilter|shift|px|submit|file|expr|setTimeout|tagName|body|sibling|previousSibling|parents|deep|globalEval|fromElement|cssFloat|swing|parsererror|00|inArray|getElementsByTagName|startTime|visible|num|object|prop|200|Last|colgroup|beforeSend|fieldset|ActiveXObject|processData|contentType|ajaxSuccess|ajaxError|ajaxComplete|ajaxStop|ajaxStart|notmodified|POST|json|appendTo|XMLHttpRequest|DOMContentLoaded|bindReady|mouseout|prevObject|removeAttr|one|unload|ctrlKey|ajaxSend|metaKey|keyCode|charCode|not|scrollTop|httpSuccess|scrollLeft|pageX|httpData|srcElement|httpNotModified|after|before|prepend|join|parse|zoom|304|reset|image|password|odd|even|xml|quickClass|quickID|quickChild|setArray|parseInt|contains|gt|execScript|_toggle|lt|eq|href|nodeValue|alpha|self|speed|html|continue|parent|textContent|createTextNode|webkit|linear|getTime|Date|max|clientX|Math|dequeue|fl|createElement|version|100|NaN|fadeTo|fadeIn|slideToggle|slideUp|slideDown|setAttribute|getAttributeNode|name|method|action|content|cssText|300|protocol|FORM|location|options|send|abort|col|th|GMT|td|1970|01|cap|Since|colg|If|tfoot|thead|open|XMLHTTP|leg|Microsoft|urlencoded|www|application|ajaxSetup|ajaxTimeout|post|getScript|getIfModified|evalScripts|serialize|loadIfModified|loaded|onreadystatechange|defer|clientWidth|ipt|scr|clientHeight|write|relative|getJSON|keyup|keypress|keydown|change|mousemove|mouseup|left|mousedown|dblclick|right|scroll|resize|focus|blur|frames|absolute|clone|hover|offsetWidth|Content|Type|offsetHeight|Width|clientY|Thu|border|Jan|pageY|padding|Left|toElement|Requested|With|Right|Bottom|cancelBubble|returnValue|Top|size|detachEvent|attachEvent|substring|line|textarea|weight|enabled|font|innerText|only|uFFFF|responseXML|throw|u0128|417|toggleClass|removeClass|wrap|addClass|removeAttribute|insertAfter|prependTo|children|siblings|fadeOut|noConflict|prev|next|Boolean|maxLength|maxlength|readOnly|readonly|class|htmlFor|CSS1Compat|compatMode|boxModel|compatible|ie|ra|it|1px|rv|splice|userAgent|10000|navigator|concat|PI|cos|400|fast|600|slow|reverse|Function|Object|array|ig'.split('|'),0,{})) \ No newline at end of file Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.1.4.pack.js ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.2.1.min.js =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.2.1.min.js 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.2.1.min.js 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,31 @@ +/* + * jQuery 1.2.1 - New Wave Javascript + * + * Copyright (c) 2007 John Resig (jquery.com) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * $Date: 2007-09-16 23:42:06 -0400 (Sun, 16 Sep 2007) $ + * $Rev: 3353 $ + */ +(function(){if(typeof jQuery!="undefined")var _jQuery=jQuery;var jQuery=window.jQuery=function(selector,context){return this instanceof jQuery?this.init(selector,context):new jQuery(selector,context);};if(typeof $!="undefined")var _$=$;window.$=jQuery;var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(typeof selector=="string"){var m=quickExpr.exec(selector);if(m&&(m[1]||!context)){if(m[1])selector=jQuery.clean([m[1]],context);else{var tmp=document.getElementById(m[3]);if(tmp)if(tmp.id!=m[3])return jQuery().find(selector);else{this[0]=tmp;this.length=1;return this;}else +selector=[];}}else +return new jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return new jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(selector.constructor==Array&&selector||(selector.jquery||selector.length&&selector!=window&&!selector.nodeType&&selector[0]!=undefined&&selector[0].nodeType)&&jQuery.makeArray(selector)||[selector]);},jquery:"1.2.1",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(a){var ret=jQuery(a);ret.prevObject=this;return ret;},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this;},each:function(fn,args){return jQuery.each(this,fn,args);},index:function(obj){var pos=-1;this.each(function(i){if(this==obj)pos=i;});return pos;},attr:function(key,value,type){var obj=key;if(key.constructor==String)if(value==undefined)return this.length&&jQuery[type||"attr"](this[0],key)||undefined;else{obj={};obj[key]=value;}return this.each(function(index){for(var prop in obj)jQuery.attr(type?this.style:this,prop,jQuery.prop(this,obj[prop],type,index,prop));});},css:function(key,value){return this.attr(key,value,"curCSS");},text:function(e){if(typeof e!="object"&&e!=null)return this.empty().append(document.createTextNode(e));var t="";jQuery.each(e||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)t+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return t;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,1,function(a){this.appendChild(a);});},prepend:function(){return this.domManip(arguments,true,-1,function(a){this.insertBefore(a,this.firstChild);});},before:function(){return this.domManip(arguments,false,1,function(a){this.parentNode.insertBefore(a,this);});},after:function(){return this.domManip(arguments,false,-1,function(a){this.parentNode.insertBefore(a,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(t){var data=jQuery.map(this,function(a){return jQuery.find(t,a);});return this.pushStack(/[^+>] [^+>]/.test(t)||t.indexOf("..")>-1?jQuery.unique(data):data);},clone:function(events){var ret=this.map(function(){return this.outerHTML?jQuery(this.outerHTML)[0]:this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(t){return this.pushStack(jQuery.isFunction(t)&&jQuery.grep(this,function(el,index){return t.apply(el,[index]);})||jQuery.multiFilter(t,this));},not:function(t){return this.pushStack(t.constructor==String&&jQuery.multiFilter(t,this,true)||jQuery.grep(this,function(a){return(t.constructor==Array||t.jquery)?jQuery.inArray(a,t)<0:a!=t;}));},add:function(t){return this.pushStack(jQuery.merge(this.get(),t.constructor==String?jQuery(t).get():t.length!=undefined&&(!t.nodeName||jQuery.nodeName(t,"form"))?t:[t]));},is:function(expr){return expr?jQuery.multiFilter(expr,this).length>0:false;},hasClass:function(expr){return this.is("."+expr);},val:function(val){if(val==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,a=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i=0||jQuery.inArray(this.name,val)>=0);else if(jQuery.nodeName(this,"select")){var tmp=val.constructor==Array?val:[val];jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,tmp)>=0||jQuery.inArray(this.text,tmp)>=0);});if(!tmp.length)this.selectedIndex=-1;}else +this.value=val;});},html:function(val){return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);},replaceWith:function(val){return this.after(val).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(fn){return this.pushStack(jQuery.map(this,function(elem,i){return fn.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(args,table,dir,fn){var clone=this.length>1,a;return this.each(function(){if(!a){a=jQuery.clean(args,this.ownerDocument);if(dir<0)a.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(a[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));jQuery.each(a,function(){var elem=clone?this.cloneNode(true):this;if(!evalScript(0,elem))fn.call(obj,elem);});});}};function evalScript(i,elem){var script=jQuery.nodeName(elem,"script");if(script){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else +jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}else if(elem.nodeType==1)jQuery("script",elem).each(evalScript);return script;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},a=1,al=arguments.length,deep=false;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};}if(al==1){target=this;a=0;}var prop;for(;a-1;}},swap:function(e,o,f){for(var i in o){e.style["old"+i]=e.style[i];e.style[i]=o[i];}f.apply(e,[]);for(var i in o)e.style[i]=e.style["old"+i];},css:function(e,p){if(p=="height"||p=="width"){var old={},oHeight,oWidth,d=["Top","Bottom","Right","Left"];jQuery.each(d,function(){old["padding"+this]=0;old["border"+this+"Width"]=0;});jQuery.swap(e,old,function(){if(jQuery(e).is(':visible')){oHeight=e.offsetHeight;oWidth=e.offsetWidth;}else{e=jQuery(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];var parPos=jQuery.css(e.parentNode,"position")||"static";if(parPos=="static")e.parentNode.style.position="relative";oHeight=e.clientHeight;oWidth=e.clientWidth;if(parPos=="static")e.parentNode.style.position="static";e.parentNode.removeChild(e);}});return p=="height"?oHeight:oWidth;}return jQuery.curCSS(e,p);},curCSS:function(elem,prop,force){var ret,stack=[],swap=[];function color(a){if(!jQuery.browser.safari)return false;var ret=document.defaultView.getComputedStyle(a,null);return!ret||ret.getPropertyValue("color")=="";}if(prop=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(elem.style,"opacity");return ret==""?"1":ret;}if(prop.match(/float/i))prop=styleFloat;if(!force&&elem.style[prop])ret=elem.style[prop];else if(document.defaultView&&document.defaultView.getComputedStyle){if(prop.match(/float/i))prop="float";prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase();var cur=document.defaultView.getComputedStyle(elem,null);if(cur&&!color(elem))ret=cur.getPropertyValue(prop);else{for(var a=elem;a&&color(a);a=a.parentNode)stack.unshift(a);for(a=0;a]*?)\/>/g,function(m,all,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i)?m:all+">";});var s=jQuery.trim(arg).toLowerCase(),div=doc.createElement("div"),tb=[];var wrap=!s.indexOf("",""]||!s.indexOf("",""]||s.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!s.indexOf("",""]||(!s.indexOf("",""]||!s.indexOf("",""]||jQuery.browser.msie&&[1,"div
","
"]||[0,"",""];div.innerHTML=wrap[1]+arg+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){if(!s.indexOf(""&&s.indexOf("=0;--n)if(jQuery.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length)tb[n].parentNode.removeChild(tb[n]);if(/^\s/.test(arg))div.insertBefore(doc.createTextNode(arg.match(/^\s*/)[0]),div.firstChild);}arg=jQuery.makeArray(div.childNodes);}if(0===arg.length&&(!jQuery.nodeName(arg,"form")&&!jQuery.nodeName(arg,"select")))return;if(arg[0]==undefined||jQuery.nodeName(arg,"form")||arg.options)r.push(arg);else +r=jQuery.merge(r,arg);});return r;},attr:function(elem,name,value){var fix=jQuery.isXMLDoc(elem)?{}:jQuery.props;if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(fix[name]){if(value!=undefined)elem[fix[name]]=value;return elem[fix[name]];}else if(jQuery.browser.msie&&name=="style")return jQuery.attr(elem.style,"cssText",value);else if(value==undefined&&jQuery.browser.msie&&jQuery.nodeName(elem,"form")&&(name=="action"||name=="method"))return elem.getAttributeNode(name).nodeValue;else if(elem.tagName){if(value!=undefined){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem.setAttribute(name,value);}if(jQuery.browser.msie&&/href|src/.test(name)&&!jQuery.isXMLDoc(elem))return elem.getAttribute(name,2);return elem.getAttribute(name);}else{if(name=="opacity"&&jQuery.browser.msie){if(value!=undefined){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(value).toString()=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100).toString():"";}name=name.replace(/-([a-z])/ig,function(z,b){return b.toUpperCase();});if(value!=undefined)elem[name]=value;return elem[name];}},trim:function(t){return(t||"").replace(/^\s+|\s+$/g,"");},makeArray:function(a){var r=[];if(typeof a!="array")for(var i=0,al=a.length;i\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"im[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||jQuery(a).text()||'').indexOf(m[3])>=0",visible:'"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"',hidden:'"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"',enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:'"button"==a.type||jQuery.nodeName(a,"button")',input:"/input|select|textarea|button/i.test(a.nodeName)",has:"jQuery.find(m[3],a).length",header:"/h\\d/i.test(a.nodeName)",animated:"jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&!context.nodeType)context=null;context=context||document;var ret=[context],done=[],last;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false;var re=quickChild;var m=re.exec(t);if(m){var nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName.toUpperCase()))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var nodeName=m[2],merge={};m=m[1];for(var j=0,rl=ret.length;j=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=jQuery.filter(m[3],r,true).r;else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(\d*)n\+?(\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"n+"+m[3]||m[3]),first=(test[1]||1)-0,last=test[2]-0;for(var i=0,rl=r.length;i<\/script>");var script=document.getElementById("__ie_init");if(script)script.onreadystatechange=function(){if(this.readyState!="complete")return;jQuery.ready();};script=null;}else if(jQuery.browser.safari)jQuery.safariTimer=setInterval(function(){if(document.readyState=="loaded"||document.readyState=="complete"){clearInterval(jQuery.safariTimer);jQuery.safariTimer=null;jQuery.ready();}},10);jQuery.event.add(window,"load",jQuery.ready);}jQuery.fn.extend({load:function(url,params,callback){if(jQuery.isFunction(url))return this.bind("load",url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("
").append(res.responseText.replace(//g,"")).find(selector):res.responseText);setTimeout(function(){self.each(callback,[res.responseText,status,res]);},13);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=(new Date).getTime();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(s){var jsonp,jsre=/=(\?|%3F)/g,status,data;s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(s.type.toLowerCase()=="get"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=s.data.replace(jsre,"="+jsonp);s.url=s.url.replace(jsre,"="+jsonp);s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&s.type.toLowerCase()=="get")s.url+=(s.url.match(/\?/)?"&":"?")+"_="+(new Date()).getTime();if(s.data&&s.type.toLowerCase()=="get"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");if(!s.url.indexOf("http")&&s.dataType=="script"){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(!jsonp&&(s.success||s.complete)){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return;}var requestDone=false;var xml=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();xml.open(s.type,s.url,s.async);if(s.data)xml.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xml.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xml.setRequestHeader("X-Requested-With","XMLHttpRequest");if(s.beforeSend)s.beforeSend(xml);if(s.global)jQuery.event.trigger("ajaxSend",[xml,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xml&&(xml.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xml)&&"error"||s.ifModified&&jQuery.httpNotModified(xml,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xml,s.dataType);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xml.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else +jQuery.handleError(s,xml,status);complete();if(s.async)xml=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xml){xml.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xml.send(s.data);}catch(e){jQuery.handleError(s,xml,null,e);}if(!s.async)onreadystatechange();return xml;function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xml,s]);}function complete(){if(s.complete)s.complete(xml,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xml,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}},handleError:function(s,xml,status,e){if(s.error)s.error(xml,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xml,s,e]);},active:0,httpSuccess:function(r){try{return!r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||jQuery.browser.safari&&r.status==undefined;}catch(e){}return false;},httpNotModified:function(xml,url){try{var xmlRes=xml.getResponseHeader("Last-Modified");return xml.status==304||xmlRes==jQuery.lastModified[url]||jQuery.browser.safari&&xml.status==undefined;}catch(e){}return false;},httpData:function(r,type){var ct=r.getResponseHeader("content-type");var xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0;var data=xml?r.responseXML:r.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else +for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else +s.push(encodeURIComponent(j)+"="+encodeURIComponent(a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none")this.style.display="block";}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");if(this.oldblock=="none")this.oldblock="block";this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle(fn,fn2):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var opt=jQuery.speed(speed,easing,callback);return this[opt.queue===false?"each":"queue"](function(){opt=jQuery.extend({},opt);var hidden=jQuery(this).is(":hidden"),self=this;for(var p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return jQuery.isFunction(opt.complete)&&opt.complete.apply(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else +e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.apply(this);}});},stop:function(){var timers=jQuery.timers;return this.each(function(){for(var i=0;i-10000?r:parseFloat(jQuery.css(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=(new Date()).getTime();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(){return self.step();}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timers.length==1){var timer=setInterval(function(){var timers=jQuery.timers;for(var i=0;ithis.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done&&jQuery.isFunction(this.options.complete))this.options.complete.apply(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.fx.step={scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}};jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var absolute=jQuery.css(elem,"position")=="absolute",parent=elem.parentNode,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522;if(elem.getBoundingClientRect){box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));if(msie){var border=jQuery("html").css("borderWidth");border=(border=="medium"||jQuery.boxModel&&parseInt(version)>=7)&&2||border;add(-border,-border);}}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&/^t[d|h]$/i.test(parent.tagName)||!safari2)border(offsetParent);if(safari2&&!absolute&&jQuery.css(offsetParent,"position")=="absolute")absolute=true;offsetParent=offsetParent.offsetParent;}while(parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table-row.*$/i.test(jQuery.css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&jQuery.css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if(safari2&&absolute)add(-doc.body.offsetLeft,-doc.body.offsetTop);}results={top:top,left:left};}return results;function border(elem){add(jQuery.css(elem,"borderLeftWidth"),jQuery.css(elem,"borderTopWidth"));}function add(l,t){left+=parseInt(l)||0;top+=parseInt(t)||0;}};})(); \ No newline at end of file Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/jquery-1.2.1.min.js ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/main.js =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/main.js 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/main.js 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,104 @@ +$(document).ready( + function () { + // New Page + $("#new-page-link").click(function(){ + $("#new-page-dialog").css("display", "block"); + $("#new-page-dialog").after('
'); + $("#dialog-overlay").css("height", document.body.scrollHeight); + }); + $("#cancel-new-page").click(function(){ + $("#new-page-dialog").css("display", "none"); + $("#dialog-overlay").remove(); + }); + // New Folder + $("#new-folder-link").click(function(){ + $("#new-folder-dialog").css("display", "block"); + $("#new-folder-dialog").after('
'); + $("#dialog-overlay").css("height", document.body.scrollHeight); + }); + $("#cancel-new-folder").click(function(){ + $("#new-folder-dialog").css("display", "none"); + $("#dialog-overlay").remove(); + }); + // Add Portlet + $("#add-portlet-link").click(function(){ + $("#add-portlet-dialog").css("display", "block"); + $("#add-portlet-dialog").after('
'); + $("#dialog-overlay").css("height", document.body.scrollHeight); + var url = $("input#ajaxUrl").attr("value") + "?action=getportlets"; + $.get(url, null, function(data){ + var portlets = $(data).find("portlet"); + $("select#portlets-for-add option").remove(); + var options = ""; + for(count = 0; count < portlets.size(); count++) + { + var portlet = portlets.get(count); + options = options + ""; + } + $("select#portlets-for-add").html(options); + }); + }); + $("#cancel-add-portlet").click(function(){ + $("#add-portlet-dialog").css("display", "none"); + $("#dialog-overlay").remove(); + }); + // UI + $('div.portal-layout-column').Sortable( + { + accept: 'portlet', + helperclass: 'sortHelper', + activeclass: 'sortableactive', + hoverclass: 'sortablehover', + handle: 'div.PTitle', + tolerance: 'pointer', + onChange : function(ser) + { + var layouts = $("div.portal-layout-column"); + for(col = 0; col < layouts.size(); col++) + { + var layout = layouts.get(col); + for(changeCol = 0 ; changeCol < ser.length; changeCol++) + { + if(ser[changeCol].id == layout.id) + { + var portlets = $("div.portlet", layout); + var portletIds = new Array(portlets.size()); + var maxRow = portlets.size(); + for(row = 0; row < maxRow; row++) + { + var portlet = portlets.get(row); + portletIds[row] = { + id: portlet.id, + position: ser[changeCol].hash.indexOf(portlet.id) + } + } + portletIds.sort(sortPortletIds); + for(row = 0; row < maxRow; row++) + { + var url = $("input#ajaxUrl").attr("value") + "?action=moveabs&id=" + portletIds[row].id + "&col=" + col + "&row=" + row; + $.get(url); + } + } + } + } + }, + onStart : function() + { + $.iAutoscroller.start(this, document.getElementsByTagName('body')); + }, + onStop : function() + { + $.iAutoscroller.stop(); + } + } + ); + } +); +function sortPortletIds(a, b) { + return a.position - b.position; +} +function closePortlet(fid) { + var url = $("input#ajaxUrl").attr("value") + "?action=remove&id=" + fid; + $.get(url); + $("#" + fid).remove(); +} Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/js/main.js ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/styles.css =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/styles.css 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/styles.css 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,597 @@ +/* +Copyright 2004 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + + + +.default .PTitle +{ + /*background-image:url(../images/title_background.gif);*/ + color:#0080b0; + cursor: move; + margin:2px 7px; + padding:5px 4px 0px 4px; + height:25px; + border: 1px solid #aaaaaa; + vertical-align: middle; +} + +.default .PTitleContent +{ + font-weight:bold; + display: inline; + float: left; + white-space: normal; + color:#444444; +} + +.default .PActionBar +{ + float: right; + display: inline; +} + +.default .PContentBorder +{ + margin:0px 7px; +} + +.default .PContent +{ + clear:both; + margin:0px; + padding:0px; + white-space: normal; + background-color: #ffffff; + font-size: 10pt; + position:static; + overflow:auto; +} + +.default .PContent form { + margin:0px; + padding:0px; +} + +/* font */ +.default .PTitleLeft, +.default .PTitle, +.default .PTitleContent, +.default .PTitleRight, +.default .PContentLeft, +.default .PContent, +.default .PContentRight, +.default .PBottomLeft, +.default .PBottom, +.default .PBottomRight +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + + voice-family: inherit; + font-size: 10pt; +} + + + +/* --------------------------------- */ +/* PLT.C.1 Links (Anchor) */ +/* --------------------------------- */ + +.default A:link, +.default A:visited { + text-decoration: underline; +} + +.default A:hover, +.default A:active { + text-decoration: underline; +} + +/* font */ +.default A:link, +.default A:visited, +.default A:hover, +.default A:active +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + +/* --------------------------------- */ +/* PLT.C.2 Fonts */ +/* --------------------------------- */ + +.default .portlet-font { + color: black; +} +.default .portlet-font-dim { + color: gray; +} + +/* font */ +.default .portlet-font, +.default .portlet-font-dim +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + + +/* --------------------------------- */ +/* PLT.C.3 Messages */ +/* --------------------------------- */ +.default .portlet-msg-status, +.default .portlet-msg-info { + background: url(../images/icon_info_sml.gif); + background-repeat: no-repeat; + padding-left: 20px; + min-height: 15px; +} + +.default .portlet-msg-error { + background: url(../images/icon_error_sml.gif); + background-repeat: no-repeat; + padding-left: 20px; + min-height: 15px; +} + +.default .portlet-msg-alert { + background: url(../images/icon_warning_sml.gif); + background-repeat: no-repeat; + padding-left: 20px; + min-height: 15px; +} + +.default .portlet-msg-success { + background: url(../images/icon_success_sml.gif); + background-repeat: no-repeat; + padding-left: 20px; + min-height: 15px; +} + +/* font */ +.default .portlet-msg-status, +.default .portlet-msg-info, +.default .portlet-msg-error, +.default .portlet-msg-alert, +.default .portlet-msg-success +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + +/* --------------------------------- */ +/* PLT.C.4 Sections */ +/* --------------------------------- */ +.default .portlet-section-header { + background-image:url(../images/header_background.gif); + background-repeat: repeat-x; + background-color:#113377; + color: #fff; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + clear: both; +} + +.default .portlet-section-body { + background: #efefef; + border: none; + padding: 2px 3px; + text-align: left; + vertical-align: top; + text-align: left; +} + +.default .portlet-section-alternate { + background: #ddd; + border: none; + padding: 2px 3px; + text-align: left; + vertical-align: top; + text-align: left; +} + +.default .portlet-section-selected { + /* TODO : ex. change color */ + background: #ffe; + border: none; + padding: 2px 3px; + text-align: left; + vertical-align: top; + text-align: left; + font-weight:bold; +} + +.default .portlet-section-subheader { + background-image:url(../images/subheader_background.gif); + background-repeat: repeat-x; + background-color:#88aacc; + color: #000099; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + clear: both; +} + +.default .portlet-section-footer { + background-image:url(../images/footer_background.gif); + background-repeat: repeat-x; + background-color:#c0e0f0; + background-position: top left; + color: #000099; + padding: 5px; + margin-right: 2px; + margin-left: 2px; + clear: both; +} + +.default .portlet-section-text { + padding: 1em; + padding-bottom: .3em; + padding-left: 1em; +} + +/* font */ +.default .portlet-section-header, +.default .portlet-section-body, +.default .portlet-section-alternate, +.default .portlet-section-selected, +.default .portlet-section-subheader, +.default .portlet-section-footer, +.default .portlet-section-text +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + +/* --------------------------------- */ +/* PLT.C.5 Forms */ +/* --------------------------------- */ +.default .portlet-form-label { +} + +.default .portlet-form-input-field { + background-color:#90d0ff; +} + +.default .portlet-form-button { + background-image:url(../images/button_background.gif); + background-color:#90d0ff; + color:#ffffff; + + font-weight: bold; +} + +.default .portlet-icon-label { +} + +.default .portlet-dlg-icon-label { +} + +.default .portlet-form-field-label { +} + +.default .portlet-form-field { +} + +/* font */ +.default .portlet-form-label, +.default .portlet-form-input-field, +.default .portlet-form-button, +.default .portlet-icon-label, +.default .portlet-dlg-icon-label, +.default .portlet-form-field-label, +.default .portlet-form-field +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + +/* --------------------------------- */ +/* PLT.C.6 Menus */ +/* --------------------------------- */ +.default .portlet-menu { + background: #efefef; + margin-bottom: 6px; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + padding: 4px 4px 4px 0; + padding-bottom: .3em; + padding-left: 1em; +} + +.default .portlet-menu-item { + text-decoration: none; + color: blue; +} + +.default .portlet-menu-item-selected { + text-decoration: none; + color: #555 !important; +} + +.default .portlet-menu-item-hover { + text-decoration: none; + color: #f30 !important; +} + +.default .portlet-menu-item-hover-selected { + text-decoration: none; + color: #555 !important; + font-weight: bold; +} + +.default .portlet-menu-cascade-item { + text-decoration: none; + margin-top: .3em; + padding-bottom: 0; + color: blue; +} + +.default .portlet-menu-cascade-item-selected { + text-decoration: none; + color: #555 !important; + font-weight: bold; +} + +.default .portlet-menu-description { +} + +.default .portlet-menu-caption { + border-bottom: 1px solid #666; + border-right: 1px solid #666; + background: #ddd; + color: #555; + padding: 4px; +} + +/* font */ +.default .portlet-menu, +.default .portlet-menu-item, +.default .portlet-menu-item-selected, +.default .portlet-menu-item-hover, +.default .portlet-menu-item-hover-selected, +.default .portlet-menu-cascade-item, +.default .portlet-menu-cascade-item-selected, +.default .portlet-menu-description, +.default .portlet-menu-caption +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + + +/* --------------------------------- */ +/* PLT.C.6 Menus (arrowfolder style) */ +/* --------------------------------- */ +.default .arrowfolder .portlet-menu { + background: #efefef; + margin-bottom: 6px; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + padding: 4px 4px 4px 0; + padding-bottom: .3em; + padding-left: 1em; +} + +.default .arrowfolder .portlet-menu-item { + text-decoration: none; + color: blue; + padding-left: 34px; + background-image: url(../images/icon_arrowdoc_sml.gif); + background-repeat: no-repeat; + +} + +.default .arrowfolder .portlet-menu-item-selected { + text-decoration: none; + color: #555 !important; + padding-left: 34px; + background-image: url(../images/icon_arrowdoc_sml.gif); + background-repeat: no-repeat; +} + +.default .arrowfolder .portlet-menu-item-hover { + text-decoration: none; + color: #f30 !important; + padding-left: 34px; + background-image: url(../images/icon_arrowdoc_sml.gif); + background-repeat: no-repeat; +} + +.default .arrowfolder .portlet-menu-item-hover-selected { + text-decoration: none; + color: #555 !important; + font-weight: bold; + padding-left: 34px; + background-image: url(../images/icon_arrowdoc_sml.gif); + background-repeat: no-repeat; +} + +.default .arrowfolder .portlet-menu-cascade-item { + text-decoration: none; + margin-top: .3em; + padding-bottom: 0; + color: blue; + padding-left: 34px; + background-image: url(../images/icon_arrowfolderclosed1_sml.gif); + background-repeat: no-repeat; +} + +.default .arrowfolder .portlet-menu-cascade-item-selected { + text-decoration: none; + color: #555 !important; + font-weight: bold; + padding-left: 34px; + background-image: url(../images/icon_arrowfolderopen2_sml.gif); + background-repeat: no-repeat; +} + +.default .arrowfolder .portlet-menu-description { +} + +.default .arrowfolder .portlet-menu-caption { + border-bottom: 1px solid #666; + border-right: 1px solid #666; + background: #ddd; + color: #555; + padding: 4px; +} + +/* font */ +.default .arrowfolder .portlet-menu, +.default .arrowfolder .portlet-menu-item, +.default .arrowfolder .portlet-menu-item-selected, +.default .arrowfolder .portlet-menu-item-hover, +.default .arrowfolder .portlet-menu-item-hover-selected, +.default .arrowfolder .portlet-menu-cascade-item, +.default .arrowfolder .portlet-menu-cascade-item-selected, +.default .arrowfolder .portlet-menu-description, +.default .arrowfolder .portlet-menu-caption +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + voice-family: "\"}\""; + voice-family: inherit; + font-size: 10pt; +} + +/* --------------------------------- */ +/* Tree component */ +/* --------------------------------- */ + +.default .tree { + lineheight: 18px; + font-family: arial, sans-serif; +} + +.default .tree-node { + padding: 2px 15px 2px 5px; +} + +.default .tree-node a { + text-decoration: none; +} + +.default .tree-node-selected { + padding: 2px 15px 2px 5px; +} + +.default .tree-node-selected a { + text-decoration: none; + font-weight: bold; +} + +/* --------------------------------- */ +/* Portlet Table */ +/* --------------------------------- */ +.default th, td, input { + font-family: Verdana, Helvetica, Arial, sans-serif; +} + +.default table, +.default th, +.default td { + vertical-align: top; + font-size: 10pt; + white-space: normal; + /* action buttons shifts right a few millimeters by the following */ +} + +.default th +{ + font-size: 10pt; +} + +.default .portlet-table-header { + background-image:url(../images/header_background.gif); + background-repeat: repeat-x; + background-color:#113377; + color: #fff; + + border: 0.75px solid #fff; + padding: 2px 3px; + text-align: left; +} + +.default .portlet-table-footer { + background-image:url(../images/footer_background.gif); + background-repeat: repeat-x; + background-color:#c0e0f0; + color: #0080b0; + + font-size: 10pt; + padding: 5px; + margin: .67em 2px; + margin-top: 0; +} + + +.default .portlet-table-row1 td { + font-size: 10pt; + background: #ddd; + border-bottom: 1px solid #fff; +} + +.default .portlet-table-row2 td { + font-size: 10pt; + background: #efefef; + border-bottom: 1px solid #fff; +} + +.default .portlet-table-col1 { + border-right: 1px solid #fff; + padding: 2px 15px 2px 5px; +} + +.default .portlet-table-col2 { + border-left: 1px solid #fff; + padding: 2px 15px 2px 5px; +} + +/* --------------------------------- */ +/* Portlet Data Scroller Table */ +/* --------------------------------- */ + +.default .portlet-scroller-grid td { + horizontal-align: center; +} + +.default .portlet-scroller { + horizontal-align: center; +} + +.default .portlet-paginator { + horizontal-align: center; +} + + Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/css/styles.css ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.properties =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.properties 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.properties 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,19 @@ +# Copyright 2004 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +id=default +name=default +template.type=velocity +template.extension=.vm +decorates=portlet Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.properties ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.vm 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/decorator.vm 2008-01-03 12:42:43 UTC (rev 771) @@ -0,0 +1,50 @@ +#* +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(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.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*# +#set($decoration = $f.decoration) +#set($actions = $decoration.actions) +#set($solo = $jetspeed.MappedWindowState.toString()=="solo") +#set($hidePortlet = $renderRequest.getAttribute("js_${jetspeed.CurrentFragment.Id}_HideDecorator")) + +
+#if (!$solo && !$hidePortlet) +
+
+ #set ($ws=$jetspeed.MappedWindowState) + $!jetspeed.getTitle($jetspeed.getCurrentPortletEntity(), $f) +
+ #set($_actions = $decoration.actions) +
+ #foreach ($_action in $_actions) + ${_action.Alt} + #end + +
+
+#end +#if (!$jetspeed.isHidden($f) && !$hidePortlet && $jetspeed.WindowState.toString() != "minimized") + #if (!$solo) +
+ #end +
+ $f.renderedContent +
+ #if (!$solo) +
+ #end +#end +
+ Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/button_background.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/close.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/close.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/customize.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/customize.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/edit.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/edit.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/footer_background.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/header_background.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/help.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/help.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowdoc_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowdoc_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderclosed1_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderclosed1_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderopen2_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_arrowfolderopen2_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_error_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_error_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_info_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_info_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_success_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_success_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_warning_sml.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/icon_warning_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info1.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/info1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/leftnavbg.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/leftnavbg.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/maximized.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/maximized.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/minimized.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/minimized.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/normal.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/normal.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/print.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/print.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/restore.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/restore.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.xcf =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/subheader_background.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/title_background.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/title_background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/view.gif =================================================================== (Binary files differ) Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/view.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: pal-portal/trunk/portal/patches/layout-portlets/src/webapp/WEB-INF/portlet.xml =================================================================== --- pal-portal/trunk/portal/patches/layout-portlets/src/webapp/WEB-INF/portlet.xml 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/patches/layout-portlets/src/webapp/WEB-INF/portlet.xml 2008-01-03 12:42:43 UTC (rev 771) @@ -37,7 +37,7 @@ + layoutType + OneColumn + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource 0 @@ -75,7 +75,7 @@ ViewPage columns -@@ -60,15 +75,15 @@ +@@ -60,17 +75,17 @@ columns @@ -92,8 +92,11 @@ - OneColumn + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -79,25 +94,58 @@ edit help @@ -128,7 +131,7 @@ + layoutType + TwoColumns + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 @@ -164,7 +167,7 @@ MaxPage -@@ -105,15 +153,15 @@ +@@ -105,37 +153,35 @@ columns @@ -181,9 +184,11 @@ - OneColumn + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -122,20 +170,18 @@ + 0 + text/html view edit @@ -211,7 +216,7 @@ ViewPage columns -@@ -150,16 +196,12 @@ +@@ -150,37 +196,31 @@ sizes @@ -226,10 +231,11 @@ - editorType - desktop - --> - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource 0 -@@ -167,20 +209,18 @@ + text/html view edit @@ -256,7 +262,15 @@ ViewPage columns -@@ -208,21 +248,57 @@ +@@ -201,28 +241,64 @@ + layoutType + TwoColumns + +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + text/html view edit @@ -295,7 +309,7 @@ + layoutType + TwoColumns + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -323,7 +337,7 @@ ViewPage columns -@@ -233,15 +309,15 @@ +@@ -233,40 +309,38 @@ columns @@ -340,9 +354,11 @@ - ThreeColumns + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -250,23 +326,21 @@ + 0 + text/html view edit @@ -374,7 +390,7 @@ MaxPage -@@ -274,15 +348,15 @@ +@@ -274,37 +348,35 @@ columns @@ -391,9 +407,11 @@ - ThreeColumns + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -291,20 +365,18 @@ + 0 + text/html view edit @@ -421,7 +439,7 @@ ViewPage columns -@@ -315,15 +387,15 @@ +@@ -315,17 +387,17 @@ columns @@ -438,8 +456,11 @@ - OneColumn + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -335,19 +407,19 @@ text/vnd.wap.wml @@ -468,7 +489,7 @@ ViewPage columns -@@ -362,7 +434,7 @@ +@@ -362,31 +434,35 @@ sizes @@ -477,7 +498,13 @@ layoutType -@@ -375,18 +447,22 @@ + TwoColumns + +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + text/html view @@ -508,7 +535,7 @@ ViewPage columns -@@ -397,15 +473,15 @@ +@@ -397,34 +473,39 @@ columns @@ -525,9 +552,11 @@ - ThreeColumns + TwoColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -414,17 +490,22 @@ + 0 + text/html view @@ -558,7 +587,7 @@ ViewPage columns -@@ -439,7 +520,7 @@ +@@ -439,31 +520,35 @@ sizes @@ -567,7 +596,13 @@ layoutType -@@ -452,18 +533,22 @@ + TwoColumns + +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + text/html view @@ -598,7 +633,7 @@ ViewPage columns -@@ -478,7 +563,7 @@ +@@ -478,33 +563,74 @@ sizes @@ -607,7 +642,12 @@ layoutType -@@ -490,21 +575,62 @@ + TwoColumns + +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 text/html view @@ -648,7 +688,7 @@ + layoutType + ThreeColumns + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -678,7 +718,7 @@ ViewPage columns -@@ -515,15 +641,15 @@ +@@ -515,38 +641,38 @@ columns @@ -695,9 +735,10 @@ - TwoColumns + ThreeColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -531,22 +657,22 @@ + 0 text/html view @@ -729,7 +770,7 @@ MaxPage -@@ -554,15 +680,15 @@ +@@ -554,36 +680,35 @@ columns @@ -746,9 +787,11 @@ - TwoColumns + ThreeColumns - org.apache.jetspeed.portlets.layout.MultiColumnPortlet +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet org.apache.jetspeed.portlets.layout.resources.LayoutResource -@@ -571,19 +697,18 @@ + 0 + text/html view edit @@ -773,6 +816,15 @@ ViewPage columns +@@ -604,7 +729,7 @@ + layoutType + FourColumns + +- org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -614,10 +739,159 @@ help @@ -807,7 +859,7 @@ + layoutType + Frame + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -844,7 +896,7 @@ + layoutType + OneColumn + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -881,7 +933,7 @@ + layoutType + TwoColumns + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + @@ -918,7 +970,7 @@ + layoutType + ThreeColumns + -+ org.apache.jetspeed.portlets.layout.MultiColumnPortlet ++ org.apache.jetspeed.portlets.layout.ActionLayoutPortlet + org.apache.jetspeed.portlets.layout.resources.LayoutResource + 0 + Modified: pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/default-page.psml =================================================================== --- pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/default-page.psml 2007-12-29 13:37:38 UTC (rev 770) +++ pal-portal/trunk/portal/resources/psml/default/_role/site/_mediatype/docomo-html/default-page.psml 2008-01-03 12:42:43 UTC (rev 771) @@ -2,7 +2,7 @@
-*# - #end - #if($rowStarted) - -#* -
- - -*# - #end - -#end +#macro (initMessageResourceBundles) + #set($resourceBundleFactory = $request.getAttribute("org.apache.jetspeed.portlets.layout.util.ResourceBundleFactory")) + #set($resourcePath = $layoutDecoration.getResource("resources")) + #set($msgs= $resourceBundleFactory.getResourceBundle($JS2RequestContext,$resourcePath,"messages",$JS2RequestContext.locale)) +#end + Modified: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm 2008-01-03 12:42:43 UTC (rev 771) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/header.vm 2008-01-06 12:23:45 UTC (rev 772) @@ -18,8 +18,6 @@ #defineLayoutObjects() ## Loads our custom macros #parse($layoutDecoration.getResource("decorator-macros.vm")) -## Add all template constants to the current context -#defineNavigationConstants() ## Username #set($username = $JS2RequestContext.request.remoteUser) ## Check edit @@ -30,6 +28,7 @@ #end #end #set($layoutId = $jetspeed.currentFragment.id)## +#initMessageResourceBundles()## #includeHeaderResource() @@ -76,9 +75,9 @@
#set($navigationsStandardMenu = $site.getMenu("navigations")) -#if(!$navigationsStandardMenu.empty)
    -
  • フォルダ
  • +#if(!$navigationsStandardMenu.empty) +
  • $msgs.getString("header.topbar.folder.folder")
  • #foreach($element in $navigationsStandardMenu.elements.iterator()) #if($element.elementType == "option") #set($tabTitle = $element.getTitle($preferedLocale)) @@ -91,12 +90,12 @@ #end #end #end - #if($editable) -
  • フォルダを追加
  • - #end +#end +#if($editable) +
  • $msgs.getString("header.topbar.folder.add.folder")
  • +#end
-#end
@@ -108,13 +107,13 @@ @@ -141,14 +140,14 @@ #end
  • #if($editable) - ページを追加 + $msgs.getString("header.bottombar.add.page") #end
  • Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages.properties =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages.properties 2008-01-03 12:42:43 UTC (rev 771) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages.properties 2008-01-06 12:23:45 UTC (rev 772) @@ -0,0 +1,10 @@ +header.topbar.folder.folder=Folder +header.topbar.folder.add.folder=Add Folder +header.body.info.change.password=Change Password +header.body.info.logout=Logout +header.body.info.username=Username: +header.body.info.login=Login +header.bottombar.add.page=Add Page +header.bottombar.add.content=Add Content +header.bottombar.edit.page=Edit Page + Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages.properties ___________________________________________________________________ Name: svn:eol-style + native Added: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages_ja.properties =================================================================== --- pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages_ja.properties 2008-01-03 12:42:43 UTC (rev 771) +++ pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages_ja.properties 2008-01-06 12:23:45 UTC (rev 772) @@ -0,0 +1,10 @@ +header.topbar.folder.folder=\u30d5\u30a9\u30eb\u30c0 +header.topbar.folder.add.folder=\u30d5\u30a9\u30eb\u30c0\u3092\u8ffd\u52a0 +header.body.info.change.password=\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4 +header.body.info.logout=\u30ed\u30b0\u30a2\u30a6\u30c8 +header.body.info.username=\u30e6\u30fc\u30b6\u30fc\u540d: +header.body.info.login=\u30ed\u30b0\u30a4\u30f3 +header.bottombar.add.page=\u30da\u30fc\u30b8\u3092\u8ffd\u52a0 +header.bottombar.add.content=\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8ffd\u52a0 +header.bottombar.edit.page=\u30da\u30fc\u30b8\u3092\u7de8\u96c6 + Property changes on: pal-portal/trunk/portal/files/src/webapp/decorations/layout/default/resources/messages_ja.properties ___________________________________________________________________ Name: svn:eol-style + native From svnnotify @ sourceforge.jp Thu Jan 10 09:28:57 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 10 Jan 2008 09:28:57 +0900 Subject: [pal-cvs 3029] [773] removed j2-admin Message-ID: <1199924937.919645.5059.nullmailer@users.sourceforge.jp> Revision: 773 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=773 Author: shinsuke Date: 2008-01-10 09:28:57 +0900 (Thu, 10 Jan 2008) Log Message: ----------- removed j2-admin Modified Paths: -------------- pal-portal/trunk/installer/maven.xml -------------- next part -------------- Modified: pal-portal/trunk/installer/maven.xml =================================================================== --- pal-portal/trunk/installer/maven.xml 2008-01-06 12:23:45 UTC (rev 772) +++ pal-portal/trunk/installer/maven.xml 2008-01-10 00:28:57 UTC (rev 773) @@ -54,8 +54,6 @@ - - From svnnotify @ sourceforge.jp Mon Jan 14 08:32:13 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 14 Jan 2008 08:32:13 +0900 Subject: [pal-cvs 3030] [774] version 0.5 Message-ID: <1200267133.360139.22519.nullmailer@users.sourceforge.jp> Revision: 774 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=774 Author: shinsuke Date: 2008-01-14 08:32:12 +0900 (Mon, 14 Jan 2008) Log Message: ----------- version 0.5 Modified Paths: -------------- pal-admin/trunk/pom.xml -------------- next part -------------- Modified: pal-admin/trunk/pom.xml =================================================================== --- pal-admin/trunk/pom.xml 2008-01-10 00:28:57 UTC (rev 773) +++ pal-admin/trunk/pom.xml 2008-01-13 23:32:12 UTC (rev 774) @@ -3,7 +3,7 @@ 4.0.0 jp.sf.pal pal-admin - 0.5-SNAPSHOT + 0.5 war Administration tools for PAL Portal @@ -141,17 +141,17 @@ org.seasar.teeda teeda-core - 1.0.12-SNAPSHOT + 1.0.12-rc1 org.seasar.teeda teeda-extension - 1.0.12-SNAPSHOT + 1.0.12-rc1 org.seasar.teeda teeda-tiger - 1.0.11 + 1.0.12-rc1 org.apache.geronimo.specs @@ -166,7 +166,7 @@ org.apache.portals.bridges portals-bridges-portletfilter - 1.0.3 + 1.0.4 logkit @@ -263,12 +263,12 @@ org.seasar.container s2-framework - 2.4.19 + 2.4.20 org.seasar.container s2-extension - 2.4.19 + 2.4.20 log4j @@ -279,7 +279,7 @@ org.seasar.container s2-tiger - 2.4.19 + 2.4.20 org.easymock From svnnotify @ sourceforge.jp Mon Jan 14 08:33:50 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 14 Jan 2008 08:33:50 +0900 Subject: [pal-cvs 3031] [775] version 0.5 Message-ID: <1200267230.036337.22820.nullmailer@users.sourceforge.jp> Revision: 775 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=775 Author: shinsuke Date: 2008-01-14 08:33:49 +0900 (Mon, 14 Jan 2008) Log Message: ----------- version 0.5 Added Paths: ----------- pal-admin/branches/pal-admin-0.5/ -------------- next part -------------- Copied: pal-admin/branches/pal-admin-0.5 (from rev 774, pal-admin/trunk) From svnnotify @ sourceforge.jp Mon Jan 14 08:50:56 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 14 Jan 2008 08:50:56 +0900 Subject: [pal-cvs 3032] [776] pal-admin 0.5 Message-ID: <1200268256.273195.2443.nullmailer@users.sourceforge.jp> Revision: 776 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=776 Author: shinsuke Date: 2008-01-14 08:50:55 +0900 (Mon, 14 Jan 2008) Log Message: ----------- pal-admin 0.5 Modified Paths: -------------- pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties -------------- next part -------------- Modified: pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties =================================================================== --- pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties 2008-01-13 23:33:49 UTC (rev 775) +++ pal-portal/trunk/portlets/resources/jp/sf/pal/pal-admin.properties 2008-01-13 23:50:55 UTC (rev 776) @@ -11,7 +11,7 @@ # SVN #svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/trunk/ -svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/branches/pal-admin-0.4 +svn.repository.path=http://svn.sourceforge.jp/svnroot/pal/pal-admin/branches/pal-admin-0.5 svn.revision=HEAD svn.module.name=pal-admin From svnnotify @ sourceforge.jp Tue Jan 15 07:02:39 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 07:02:39 +0900 Subject: [pal-cvs 3033] [777] version 0.4.1 Message-ID: <1200348159.794899.9520.nullmailer@users.sourceforge.jp> Revision: 777 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=777 Author: shinsuke Date: 2008-01-15 07:02:39 +0900 (Tue, 15 Jan 2008) Log Message: ----------- version 0.4.1 Modified Paths: -------------- pal-admin/branches/pal-admin-0.4/pom.xml -------------- next part -------------- Modified: pal-admin/branches/pal-admin-0.4/pom.xml =================================================================== --- pal-admin/branches/pal-admin-0.4/pom.xml 2008-01-13 23:50:55 UTC (rev 776) +++ pal-admin/branches/pal-admin-0.4/pom.xml 2008-01-14 22:02:39 UTC (rev 777) @@ -3,7 +3,7 @@ 4.0.0 jp.sf.pal pal-admin - 0.4 + 0.4.1 war Administration tools for PAL Portal From svnnotify @ sourceforge.jp Tue Jan 15 07:03:04 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 07:03:04 +0900 Subject: [pal-cvs 3034] [778] changed name. Message-ID: <1200348184.523741.9627.nullmailer@users.sourceforge.jp> Revision: 778 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=778 Author: shinsuke Date: 2008-01-15 07:03:04 +0900 (Tue, 15 Jan 2008) Log Message: ----------- changed name. Modified Paths: -------------- pal-admin/branches/pal-admin-0.4/.project -------------- next part -------------- Modified: pal-admin/branches/pal-admin-0.4/.project =================================================================== --- pal-admin/branches/pal-admin-0.4/.project 2008-01-14 22:02:39 UTC (rev 777) +++ pal-admin/branches/pal-admin-0.4/.project 2008-01-14 22:03:04 UTC (rev 778) @@ -1,5 +1,5 @@ - pal-admin + pal-admin-0.4 @@ -15,4 +15,4 @@ com.sysdeo.eclipse.tomcat.tomcatnature org.seasar.dolteng.eclipse.nature - \ No newline at end of file + From svnnotify @ sourceforge.jp Tue Jan 15 07:04:37 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 07:04:37 +0900 Subject: [pal-cvs 3035] [779] catch exception. Message-ID: <1200348277.010861.10626.nullmailer@users.sourceforge.jp> Revision: 779 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=779 Author: shinsuke Date: 2008-01-15 07:04:36 +0900 (Tue, 15 Jan 2008) Log Message: ----------- catch exception. Modified Paths: -------------- pal-admin/branches/pal-admin-0.4/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java -------------- next part -------------- Modified: pal-admin/branches/pal-admin-0.4/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java =================================================================== --- pal-admin/branches/pal-admin-0.4/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2008-01-14 22:03:04 UTC (rev 778) +++ pal-admin/branches/pal-admin-0.4/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2008-01-14 22:04:36 UTC (rev 779) @@ -295,6 +295,10 @@ logger.error("Could not access a folder: " + path, e); throw new CommonException("could.not.access.folder", "Could not access a folder: " + path, e); + } catch (Exception e) { + logger.error("Could not access a folder: " + path, e); + throw new CommonException("could.not.access.folder", + "Could not access a folder: " + path, e); } } @@ -633,6 +637,10 @@ logger.error("Could not access a page security. ", e); throw new CommonException("could.not.access.page.security", "Could not access a page security. ", e); + } catch (Exception e) { + logger.error("Could not access a page security. ", e); + throw new CommonException("could.not.access.page.security", + "Could not access a page security. ", e); } return list; } @@ -906,6 +914,10 @@ logger.error("Could not access a page: " + path, e); throw new CommonException("could.not.access.page", "Could not access a page: " + path, e); + } catch (Exception e) { + logger.error("Could not access a page: " + path, e); + throw new CommonException("could.not.access.page", + "Could not access a page: " + path, e); } } @@ -933,6 +945,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.page", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.page", + "Could not update a page: " + path, e); } } @@ -957,6 +972,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.page", "Could not delete a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.page", + "Could not delete a page: " + path, e); } return parentPath; } @@ -995,6 +1013,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.page", "Could not add a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.page", + "Could not add a page: " + path, e); } List orderList = folder.getDocumentOrder(); @@ -1012,6 +1033,9 @@ } catch (NodeException e) { throw new CommonException("could.not.change.page.order", "Could not change a page order: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.change.page.order", + "Could not change a page order: " + path, e); } } } @@ -1076,6 +1100,10 @@ logger.error("Could not access a folder: " + path, e); throw new CommonException("could.not.access.folder", "Could not access a folder: " + path, e); + } catch (Exception e) { + logger.error("Could not access a folder: " + path, e); + throw new CommonException("could.not.access.folder", + "Could not access a folder: " + path, e); } } @@ -1103,6 +1131,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.folder", + "Could not update a folder: " + path, e); } } @@ -1131,6 +1162,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.folder", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.folder", + "Could not update a folder: " + path, e); } return parentPath; @@ -1194,6 +1228,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.document.order", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.document.order", + "Could not update a folder: " + path, e); } } @@ -1239,6 +1276,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.document.order", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.document.order", + "Could not update a folder: " + path, e); } } @@ -1274,6 +1314,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.document.order", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.document.order", + "Could not update a folder: " + path, e); } } @@ -1308,6 +1351,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.document.order", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.document.order", + "Could not update a folder: " + path, e); } } @@ -1353,6 +1399,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.metadata", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.metadata", + "Could not update a folder: " + path, e); } } @@ -1401,6 +1450,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.metadata", "Could not update a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.metadata", + "Could not update a folder: " + path, e); } } @@ -1446,6 +1498,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.metadata", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.metadata", + "Could not update a page: " + path, e); } } @@ -1494,6 +1549,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.metadata", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.metadata", + "Could not update a page: " + path, e); } } @@ -1529,6 +1587,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.folder", "Could not add a folder: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.folder", + "Could not add a folder: " + path, e); } // change a folder order @@ -1547,6 +1608,9 @@ } catch (NodeException e) { throw new CommonException("could.not.change.folder.order", "Could not change a folder order: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.change.folder.order", + "Could not change a folder order: " + path, e); } } } @@ -1575,6 +1639,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.default.page", "Could not add a default page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.default.page", + "Could not add a default page: " + path, e); } orderList = child.getDocumentOrder(); @@ -1594,6 +1661,10 @@ throw new CommonException( "could.not.change.default.page.order", "Could not change a default page order: " + path, e); + } catch (Exception e) { + throw new CommonException( + "could.not.change.default.page.order", + "Could not change a default page order: " + path, e); } } } @@ -1647,6 +1718,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.layout", + "Could not update a layout: " + path, e); } try { @@ -1681,6 +1755,11 @@ "updated.layout.but.could.not.update.cache", "Update a layout configuration, but could not update a cache.: " + path, e); + } catch (Exception e) { + throw new CommonException( + "updated.layout.but.could.not.update.cache", + "Update a layout configuration, but could not update a cache.: " + + path, e); } } @@ -1716,6 +1795,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.layout", "Could not delete a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.layout", + "Could not delete a layout: " + path, e); } return p; } @@ -1761,6 +1843,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.portlet", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.portlet", + "Could not update a page: " + path, e); } try { @@ -1795,6 +1880,11 @@ "updated.portlet.but.could.not.update.cache", "Update a portlet configuration, but could not update a cache.: " + path, e); + } catch (Exception e) { + throw new CommonException( + "updated.portlet.but.could.not.update.cache", + "Update a portlet configuration, but could not update a cache.: " + + path, e); } } @@ -1824,6 +1914,9 @@ } catch (NodeException e) { throw new CommonException("could.not.delete.portlet", "Could not delete a portlet: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.delete.portlet", + "Could not delete a portlet: " + path, e); } return p; } @@ -1855,6 +1948,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.layout", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.layout", + "Could not update a page: " + path, e); } } @@ -1885,6 +1981,9 @@ } catch (NodeException e) { throw new CommonException("could.not.add.portlet", "Could not update a page: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.add.portlet", + "Could not update a page: " + path, e); } } @@ -2052,6 +2151,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.page", + "Could not update a page: " + page.getPath(), e); } } @@ -2072,6 +2174,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.folder", + "Could not update a folder: " + folder.getPath(), e); } } @@ -2120,6 +2225,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.page", + "Could not update a page: " + page.getPath(), e); } } @@ -2142,6 +2250,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.folder", + "Could not update a folder: " + folder.getPath(), e); } } @@ -2190,6 +2301,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.page", + "Could not update a page: " + page.getPath(), e); } } @@ -2212,6 +2326,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.folder", + "Could not update a folder: " + folder.getPath(), e); } } @@ -2259,6 +2376,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.page", + "Could not update a page: " + page.getPath(), e); } } @@ -2280,6 +2400,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); + } catch (Exception e) { + throw new CommonException("could.not.update.folder", + "Could not update a folder: " + folder.getPath(), e); } } @@ -2352,6 +2475,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.layout", + "Could not update a layout: " + path, e); } } @@ -2386,6 +2512,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.layout", + "Could not update a layout: " + path, e); } } @@ -2420,6 +2549,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.portlet", + "Could not update a portlet: " + path, e); } } @@ -2454,6 +2586,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.portlet", + "Could not update a portlet: " + path, e); } } @@ -2500,6 +2635,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.layout", + "Could not update a layout: " + path, e); } } @@ -2541,6 +2679,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.layout", + "Could not update a layout: " + path, e); } } @@ -2587,6 +2728,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.portlet", + "Could not update a portlet: " + path, e); } } @@ -2628,6 +2772,9 @@ } catch (NodeException e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); + } catch (Exception e) { + throw new CommonException("could.not.update.portlet", + "Could not update a portlet: " + path, e); } } From svnnotify @ sourceforge.jp Tue Jan 15 07:42:59 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 07:42:59 +0900 Subject: [pal-cvs 3036] [780] 0.6-SNAPSHOT Message-ID: <1200350579.173483.319.nullmailer@users.sourceforge.jp> Revision: 780 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=780 Author: shinsuke Date: 2008-01-15 07:42:58 +0900 (Tue, 15 Jan 2008) Log Message: ----------- 0.6-SNAPSHOT Modified Paths: -------------- pal-admin/trunk/pom.xml -------------- next part -------------- Modified: pal-admin/trunk/pom.xml =================================================================== --- pal-admin/trunk/pom.xml 2008-01-14 22:04:36 UTC (rev 779) +++ pal-admin/trunk/pom.xml 2008-01-14 22:42:58 UTC (rev 780) @@ -3,7 +3,7 @@ 4.0.0 jp.sf.pal pal-admin - 0.5 + 0.6-SNAPSHOT war Administration tools for PAL Portal From svnnotify @ sourceforge.jp Tue Jan 15 07:44:05 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 07:44:05 +0900 Subject: [pal-cvs 3037] [781] catch exception. Message-ID: <1200350645.244722.1310.nullmailer@users.sourceforge.jp> Revision: 781 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=781 Author: shinsuke Date: 2008-01-15 07:44:04 +0900 (Tue, 15 Jan 2008) Log Message: ----------- catch exception. Modified Paths: -------------- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java -------------- next part -------------- Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2008-01-14 22:42:58 UTC (rev 780) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2008-01-14 22:44:04 UTC (rev 781) @@ -283,18 +283,10 @@ } } return treeList; - } catch (FolderNotFoundException e) { + } catch (Exception e) { logger.error("Could not access a folder: " + path, e); throw new CommonException("could.not.access.folder", "Could not access a folder: " + path, e); - } catch (InvalidFolderException e) { - logger.error("Could not access a folder: " + path, e); - throw new CommonException("could.not.access.folder", - "Could not access a folder: " + path, e); - } catch (NodeException e) { - logger.error("Could not access a folder: " + path, e); - throw new CommonException("could.not.access.folder", - "Could not access a folder: " + path, e); } } @@ -628,18 +620,10 @@ map.put("value", value.getName()); list.add(map); } - } catch (UnsupportedDocumentTypeException e) { + } catch (Exception e) { logger.error("Could not access a page security. ", e); throw new CommonException("could.not.access.page.security", "Could not access a page security. ", e); - } catch (DocumentNotFoundException e) { - logger.error("Could not access a page security. ", e); - throw new CommonException("could.not.access.page.security", - "Could not access a page security. ", e); - } catch (NodeException e) { - logger.error("Could not access a page security. ", e); - throw new CommonException("could.not.access.page.security", - "Could not access a page security. ", e); } return list; } @@ -891,26 +875,10 @@ // folder return null; } - } catch (PageNotFoundException e) { + } catch (Exception e) { logger.error("Could not access a page: " + path, e); throw new CommonException("could.not.access.page", "Could not access a page: " + path, e); - } catch (FolderNotFoundException e) { - logger.error("Could not access a page: " + path, e); - throw new CommonException("could.not.access.page", - "Could not access a page: " + path, e); - } catch (InvalidFolderException e) { - logger.error("Could not access a page: " + path, e); - throw new CommonException("could.not.access.page", - "Could not access a page: " + path, e); - } catch (DocumentException e) { - logger.error("Could not access a page: " + path, e); - throw new CommonException("could.not.access.page", - "Could not access a page: " + path, e); - } catch (NodeException e) { - logger.error("Could not access a page: " + path, e); - throw new CommonException("could.not.access.page", - "Could not access a page: " + path, e); } } @@ -932,12 +900,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.page", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.page", - "Could not update a page: " + path, e); } } @@ -956,12 +921,9 @@ try { getPageManager().removePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.page", "Could not delete a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.page", - "Could not delete a page: " + path, e); } return parentPath; } @@ -994,12 +956,9 @@ try { getPageManager().updatePage(childPage); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.page", "Could not add a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.page", - "Could not add a page: " + path, e); } List orderList = folder.getDocumentOrder(); @@ -1011,12 +970,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.change.page.order", "Could not change a page order: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.change.page.order", - "Could not change a page order: " + path, e); } } } @@ -1067,22 +1023,10 @@ // folder return folder.getFolder(names[names.length - 1]); } - } catch (FolderNotFoundException e) { + } catch (Exception e) { logger.error("Could not access a folder: " + path, e); throw new CommonException("could.not.access.folder", "Could not access a folder: " + path, e); - } catch (InvalidFolderException e) { - logger.error("Could not access a folder: " + path, e); - throw new CommonException("could.not.access.folder", - "Could not access a folder: " + path, e); - } catch (DocumentException e) { - logger.error("Could not access a folder: " + path, e); - throw new CommonException("could.not.access.folder", - "Could not access a folder: " + path, e); - } catch (NodeException e) { - logger.error("Could not access a folder: " + path, e); - throw new CommonException("could.not.access.folder", - "Could not access a folder: " + path, e); } } @@ -1105,12 +1049,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.folder", - "Could not update a folder: " + path, e); } } @@ -1133,12 +1074,9 @@ try { getPageManager().removeFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.folder", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.folder", - "Could not update a folder: " + path, e); } return parentPath; @@ -1196,12 +1134,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.document.order", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.document.order", - "Could not update a folder: " + path, e); } } @@ -1241,12 +1176,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.document.order", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.document.order", - "Could not update a folder: " + path, e); } } @@ -1276,12 +1208,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.document.order", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.document.order", - "Could not update a folder: " + path, e); } } @@ -1310,12 +1239,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.document.order", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.document.order", - "Could not update a folder: " + path, e); } } @@ -1355,12 +1281,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.metadata", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.metadata", - "Could not update a folder: " + path, e); } } @@ -1403,12 +1326,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.metadata", "Could not update a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.metadata", - "Could not update a folder: " + path, e); } } @@ -1448,12 +1368,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.metadata", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.metadata", - "Could not update a page: " + path, e); } } @@ -1496,12 +1413,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.metadata", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.metadata", - "Could not update a page: " + path, e); } } @@ -1531,12 +1445,9 @@ try { getPageManager().updateFolder(child); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.folder", "Could not add a folder: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.folder", - "Could not add a folder: " + path, e); } // change a folder order @@ -1549,12 +1460,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.change.folder.order", "Could not change a folder order: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.change.folder.order", - "Could not change a folder order: " + path, e); } } } @@ -1577,12 +1485,9 @@ try { getPageManager().updatePage(childPage); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.default.page", "Could not add a default page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.default.page", - "Could not add a default page: " + path, e); } orderList = child.getDocumentOrder(); @@ -1594,14 +1499,10 @@ try { getPageManager().updateFolder(child); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException( "could.not.change.default.page.order", "Could not change a default page order: " + path, e); - } catch (NodeException e) { - throw new CommonException( - "could.not.change.default.page.order", - "Could not change a default page order: " + path, e); } } } @@ -1649,12 +1550,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.layout", - "Could not update a layout: " + path, e); } try { @@ -1669,26 +1567,11 @@ getPortletWindowAccessor().createPortletWindow( portletWindow.getPortletEntity(), cfragment.getId()); - } catch (PageNotFoundException e) { + } catch (Exception e) { throw new CommonException( "updated.layout.but.could.not.update.cache", "Update a layout configuration, but could not update a cache.: " + path, e); - } catch (NodeException e) { - throw new CommonException( - "updated.layout.but.could.not.update.cache", - "Update a layout configuration, but could not update a cache.: " - + path, e); - } catch (FailedToRetrievePortletWindow e) { - throw new CommonException( - "updated.layout.but.could.not.update.cache", - "Update a layout configuration, but could not update a cache.: " - + path, e); - } catch (PortletEntityNotStoredException e) { - throw new CommonException( - "updated.layout.but.could.not.update.cache", - "Update a layout configuration, but could not update a cache.: " - + path, e); } } @@ -1718,12 +1601,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.layout", "Could not delete a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.layout", - "Could not delete a layout: " + path, e); } return p; } @@ -1763,12 +1643,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.portlet", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.portlet", - "Could not update a page: " + path, e); } try { @@ -1783,26 +1660,11 @@ getPortletWindowAccessor().createPortletWindow( portletWindow.getPortletEntity(), cfragment.getId()); - } catch (PageNotFoundException e) { + } catch (Exception e) { throw new CommonException( "updated.portlet.but.could.not.update.cache", "Update a portlet configuration, but could not update a cache.: " + path, e); - } catch (NodeException e) { - throw new CommonException( - "updated.portlet.but.could.not.update.cache", - "Update a portlet configuration, but could not update a cache.: " - + path, e); - } catch (FailedToRetrievePortletWindow e) { - throw new CommonException( - "updated.portlet.but.could.not.update.cache", - "Update a portlet configuration, but could not update a cache.: " - + path, e); - } catch (PortletEntityNotStoredException e) { - throw new CommonException( - "updated.portlet.but.could.not.update.cache", - "Update a portlet configuration, but could not update a cache.: " - + path, e); } } @@ -1826,12 +1688,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.delete.portlet", "Could not delete a portlet: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.delete.portlet", - "Could not delete a portlet: " + path, e); } return p; } @@ -1857,12 +1716,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.layout", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.layout", - "Could not update a page: " + path, e); } } @@ -1887,12 +1743,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.add.portlet", "Could not update a page: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.add.portlet", - "Could not update a page: " + path, e); } } @@ -2054,12 +1907,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.page", - "Could not update a page: " + page.getPath(), e); } } @@ -2074,12 +1924,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.folder", - "Could not update a folder: " + folder.getPath(), e); } } @@ -2122,12 +1969,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.page", - "Could not update a page: " + page.getPath(), e); } } @@ -2144,12 +1988,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.folder", - "Could not update a folder: " + folder.getPath(), e); } } @@ -2192,12 +2033,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.page", - "Could not update a page: " + page.getPath(), e); } } @@ -2214,12 +2052,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.folder", - "Could not update a folder: " + folder.getPath(), e); } } @@ -2261,12 +2096,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.page", "Could not update a page: " + page.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.page", - "Could not update a page: " + page.getPath(), e); } } @@ -2282,12 +2114,9 @@ try { getPageManager().updateFolder(folder); getPageManager().reset(); - } catch (FolderNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.folder", "Could not update a folder: " + folder.getPath(), e); - } catch (NodeException e) { - throw new CommonException("could.not.update.folder", - "Could not update a folder: " + folder.getPath(), e); } } @@ -2354,12 +2183,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.layout", - "Could not update a layout: " + path, e); } } @@ -2388,12 +2214,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.layout", - "Could not update a layout: " + path, e); } } @@ -2422,12 +2245,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.portlet", - "Could not update a portlet: " + path, e); } } @@ -2456,12 +2276,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.portlet", - "Could not update a portlet: " + path, e); } } @@ -2502,12 +2319,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.layout", - "Could not update a layout: " + path, e); } } @@ -2543,12 +2357,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.layout", "Could not update a layout: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.layout", - "Could not update a layout: " + path, e); } } @@ -2589,12 +2400,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.portlet", - "Could not update a portlet: " + path, e); } } @@ -2630,12 +2438,9 @@ try { getPageManager().updatePage(page); getPageManager().reset(); - } catch (PageNotUpdatedException e) { + } catch (Exception e) { throw new CommonException("could.not.update.portlet", "Could not update a portlet: " + path, e); - } catch (NodeException e) { - throw new CommonException("could.not.update.portlet", - "Could not update a portlet: " + path, e); } } From svnnotify @ sourceforge.jp Tue Jan 15 21:43:13 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 21:43:13 +0900 Subject: [pal-cvs 3038] [782] updated images Message-ID: <1200400993.998823.22790.nullmailer@users.sourceforge.jp> Revision: 782 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=782 Author: shinsuke Date: 2008-01-15 21:43:13 +0900 (Tue, 15 Jan 2008) Log Message: ----------- updated images Modified Paths: -------------- pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/print.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/restore.gif pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/view.gif -------------- next part -------------- Modified: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/print.gif =================================================================== (Binary files differ) Modified: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/restore.gif =================================================================== (Binary files differ) Modified: pal-portal/trunk/portal/files/src/webapp/decorations/portlet/default/images/view.gif =================================================================== (Binary files differ) From svnnotify @ sourceforge.jp Tue Jan 15 21:45:28 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 15 Jan 2008 21:45:28 +0900 Subject: [pal-cvs 3039] [783] version 1.0.2 Message-ID: <1200401128.817182.24097.nullmailer@users.sourceforge.jp> Revision: 783 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=783 Author: shinsuke Date: 2008-01-15 21:45:28 +0900 (Tue, 15 Jan 2008) Log Message: ----------- version 1.0.2 Modified Paths: -------------- pal-portal/trunk/build.properties -------------- next part -------------- Modified: pal-portal/trunk/build.properties =================================================================== --- pal-portal/trunk/build.properties 2008-01-15 12:43:13 UTC (rev 782) +++ pal-portal/trunk/build.properties 2008-01-15 12:45:28 UTC (rev 783) @@ -4,7 +4,7 @@ container.name=PAL Portal container.separator=/ container.version.major=1 -container.version.minor=0.2-dev +container.version.minor=0.2 container.info.file=commons/src/java/org/apache/jetspeed/container/resources/ContainerInfo.properties portlets.home=${basedir}/portlets portlets.build.dir=${portlets.home}/build From svnnotify @ sourceforge.jp Tue Jan 22 10:47:58 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 22 Jan 2008 10:47:58 +0900 Subject: [pal-cvs 3040] [784] removed j2-admin Message-ID: <1200966478.652787.22366.nullmailer@users.sourceforge.jp> Revision: 784 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=784 Author: shinsuke Date: 2008-01-22 10:47:58 +0900 (Tue, 22 Jan 2008) Log Message: ----------- removed j2-admin Modified Paths: -------------- pal-portal/trunk/installer/etc/ant-installer/build.xml -------------- next part -------------- Modified: pal-portal/trunk/installer/etc/ant-installer/build.xml =================================================================== --- pal-portal/trunk/installer/etc/ant-installer/build.xml 2008-01-15 12:45:28 UTC (rev 783) +++ pal-portal/trunk/installer/etc/ant-installer/build.xml 2008-01-22 01:47:58 UTC (rev 784) @@ -193,8 +193,6 @@ - - From svnnotify @ sourceforge.jp Tue Jan 22 12:04:00 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 22 Jan 2008 12:04:00 +0900 Subject: [pal-cvs 3041] [785] not remove derby. Message-ID: <1200971040.368021.6907.nullmailer@users.sourceforge.jp> Revision: 785 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=785 Author: shinsuke Date: 2008-01-22 12:04:00 +0900 (Tue, 22 Jan 2008) Log Message: ----------- not remove derby. Modified Paths: -------------- pal-portal/trunk/installer/etc/ant-installer/build.xml -------------- next part -------------- Modified: pal-portal/trunk/installer/etc/ant-installer/build.xml =================================================================== --- pal-portal/trunk/installer/etc/ant-installer/build.xml 2008-01-22 01:47:58 UTC (rev 784) +++ pal-portal/trunk/installer/etc/ant-installer/build.xml 2008-01-22 03:04:00 UTC (rev 785) @@ -155,7 +155,6 @@ - From svnnotify @ sourceforge.jp Tue Jan 22 13:57:52 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 22 Jan 2008 13:57:52 +0900 Subject: [pal-cvs 3042] [786] display complated value for property. Message-ID: <1200977872.343622.13912.nullmailer@users.sourceforge.jp> Revision: 786 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=786 Author: shinsuke Date: 2008-01-22 13:57:52 +0900 (Tue, 22 Jan 2008) Log Message: ----------- display complated value for property. Modified Paths: -------------- pal-admin/branches/pal-admin-0.4/pom.xml pal-admin/branches/pal-admin-0.4/src/main/webapp/view/site/portletPropertyEditor.html -------------- next part -------------- Modified: pal-admin/branches/pal-admin-0.4/pom.xml =================================================================== --- pal-admin/branches/pal-admin-0.4/pom.xml 2008-01-22 03:04:00 UTC (rev 785) +++ pal-admin/branches/pal-admin-0.4/pom.xml 2008-01-22 04:57:52 UTC (rev 786) @@ -3,7 +3,7 @@ 4.0.0 jp.sf.pal pal-admin - 0.4.1 + 0.4.2 war Administration tools for PAL Portal Modified: pal-admin/branches/pal-admin-0.4/src/main/webapp/view/site/portletPropertyEditor.html =================================================================== --- pal-admin/branches/pal-admin-0.4/src/main/webapp/view/site/portletPropertyEditor.html 2008-01-22 03:04:00 UTC (rev 785) +++ pal-admin/branches/pal-admin-0.4/src/main/webapp/view/site/portletPropertyEditor.html 2008-01-22 04:57:52 UTC (rev 786) @@ -74,7 +74,7 @@ N - V + V
    From svnnotify @ sourceforge.jp Fri Jan 25 16:23:52 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 25 Jan 2008 16:23:52 +0900 Subject: [pal-cvs 3043] [787] created libraries. Message-ID: <1201245832.613604.3564.nullmailer@users.sourceforge.jp> Revision: 787 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=787 Author: shinsuke Date: 2008-01-25 16:23:52 +0900 (Fri, 25 Jan 2008) Log Message: ----------- created libraries. Added Paths: ----------- pompei/libraries/ -------------- next part -------------- From svnnotify @ sourceforge.jp Fri Jan 25 16:24:46 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 25 Jan 2008 16:24:46 +0900 Subject: [pal-cvs 3044] [788] created pompei-db-h2. Message-ID: <1201245886.276265.4573.nullmailer@users.sourceforge.jp> Revision: 788 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=788 Author: shinsuke Date: 2008-01-25 16:24:46 +0900 (Fri, 25 Jan 2008) Log Message: ----------- created pompei-db-h2. Added Paths: ----------- pompei/libraries/pompei-db-h2/ -------------- next part -------------- From svnnotify @ sourceforge.jp Fri Jan 25 16:24:59 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 25 Jan 2008 16:24:59 +0900 Subject: [pal-cvs 3045] [789] created trunk. Message-ID: <1201245899.718986.4638.nullmailer@users.sourceforge.jp> Revision: 789 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=789 Author: shinsuke Date: 2008-01-25 16:24:59 +0900 (Fri, 25 Jan 2008) Log Message: ----------- created trunk. Added Paths: ----------- pompei/libraries/pompei-db-h2/trunk/ -------------- next part -------------- From svnnotify @ sourceforge.jp Fri Jan 25 18:55:30 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 25 Jan 2008 18:55:30 +0900 Subject: [pal-cvs 3046] [790] initial code. Message-ID: <1201254930.750808.4658.nullmailer@users.sourceforge.jp> Revision: 790 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=790 Author: shinsuke Date: 2008-01-25 18:55:29 +0900 (Fri, 25 Jan 2008) Log Message: ----------- initial code. Added Paths: ----------- pompei/libraries/pompei-db-h2/trunk/.classpath pompei/libraries/pompei-db-h2/trunk/.project pompei/libraries/pompei-db-h2/trunk/.settings/ pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.core.resources.prefs pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.core.prefs pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.ui.prefs pompei/libraries/pompei-db-h2/trunk/.settings/org.seasar.dblauncher.prefs pompei/libraries/pompei-db-h2/trunk/dbflute/ pompei/libraries/pompei-db-h2/trunk/dbflute/_project.bat pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/ pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop pompei/libraries/pompei-db-h2/trunk/dbflute/doc.bat pompei/libraries/pompei-db-h2/trunk/dbflute/doc.sh pompei/libraries/pompei-db-h2/trunk/dbflute/generate.bat pompei/libraries/pompei-db-h2/trunk/dbflute/generate.sh pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.bat pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.sh pompei/libraries/pompei-db-h2/trunk/dbflute/log/ pompei/libraries/pompei-db-h2/trunk/dbflute/log/readme.txt pompei/libraries/pompei-db-h2/trunk/dbflute/output/ pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/ pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/readme.txt pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.bat pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.sh pompei/libraries/pompei-db-h2/trunk/dbflute/playsql/ pompei/libraries/pompei-db-h2/trunk/dbflute/playsql/replace-schema.sql pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.bat pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.sh pompei/libraries/pompei-db-h2/trunk/dbflute/schema/ pompei/libraries/pompei-db-h2/trunk/dbflute/schema/readme.txt pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.bat pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.sh pompei/libraries/pompei-db-h2/trunk/mydbflute/ pompei/libraries/pompei-db-h2/trunk/pom.xml pompei/libraries/pompei-db-h2/trunk/src/ pompei/libraries/pompei-db-h2/trunk/src/main/ pompei/libraries/pompei-db-h2/trunk/src/main/config/ pompei/libraries/pompei-db-h2/trunk/src/main/config/pompei.clay pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/ pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql pompei/libraries/pompei-db-h2/trunk/src/main/java/ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/ pompei/libraries/pompei-db-h2/trunk/src/main/java/jp/sf/pal/ pompei/libraries/pompei-db-h2/trunk/src/test/ pompei/libraries/pompei-db-h2/trunk/src/test/java/ pompei/libraries/pompei-db-h2/trunk/src/test/java/jp/ pompei/libraries/pompei-db-h2/trunk/src/test/java/jp/sf/ pompei/libraries/pompei-db-h2/trunk/src/test/java/jp/sf/pal/ pompei/libraries/pompei-db-h2/trunk/src/test/resources/ -------------- next part -------------- Added: pompei/libraries/pompei-db-h2/trunk/.classpath =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.classpath 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.classpath 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: pompei/libraries/pompei-db-h2/trunk/.classpath ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/.project =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.project 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.project 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,16 @@ + + pompei-db-h2 + DB Library for constructing EC site + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.jdt.core.javanature + org.seasar.dolteng.eclipse.nature + com.sysdeo.eclipse.tomcat.tomcatnature + + \ No newline at end of file Property changes on: pompei/libraries/pompei-db-h2/trunk/.project ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.core.resources.prefs =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.core.resources.prefs 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.core.resources.prefs 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,3 @@ +#Tue Jul 10 17:41:29 JST 2007 +eclipse.preferences.version=1 +encoding/=UTF-8 Added: pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.core.prefs =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.core.prefs 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.core.prefs 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,262 @@ +#Tue Jul 24 13:39:37 JST 2007 +eclipse.preferences.version=1 +instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=1 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=false +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false +org.eclipse.jdt.core.formatter.comment.format_line_comments=false +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=80 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true Added: pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.ui.prefs =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,6 @@ +#Thu Oct 11 09:30:41 JST 2007 +eclipse.preferences.version=1 +formatter_profile=_Seasar +formatter_settings_version=11 +instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true +org.eclipse.jdt.ui.text.custom_code_templates= Added: pompei/libraries/pompei-db-h2/trunk/.settings/org.seasar.dblauncher.prefs =================================================================== --- pompei/libraries/pompei-db-h2/trunk/.settings/org.seasar.dblauncher.prefs 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/.settings/org.seasar.dblauncher.prefs 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,5 @@ +#Sun Aug 26 07:25:38 JST 2007 +baseDir=/pompei-core/target/test-classes/data +dbPortNo=9093 +eclipse.preferences.version=1 +webPortNo=8083 Added: pompei/libraries/pompei-db-h2/trunk/dbflute/_project.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/_project.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/_project.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,5 @@ + @ echo off + +set MY_PROJECT_NAME=pompei + +set DBFLUTE_HOME=..\mydbflute\dbflute-0.6.1 Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/_project.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,6 @@ +#!/bin/sh + +export MY_PROJECT_NAME=pompei + +#export DBFLUTE_HOME=../mydbflute/dbflute-0.6.1 +export DBFLUTE_HOME=../mydbflute/dbflute-0.5.6 Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,230 @@ +# ======================================================================================= +# for All +# ======= + +# ------------------------------------------------------------------- +# P R O J E C T +# ------------------------------------------------------------------- +# @FirstProperty +# @Required +torque.project = pompei + +# ------------------------------------------------------------------- +# T A R G E T D A T A B A S E +# ------------------------------------------------------------------- +# This is the target database, only considered when generating +# the SQL for your Torque project. Your possible choices are: +# +# axion, cloudscape, db2, db2400, hypersonic, interbase, mssql, +# mysql, oracle, postgresql, sapdb, sybase, firebird, derby, h2 +# ------------------------------------------------------------------- +# @FirstProperty +# @Required +torque.database = h2 + +# ------------------------------------------------------------------- +# T A R G E T L A N G U A G E +# ------------------------------------------------------------------- +# (Default 'java') +# The target language. Your possible choices are: +# java, csharp +# ------------------------------------------------------------------- +# @FirstProperty +#torque.targetLanguage = java + + + +# ======================================================================================= +# for OM task +# =========== + +# _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ +# Basic +# _/_/_/_/ +# /--------------------------------------------------------------------------- +# [Output Directory] +# java.dir: (Default '../src/main/java') +# The base output directory. +# +# If this value is '../src/main/java' and your project stype is under maven, +# you don't need to set up this property! +# +# {project} +# | +# |-dbflute_ldb +# | |-build-ldb.properties +# | |-... +# | +# |-src/main/java // *Here! +# |-src/main/resources +# |-... +# +# +# @FirstProperty +#torque.java.dir = ../src/main/java +# ----------------/ + +# _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ +# Package +# _/_/ +# /--------------------------------------------------------------------------- +# [EntityDao Package] +# packageBase: (Default '') +# The base directory of package. +# +# *If this property is specified and other package properties is not specified, +# Then The packages of generated class are as follows: +# +# ex) packageBase = org.seasar.dbflute.example.dbflute.ldb +# baseCommonPackage --> org.seasar.dbflute.example.dbflute.ldb.allcommon +# baseBehaviorPackage --> org.seasar.dbflute.example.dbflute.ldb.bsbhv +# baseDaoPackage --> org.seasar.dbflute.example.dbflute.ldb.bsdao +# baseEntityPackage --> org.seasar.dbflute.example.dbflute.ldb.bsentity +# conditionBeanPackage --> org.seasar.dbflute.example.dbflute.ldb.cbean +# extendedBehaviorPackage --> org.seasar.dbflute.example.dbflute.ldb.exbhv +# extendedDaoPackage --> org.seasar.dbflute.example.dbflute.ldb.exdao +# extendedEntityPackage --> org.seasar.dbflute.example.dbflute.ldb.exentity +# +# *If this property is not specified, you should specify the other package properties. +# +# +# baseCommonPackage: (Default Java:'allcommon' C#:'allcommon') +# baseBehaviorPackage: (Default Java:'bsbhv' C#:'bsbhv') +# baseDaoPackage: (Default Java:'bsdao' C#:'bsdao') +# baseEntityPackage: (Default Java:'bsentity' C#:'bsentity') +# conditionBeanPackage: (Default Java:'cbean' C#:'cbean') +# extendedBehaviorPackage: (Default Java:'exbhv' C#:'exbhv') +# extendedDaoPackage: (Default Java:'exdao' C#:'exdao') +# extendedEntityPackage: (Default Java:'exentity' C#:'exentity') +# +# @FirstProperty +torque.packageBase = jp.sf.pal.pompei +# ----------------/ + +# _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ +# S2Dao Adjustment +# _/_/_/_/_/_/ +# /--------------------------------------------------------------------------- +# [S2Dao Version] +# s2daoVersion: (Default [The latest version]) +# +# @JavaOnly +torque.s2daoVersion = 1.0.47 +# ----------------/ + + + +# ======================================================================================= +# for JDBC task +# ============= + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# [Database Informaition] +# +# * * * * * * * * * * * * * * * * * * * * * * * * * +# You shuold use './dfprop/databaseInfoMap.dfprop' +# Look the file! +# * * * * * * * * * * * * * * * * * * * * * * * * * +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +# _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ +# Adavance +# _/_/ + +# /--------------------------------------------------------------------------- +# [Sequence] +# sequenceDefinitionMap: (Default 'map:{}') +# The method 'XxxDao#selectNextVal()' is generated for its table primary key. +# +# ex) public String selectNextVal_SQL = "select gen_id(BOOK_BOOK_ID_INC, 1) from RDB$DATABASE"; +# public java.math.BigDecimal selectNextVal(); +# // This example is for the database of Firebird +# +# sequenceReturnType: (Default 'java.math.BigDecimal') +# The return type of The method 'XxxDao#selectNextVal()'. +# + +# +# *Apache Derby does not support Sequence-Object. +# But I want to test this property. +# +#torque.sequenceDefinitionMap = map:{ \ +# prodcts = PRODUCTS_PRODUCTS_ID_INC \ +# } + +#torque.sequenceReturnType = java.lang.Integer +# [Additional ForeignKey] +torque.additionalForeignKeyMap = map:{ \ + FK_FROM_CATEGORY_TO_CATEGORY = map:{ localTableName = CATEGORY; localColumnName = PARENT_CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \ + ;FK_FROM_MANUFACTURER_TO_FILE_DATA = map:{ localTableName = MANUFACTURER; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \ + ;FK_FROM_CUSTOMER_TO_ORDER_FORM = map:{ localTableName = ORDER_FORM; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_ORDER_FORM_TO_ORDER_STATUS = map:{ localTableName = ORDER_FORM; localColumnName = ORDER_STATUS_ID; foreignTableName = ORDER_STATUS; foreignColumnName = ORDER_STATUS_ID } \ + ;FK_FROM_PRODUCT_TO_MANUFACTURER = map:{ localTableName = PRODUCT; localColumnName = MANUFACTURER_ID; foreignTableName = MANUFACTURER; foreignColumnName = MANUFACTURER_ID } \ + ;FK_FROM_PRODUCT_TO_FILE_DATA = map:{ localTableName = PRODUCT; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \ + ;FK_FROM_PRODUCT_TO_DELIVERY_TYPE = map:{ localTableName = PRODUCT; localColumnName = DELIVERY_TYPE_ID; foreignTableName = DELIVERY_TYPE; foreignColumnName = DELIVERY_TYPE_ID } \ + ;FK_FROM_PRODUCT_TO_TAX_TYPE = map:{ localTableName = PRODUCT; localColumnName = TAX_TYPE_ID; foreignTableName = TAX_TYPE; foreignColumnName = TAX_TYPE_ID } \ + ;FK_FROM_BASKET_TO_CUSTOMER = map:{ localTableName = BASKET; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_BASKET_TO_PRODUCT = map:{ localTableName = BASKET; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_REVIEW_TO_CUSTOMER = map:{ localTableName = REVIEW; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_REVIEW_TO_PRODUCT = map:{ localTableName = REVIEW; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_OPTION_TO_PRODUCT = map:{ localTableName = PRODUCT_OPTION; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_ORDER_PRODUCT_TO_ORDER_FORM = map:{ localTableName = ORDER_PRODUCT; localColumnName = ORDER_FORM_ID; foreignTableName = ORDER_FORM; foreignColumnName = ORDER_FORM_ID } \ + ;FK_FROM_ORDER_PRODUCT_TO_PRODUCT = map:{ localTableName = ORDER_PRODUCT; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_OPTION_VALUE_TO_PRODUCT_OPTION = map:{ localTableName = PRODUCT_OPTION_VALUE; localColumnName = PRODUCT_OPTION_ID; foreignTableName = PRODUCT_OPTION; foreignColumnName = PRODUCT_OPTION_ID } \ + ;FK_FROM_DELIVERY_METHOD_DESCRIPTION_TO_DELIVERY_METHOD = map:{ localTableName = DELIVERY_METHOD_DESCRIPTION; localColumnName = DELIVERY_METHOD_ID; foreignTableName = DELIVERY_METHOD; foreignColumnName = DELIVERY_METHOD_ID } \ + ;FK_FROM_ORDERS_STATUS_HISTORY_TO_ORDER_FORM = map:{ localTableName = ORDER_STATUS_HISTORY; localColumnName = ORDER_FORM_ID; foreignTableName = ORDER_FORM; foreignColumnName = ORDER_FORM_ID } \ + ;FK_FROM_ORDER_STATUS_HISTORY_TO_ORDER_FORM = map:{ localTableName = ORDER_STATUS_HISTORY; localColumnName = ORDER_STATUS_ID; foreignTableName = ORDER_STATUS; foreignColumnName = ORDER_STATUS_ID } \ + ;FK_FROM_ORDER_COMMENT_TO_ORDER_FORM = map:{ localTableName = ORDER_COMMENT; localColumnName = ORDER_FORM_ID; foreignTableName = ORDER_FORM; foreignColumnName = ORDER_FORM_ID } \ + ;FK_FROM_PRODUCT_DESCRIPTION_TO_PRODUCT = map:{ localTableName = PRODUCT_DESCRIPTION; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_NOTIFICATION_TO_CUSTOMER = map:{ localTableName = PRODUCT_NOTIFICATION; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_PRODUCT_NOTIFICATION_TO_PRODUCT = map:{ localTableName = PRODUCT_NOTIFICATION; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_TO_CATEGORY_TO_PRODUCT = map:{ localTableName = PRODUCT_TO_CATEGORY; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_TO_CATEGORY_TO_CATEGORY = map:{ localTableName = PRODUCT_TO_CATEGORY; localColumnName = CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \ + ;FK_FROM_REVIEW_DESCRIPTION_TO_REVIEW = map:{ localTableName = REVIEW_DESCRIPTION; localColumnName = REVIEW_ID; foreignTableName = REVIEW; foreignColumnName = REVIEW_ID } \ + ;FK_FROM_BARGAIN_TO_PRODUCT = map:{ localTableName = BARGAIN; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_ORDER_STATUS_DESCRIPTION_TO_ORDER_STATUS = map:{ localTableName = ORDER_STATUS_DESCRIPTION; localColumnName = ORDER_STATUS_ID; foreignTableName = ORDER_STATUS; foreignColumnName = ORDER_STATUS_ID } \ + ;FK_FROM_PAYMENT_METHOD_DESCRIPTION_TO_PAYMENT_METHOD = map:{ localTableName = PAYMENT_METHOD_DESCRIPTION; localColumnName = PAYMENT_METHOD_ID; foreignTableName = PAYMENT_METHOD; foreignColumnName = PAYMENT_METHOD_ID } \ + ;FK_FROM_CARD_TYPES_DESCRIPTION_TO_CARD_TYPE = map:{ localTableName = CARD_TYPE_DESCRIPTION; localColumnName = CARD_TYPE_ID; foreignTableName = CARD_TYPE; foreignColumnName = CARD_TYPE_ID } \ + ;FK_FROM_ORDER_CARD_INFO_TO_CARD_TYPE = map:{ localTableName = ORDER_CARD_INFO; localColumnName = CARD_TYPE_ID; foreignTableName = CARD_TYPE; foreignColumnName = CARD_TYPE_ID } \ + ;FK_FROM_ORDER_NOTIFICATION_TO_ORDER_STATUS = map:{ localTableName = ORDER_NOTIFICATION; localColumnName = ORDER_STATUS_ID; foreignTableName = ORDER_STATUS; foreignColumnName = ORDER_STATUS_ID } \ + ;FK_FROM_MANUFACTURER_DESCRIPTION_TO_MANUFACTURER = map:{ localTableName = MANUFACTURER_DESCRIPTION; localColumnName = MANUFACTURER_ID; foreignTableName = MANUFACTURER; foreignColumnName = MANUFACTURER_ID } \ + ;FK_FROM_CATEGORY_INFO_TO_CATEGORY = map:{ localTableName = CATEGORY_INFO; localColumnName = CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \ + ;FK_FROM_CATEGORY_CONTENT_TO_CATEGORY = map:{ localTableName = CATEGORY_CONTENT; localColumnName = CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \ + ;FK_FROM_PRODUCT_INFO_TO_PRODUCT = map:{ localTableName = PRODUCT_INFO; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_PRODUCT_CONTENT_TO_PRODUCT = map:{ localTableName = PRODUCT_CONTENT; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_ORDER_DELIVERY_TO_ORDER_FORM = map:{ localTableName = ORDER_DELIVERY; localColumnName = ORDER_FORM_ID; foreignTableName = ORDER_FORM; foreignColumnName = ORDER_FORM_ID } \ + ;FK_FROM_ORDER_DELIVERY_TO_DELIVERY_STATUS = map:{ localTableName = ORDER_DELIVERY; localColumnName = DELIVERY_STATUS_ID; foreignTableName = DELIVERY_STATUS; foreignColumnName = DELIVERY_STATUS_ID } \ + ;FK_FROM_ORDER_DELIVERY_TO_DELIVERY_METHOD = map:{ localTableName = ORDER_DELIVERY; localColumnName = DELIVERY_METHOD_ID; foreignTableName = DELIVERY_METHOD; foreignColumnName = DELIVERY_METHOD_ID } \ + ;FK_FROM_ORDER_DELIVERY_TO_COUNTRY = map:{ localTableName = ORDER_DELIVERY; localColumnName = DELIVERY_COUNTRY_ID; foreignTableName = COUNTRY; foreignColumnName = COUNTRY_ID } \ + ;FK_FROM_ORDER_DELIVERY_TO_DELIVERY_ZONE = map:{ localTableName = ORDER_DELIVERY; localColumnName = DELIVERY_ZONE_ID; foreignTableName = DELIVERY_ZONE; foreignColumnName = DELIVERY_ZONE_ID } \ + ;FK_FROM_ORDER_PAYMENT_TO_ORDER_FORM = map:{ localTableName = ORDER_PAYMENT; localColumnName = ORDER_FORM_ID; foreignTableName = ORDER_FORM; foreignColumnName = ORDER_FORM_ID } \ + ;FK_FROM_ORDER_PAYMENT_TO_PAYMENT_METHOD = map:{ localTableName = ORDER_PAYMENT; localColumnName = PAYMENT_METHOD_ID; foreignTableName = PAYMENT_METHOD; foreignColumnName = PAYMENT_METHOD_ID } \ + ;FK_FROM_ORDER_PAYMENT_TO_PAYMENT_STATUS = map:{ localTableName = ORDER_PAYMENT; localColumnName = PAYMENT_STATUS_ID; foreignTableName = PAYMENT_STATUS; foreignColumnName = PAYMENT_STATUS_ID } \ + ;FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_TAG = map:{ localTableName = FILE_TAG_TO_FILE_DATA; localColumnName = FILE_TAG_ID; foreignTableName = FILE_TAG; foreignColumnName = FILE_TAG_ID } \ + ;FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_DATA = map:{ localTableName = FILE_TAG_TO_FILE_DATA; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \ + ;FK_FROM_IMAGE_DATA_TO_FILE_DATA = map:{ localTableName = IMAGE_DATA; localColumnName = FILE_DATA_ID; foreignTableName = FILE_DATA; foreignColumnName = FILE_DATA_ID } \ + ;FK_FROM_CATEGORY_DESCRIPTION_TO_CATEGORY = map:{ localTableName = CATEGORY_DESCRIPTION; localColumnName = CATEGORY_ID; foreignTableName = CATEGORY; foreignColumnName = CATEGORY_ID } \ + ;FK_FROM_PRODUCT_OPTION_DESCRIPTION_TO_PRODUCT_OPTION = map:{ localTableName = PRODUCT_OPTION_DESCRIPTION; localColumnName = PRODUCT_OPTION_ID; foreignTableName = PRODUCT_OPTION; foreignColumnName = PRODUCT_OPTION_ID } \ + ;FK_FROM_PRODUCT_OPTION_VALUE_DESCRIPTION_TO_PRODUCT_OPTION_VALUE = map:{ localTableName = PRODUCT_OPTION_VALUE_DESCRIPTION; localColumnName = PRODUCT_OPTION_VALUE_ID; foreignTableName = PRODUCT_OPTION_VALUE; foreignColumnName = PRODUCT_OPTION_VALUE_ID } \ + ;FK_FROM_BASKET_PRODUCT_OPTION_TO_BASKET = map:{ localTableName = BASKET_PRODUCT_OPTION; localColumnName = BASKET_ID; foreignTableName = BASKET; foreignColumnName = BASKET_ID } \ + ;FK_FROM_BASKET_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE = map:{ localTableName = BASKET_PRODUCT_OPTION; localColumnName = PRODUCT_OPTION_VALUE_ID; foreignTableName = PRODUCT_OPTION_VALUE; foreignColumnName = PRODUCT_OPTION_VALUE_ID } \ + ;FK_FROM_PRODUCT_STATS_TO_PRODUCT = map:{ localTableName = PRODUCT_STATS; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_FAVORITE_PRODUCT_TO_PRODUCT = map:{ localTableName = FAVORITE_PRODUCT; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_FAVORITE_PRODUCT_TO_CUSTOMER = map:{ localTableName = FAVORITE_PRODUCT; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_ORDER_PRODUCT_OPTION_TO_ORDER_PRODUCT = map:{ localTableName = ORDER_PRODUCT_OPTION; localColumnName = ORDER_PRODUCT_ID; foreignTableName = ORDER_PRODUCT; foreignColumnName = ORDER_PRODUCT_ID } \ + ;FK_FROM_ORDER_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE = map:{ localTableName = ORDER_PRODUCT_OPTION; localColumnName = PRODUCT_OPTION_VALUE_ID; foreignTableName = PRODUCT_OPTION_VALUE; foreignColumnName = PRODUCT_OPTION_VALUE_ID } \ + ;FK_FROM_PRODUCT_ATTRIBUTE_TO_PRODUCT = map:{ localTableName = PRODUCT_ATTRIBUTE; localColumnName = PRODUCT_ID; foreignTableName = PRODUCT; foreignColumnName = PRODUCT_ID } \ + ;FK_FROM_DELIVERY_STATUS_DESCRIPTION_TO_DELIVERY_STATUS = map:{ localTableName = DELIVERY_STATUS_DESCRIPTION; localColumnName = DELIVERY_STATUS_ID; foreignTableName = DELIVERY_STATUS; foreignColumnName = DELIVERY_STATUS_ID } \ + ;FK_FROM_PAYMENT_STATUS_DESCRIPTION_PAYMENT_STATUS = map:{ localTableName = PAYMENT_STATUS_DESCRIPTION; localColumnName = PAYMENT_STATUS_ID; foreignTableName = PAYMENT_STATUS; foreignColumnName = PAYMENT_STATUS_ID } \ + ;FK_FROM_DELIVERY_TYPE_DESCRIPTION_TO_DELIVERY_TYPE = map:{ localTableName = DELIVERY_TYPE_DESCRIPTION; localColumnName = DELIVERY_TYPE_ID; foreignTableName = DELIVERY_TYPE; foreignColumnName = DELIVERY_TYPE_ID } \ + ;FK_FROM_COUNTRY_DESCRIPTION_TO_COUNTRY = map:{ localTableName = COUNTRY_DESCRIPTION; localColumnName = COUNTRY_ID; foreignTableName = COUNTRY; foreignColumnName = COUNTRY_ID } \ + ;FK_FROM_TAX_TYPE_DESCRIPTION_TO_TAX_TYPE = map:{ localTableName = TAX_TYPE_DESCRIPTION; localColumnName = TAX_TYPE_ID; foreignTableName = TAX_TYPE; foreignColumnName = TAX_TYPE_ID } \ + ;FK_FROM_DELIVERY_ZONE_DESCRIPTION_TO_DELIVERY_ZONE = map:{ localTableName = DELIVERY_ZONE_DESCRIPTION; localColumnName = DELIVERY_ZONE_ID; foreignTableName = DELIVERY_ZONE; foreignColumnName = DELIVERY_ZONE_ID } \ + ;FK_FROM_ADDRESS_BOOK_TO_DELIVERY_ZONE = map:{ localTableName = ADDRESS_BOOK; localColumnName = DELIVERY_ZONE_ID; foreignTableName = DELIVERY_ZONE; foreignColumnName = DELIVERY_ZONE_ID } \ + ;FK_FROM_ADDRESS_BOOK_TO_CUSTOMER = map:{ localTableName = ADDRESS_BOOK; localColumnName = CUSTOMER_ID; foreignTableName = CUSTOMER; foreignColumnName = CUSTOMER_ID } \ + ;FK_FROM_ADDRESS_BOOK_TO_COUNTRY = map:{ localTableName = ADDRESS_BOOK; localColumnName = COUNTRY_ID; foreignTableName = COUNTRY; foreignColumnName = COUNTRY_ID } \ +} + + + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/build-pompei.properties ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,18 @@ +# /--------------------------------------------------------------------------- +# [Database Information] +# databaseInfoMap: +# driver -- The class name of JDBC-Driver. +# url -- The url for connecting database. +# schema -- The schema name. +# user -- The database user name. +# password -- The database password. +# +# @FirstProperty +map:{ + ; driver = org.h2.Driver + ; url = jdbc:h2:file:../src/config/db/pompei; + ; schema = + ; user = sa + ; password = +} +# ----------------/ Added: pompei/libraries/pompei-db-h2/trunk/dbflute/doc.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/doc.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/doc.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,17 @@ + @ echo off + +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {Document}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-doc.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/doc.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/doc.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/doc.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/doc.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,14 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH=build-${MY_PROJECT_NAME}.properties + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {Document}." +echo "nnnnnnnnnn/" +sh $DBFLUTE_HOME/etc/cmd/_df-doc.sh $MY_PROPERTIES_PATH + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/doc.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/generate.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/generate.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/generate.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,17 @@ + @ echo off + +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {Generate}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-generate.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/generate.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/generate.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/generate.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/generate.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,16 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH=build-${MY_PROJECT_NAME}.properties + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {Generate}." +echo "nnnnnnnnnn/" +sh $DBFLUTE_HOME/etc/cmd/_df-generate.sh $MY_PROPERTIES_PATH + + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/generate.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,15 @@ + @ echo off +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {JDBC and Document}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-jdbc.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,15 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH="build-${MY_PROJECT_NAME}.properties" + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {JDBC and Document}." +echo "nnnnnnnnnn/" +sh ${DBFLUTE_HOME}/etc/cmd/_df-jdbc.sh ${MY_PROPERTIES_PATH} + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/jdbc.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/log/readme.txt =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/log/readme.txt 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/log/readme.txt 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1 @@ +Directory for LogFile Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/log/readme.txt ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/readme.txt =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/readme.txt 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/readme.txt 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1 @@ +Directory for Document Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/output/doc/readme.txt ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,17 @@ + @ echo off + +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {Outsite-Sql-Test}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-outside-sql-test.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,15 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH=build-${MY_PROJECT_NAME}.properties + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {Outsite-Sql-Test}." +echo "nnnnnnnnnn/" +sh $DBFLUTE_HOME/etc/cmd/_df-outside-sql-test.sh $MY_PROPERTIES_PATH + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/outside-sql-test.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/playsql/replace-schema.sql =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/playsql/replace-schema.sql 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/playsql/replace-schema.sql 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,418 @@ +ALTER TABLE BLACK_ACTION DROP CONSTRAINT FK_BLACK_ACTION_BLACK_LIST +; + +ALTER TABLE BLACK_ACTION DROP CONSTRAINT FK_BLACK_ACTION_LOOKUP +; + +ALTER TABLE BLACK_LIST DROP CONSTRAINT FK_BLACK_LIST_LB_USER +; + +ALTER TABLE BOOK DROP CONSTRAINT FK_BOOK_AUTHOR +; + +ALTER TABLE BOOK DROP CONSTRAINT FK_BOOK_PUBLISHER +; + +ALTER TABLE BOOK DROP CONSTRAINT FK_BOOK_GENRE +; + +ALTER TABLE COLLECTION DROP CONSTRAINT FK_COLLECTION_BOOK +; + +ALTER TABLE COLLECTION DROP CONSTRAINT FK_COLLECTION_LIBRARY +; + +ALTER TABLE COLLECTION_STATUS DROP CONSTRAINT FK_COLLECTION_STATUS_COLLECTION +; + +ALTER TABLE COLLECTION_STATUS DROP CONSTRAINT FK_COLLECTION_STATUS_LOOKUP +; + +ALTER TABLE GENRE DROP CONSTRAINT FK_GENRE_GENRE +; + +ALTER TABLE LB_USER DROP CONSTRAINT FK_LB_USER_LIBRARY +; + +ALTER TABLE LENDING DROP CONSTRAINT FK_LENDING_LIBRARY +; + +ALTER TABLE LENDING DROP CONSTRAINT FK_LENDING_LB_USER +; + +ALTER TABLE LENDING_COLLECTION DROP CONSTRAINT FK_LENDING_COLLECTION_LENDING +; + +ALTER TABLE LENDING_COLLECTION DROP CONSTRAINT FK_LENDING_COLLECTION_COL +; + +ALTER TABLE NEXT_LIBRARY DROP CONSTRAINT FK_NEXT_LIBRARY_LIBRARY_ID +; + +ALTER TABLE NEXT_LIBRARY DROP CONSTRAINT FK_NEXT_LIBRARY_NEXT_LIBRARY_ID +; + + +DROP TABLE AUTHOR +; +DROP TABLE BLACK_ACTION +; +DROP TABLE BLACK_ACTION_LOOKUP +; +DROP TABLE BLACK_LIST +; +DROP TABLE BOOK +; +DROP TABLE COLLECTION +; +DROP TABLE COLLECTION_STATUS +; +DROP TABLE COLLECTION_STATUS_LOOKUP +; +DROP TABLE GARBAGE +; +DROP TABLE GENRE +; +DROP TABLE LB_USER +; +DROP TABLE LENDING +; +DROP TABLE LENDING_COLLECTION +; +DROP TABLE LIBRARY +; +DROP TABLE NEXT_LIBRARY +; +DROP TABLE PUBLISHER +; + +CREATE TABLE AUTHOR ( + AUTHOR_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + AUTHOR_NAME varchar(80) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE BLACK_ACTION ( + BLACK_ACTION_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + BLACK_LIST_ID integer NOT NULL, + BLACK_ACTION_CODE char(3) NOT NULL, + BLACK_LEVEL smallint NOT NULL, + EVIDENCE_PHOTOGRAPH blob, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE BLACK_ACTION_LOOKUP ( + BLACK_ACTION_CODE char(3) NOT NULL, + BLACK_ACTION_NAME varchar(80) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE BLACK_LIST ( + BLACK_LIST_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + LB_USER_ID integer NOT NULL, + BLACK_RANK char(3) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE BOOK ( + BOOK_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + ISBN_NO varchar(20) NOT NULL, + BOOK_NAME varchar(80) NOT NULL, + AUTHOR_ID integer NOT NULL, + PUBLISHER_ID integer NOT NULL, + MAX_LENDING_DATE_COUNT smallint NOT NULL, + GENRE_CODE varchar(12), + OPENING_PART clob, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE COLLECTION ( + COLLECTION_ID integer NOT NULL, + LIBRARY_ID smallint NOT NULL, + BOOK_ID integer NOT NULL, + ARRIVAL_DATE timestamp NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE COLLECTION_STATUS ( + COLLECTION_ID integer NOT NULL, + COLLECTION_STATUS_CODE char(3) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE COLLECTION_STATUS_LOOKUP ( + COLLECTION_STATUS_CODE char(3) NOT NULL, + COLLECTION_STATUS_NAME varchar(80) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE GARBAGE ( + GARBAGE_MEMO varchar(50), + GARBAGE_TIME timestamp +) +; + +CREATE TABLE GENRE ( + GENRE_CODE varchar(12) NOT NULL, + GENRE_NAME varchar(80) NOT NULL, + PARENT_GENRE_CODE varchar(12), + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE LB_USER ( + LB_USER_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + LB_USER_NAME varchar(80) NOT NULL, + LIBRARY_ID smallint NOT NULL, + USER_PASSWORD varchar(50) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE LENDING ( + LENDING_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + LIBRARY_ID smallint NOT NULL, + LB_USER_ID integer NOT NULL, + LENDING_DATE timestamp NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE LENDING_COLLECTION ( + LENDING_ID integer NOT NULL, + COLLECTION_ID integer NOT NULL, + RETURN_LIMIT_DATE timestamp NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE LIBRARY ( + LIBRARY_ID smallint NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + LIBRARY_NAME varchar(80) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE NEXT_LIBRARY ( + LIBRARY_ID smallint NOT NULL, + NEXT_LIBRARY_ID smallint NOT NULL, + DISTANCE_KM integer NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + +CREATE TABLE PUBLISHER ( + PUBLISHER_ID integer NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), + PUBLISHER_NAME varchar(80) NOT NULL, + R_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + U_TIME timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, + R_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL, + U_STAFF varchar(50) DEFAULT 'DefaultStaff' NOT NULL +) +; + + +ALTER TABLE AUTHOR ADD CONSTRAINT PK_AUTHOR + PRIMARY KEY (AUTHOR_ID) +; + +ALTER TABLE BLACK_ACTION ADD CONSTRAINT PK_BLACK_ACTION + PRIMARY KEY (BLACK_ACTION_ID) +; + +ALTER TABLE BLACK_ACTION_LOOKUP ADD CONSTRAINT PK_BLACK_ACTION_LOOKUP + PRIMARY KEY (BLACK_ACTION_CODE) +; + +ALTER TABLE BLACK_LIST ADD CONSTRAINT PK_BLACK_LIST + PRIMARY KEY (BLACK_LIST_ID) +; + +ALTER TABLE BOOK ADD CONSTRAINT PK_BOOK + PRIMARY KEY (BOOK_ID) +; + +ALTER TABLE COLLECTION ADD CONSTRAINT PK_COLLECTION + PRIMARY KEY (COLLECTION_ID) +; + +ALTER TABLE COLLECTION_STATUS ADD CONSTRAINT PK_COLLECTION_STATUS + PRIMARY KEY (COLLECTION_ID) +; + +ALTER TABLE COLLECTION_STATUS_LOOKUP ADD CONSTRAINT PK_COLLECTION_STATUS_LOOKUP + PRIMARY KEY (COLLECTION_STATUS_CODE) +; + +ALTER TABLE GENRE ADD CONSTRAINT PK_GENRE + PRIMARY KEY (GENRE_CODE) +; + +ALTER TABLE LB_USER ADD CONSTRAINT PK_LB_USER + PRIMARY KEY (LB_USER_ID) +; + +ALTER TABLE LENDING ADD CONSTRAINT PK_LENDING + PRIMARY KEY (LENDING_ID) +; + +ALTER TABLE LENDING_COLLECTION ADD CONSTRAINT PK_LENDING_COLLECTION + PRIMARY KEY (LENDING_ID, COLLECTION_ID) +; + +ALTER TABLE LIBRARY ADD CONSTRAINT PK_LIBRARY + PRIMARY KEY (LIBRARY_ID) +; + +ALTER TABLE NEXT_LIBRARY ADD CONSTRAINT PK_NEXT_LIBRARY + PRIMARY KEY (LIBRARY_ID, NEXT_LIBRARY_ID) +; + +ALTER TABLE PUBLISHER ADD CONSTRAINT PK_PUBLISHER + PRIMARY KEY (PUBLISHER_ID) +; + + +ALTER TABLE BOOK + ADD CONSTRAINT UQ_BOOK_ISBN_NO UNIQUE (ISBN_NO) +; + +ALTER TABLE COLLECTION + ADD CONSTRAINT UQ_COLLECTION_Primary UNIQUE (LIBRARY_ID, BOOK_ID) +; + +ALTER TABLE LENDING + ADD CONSTRAINT UQ_LENDING_Primary UNIQUE (LIBRARY_ID, LB_USER_ID) +; + +ALTER TABLE BLACK_LIST + ADD CONSTRAINT UQ_BLACK_LIST_LB_USER_ID UNIQUE (LB_USER_ID) +; + +ALTER TABLE LIBRARY + ADD CONSTRAINT UQ_LIBRARY_LIBRARY_NAME UNIQUE (LIBRARY_NAME) +; + + + +ALTER TABLE BLACK_ACTION ADD CONSTRAINT FK_BLACK_ACTION_BLACK_LIST + FOREIGN KEY (BLACK_LIST_ID) REFERENCES BLACK_LIST (BLACK_LIST_ID) +; + +ALTER TABLE BLACK_ACTION ADD CONSTRAINT FK_BLACK_ACTION_LOOKUP + FOREIGN KEY (BLACK_ACTION_CODE) REFERENCES BLACK_ACTION_LOOKUP (BLACK_ACTION_CODE) +; + +ALTER TABLE BLACK_LIST ADD CONSTRAINT FK_BLACK_LIST_LB_USER + FOREIGN KEY (LB_USER_ID) REFERENCES LB_USER (LB_USER_ID) +; + +ALTER TABLE BOOK ADD CONSTRAINT FK_BOOK_AUTHOR + FOREIGN KEY (AUTHOR_ID) REFERENCES AUTHOR (AUTHOR_ID) +; + +ALTER TABLE BOOK ADD CONSTRAINT FK_BOOK_PUBLISHER + FOREIGN KEY (PUBLISHER_ID) REFERENCES PUBLISHER (PUBLISHER_ID) +; + +ALTER TABLE BOOK ADD CONSTRAINT FK_BOOK_GENRE + FOREIGN KEY (GENRE_CODE) REFERENCES GENRE (GENRE_CODE) +; + +ALTER TABLE COLLECTION ADD CONSTRAINT FK_COLLECTION_BOOK + FOREIGN KEY (BOOK_ID) REFERENCES BOOK (BOOK_ID) +; + +ALTER TABLE COLLECTION ADD CONSTRAINT FK_COLLECTION_LIBRARY + FOREIGN KEY (LIBRARY_ID) REFERENCES LIBRARY (LIBRARY_ID) +; + +ALTER TABLE COLLECTION_STATUS ADD CONSTRAINT FK_COLLECTION_STATUS_COLLECTION + FOREIGN KEY (COLLECTION_ID) REFERENCES COLLECTION (COLLECTION_ID) +; + +ALTER TABLE COLLECTION_STATUS ADD CONSTRAINT FK_COLLECTION_STATUS_LOOKUP + FOREIGN KEY (COLLECTION_STATUS_CODE) REFERENCES COLLECTION_STATUS_LOOKUP (COLLECTION_STATUS_CODE) +; + +ALTER TABLE GENRE ADD CONSTRAINT FK_GENRE_GENRE + FOREIGN KEY (PARENT_GENRE_CODE) REFERENCES GENRE (GENRE_CODE) +; + +ALTER TABLE LB_USER ADD CONSTRAINT FK_LB_USER_LIBRARY + FOREIGN KEY (LIBRARY_ID) REFERENCES LIBRARY (LIBRARY_ID) +; + +ALTER TABLE LENDING ADD CONSTRAINT FK_LENDING_LIBRARY + FOREIGN KEY (LIBRARY_ID) REFERENCES LIBRARY (LIBRARY_ID) +; + +ALTER TABLE LENDING ADD CONSTRAINT FK_LENDING_LB_USER + FOREIGN KEY (LB_USER_ID) REFERENCES LB_USER (LB_USER_ID) +; + +ALTER TABLE LENDING_COLLECTION ADD CONSTRAINT FK_LENDING_COLLECTION_LENDING + FOREIGN KEY (LENDING_ID) REFERENCES LENDING (LENDING_ID) +; + +ALTER TABLE LENDING_COLLECTION ADD CONSTRAINT FK_LENDING_COLLECTION_COL + FOREIGN KEY (COLLECTION_ID) REFERENCES COLLECTION (COLLECTION_ID) +; + +ALTER TABLE NEXT_LIBRARY ADD CONSTRAINT FK_NEXT_LIBRARY_LIBRARY_ID + FOREIGN KEY (LIBRARY_ID) REFERENCES LIBRARY (LIBRARY_ID) +; + +ALTER TABLE NEXT_LIBRARY ADD CONSTRAINT FK_NEXT_LIBRARY_NEXT_LIBRARY_ID + FOREIGN KEY (NEXT_LIBRARY_ID) REFERENCES LIBRARY (LIBRARY_ID) +; Added: pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,17 @@ + @ echo off + +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {Replace-Schema}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-replace-schema.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,15 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH=build-${MY_PROJECT_NAME}.properties + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {Replace-Schema}." +echo "nnnnnnnnnn/" +sh $DBFLUTE_HOME/etc/cmd/_df-replace-schema.sh $MY_PROPERTIES_PATH + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/replace-schema.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/schema/readme.txt =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/schema/readme.txt 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/schema/readme.txt 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1 @@ +Directory for SchemaFile Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/schema/readme.txt ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.bat =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.bat 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.bat 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,17 @@ + @ echo off + +call _project.bat + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Specify the file path to be used as build-properties. +rem nnnnnnnnnn/ +set MY_PROPERTIES_PATH=build-%MY_PROJECT_NAME%.properties + +rem /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn +rem Execute {Invoke Sql Directory}. +rem nnnnnnnnnn/ +call %DBFLUTE_HOME%\etc\cmd\_df-sql2entity.cmd %MY_PROPERTIES_PATH% + +pause + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.bat ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.sh 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.sh 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,15 @@ +#!/bin/sh + +. _project.sh + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Specify the file path to be used as build-properties." +echo "nnnnnnnnnn/" +export MY_PROPERTIES_PATH=build-${MY_PROJECT_NAME}.properties + +echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" +echo "Execute {Invoke Sql Directory}." +echo "nnnnnnnnnn/" +sh $DBFLUTE_HOME/etc/cmd/_df-sql2entity.sh $MY_PROPERTIES_PATH + + Property changes on: pompei/libraries/pompei-db-h2/trunk/dbflute/sql2entity.sh ___________________________________________________________________ Name: svn:executable + * Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/pom.xml =================================================================== --- pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,204 @@ + + + 4.0.0 + jp.sf.pal + pompei-db-h2 + jar + Pompei DB For H2 + 0.1.0-SNAPSHOT + DB Library for constructing EC site + http://pal.sourceforge.jp/ + 2005 + + + shinsuke + Shinsuke Sugaya + shinsuke_at_yahoo.co.jp + http://d.hatena.ne.jp/shinsuke_sugaya/ + + + +9 + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei + scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei + http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal/pompei/libraries/pompei-db + + + Portal Application Laboratory + http://pal.sourceforge.jp/ + + + validate + + + maven-compiler-plugin + + 1.5 + 1.5 + + + + maven-source-plugin + + + source-jar + package + + jar + + + + + + maven-antrun-plugin + + + com.h2database + h2 + 1.0.65 + + + + + create-db + clean + + + + + + + + + run + + + + + + + + + maven.seasar.org + The Seasar Foundation Maven2 Repository + http://maven.seasar.org/maven2 + + + + + maven.seasar.org + The Seasar Foundation Maven2 Repository + http://maven.seasar.org/maven2 + + + maven2.marevol.com + Maven2 Repository on marevol.com + http://maven2.marevol.com/ + + + + + junit + junit + 3.8.2 + compile + + + junit-addons + junit-addons + 1.4 + compile + + + log4j + log4j + 1.2.13 + provided + + + org.apache.geronimo.specs + geronimo-jsp_2.0_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-servlet_2.4_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-ejb_2.1_spec + 1.0 + provided + + + commons-collections + commons-collections + 3.1 + provided + + + org.seasar.container + s2-extension + 2.4.21 + + + org.seasar.container + s2-framework + 2.4.21 + + + org.seasar.container + s2-tiger + 2.4.21 + + + org.seasar.dao + s2-dao + 1.0.47 + + + org.seasar.dao + s2-dao-tiger + 1.0.47 + + + + com.h2database + h2 + 1.0.65 + provided + + + + org.apache.portals.jetspeed-2 + jetspeed-api + 2.1.3 + provided + + + Property changes on: pompei/libraries/pompei-db-h2/trunk/pom.xml ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db-h2/trunk/src/main/config/pompei.clay =================================================================== --- pompei/libraries/pompei-db-h2/trunk/src/main/config/pompei.clay 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/src/main/config/pompei.clay 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,5009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    Added: pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql =================================================================== --- pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql 2008-01-25 07:24:59 UTC (rev 789) +++ pompei/libraries/pompei-db-h2/trunk/src/main/config/sql/create_table.sql 2008-01-25 09:55:29 UTC (rev 790) @@ -0,0 +1,1004 @@ +DROP TABLE IF EXISTS ADDRESS_BOOK; +DROP TABLE IF EXISTS DELIVERY_ZONE_DESCRIPTION; +DROP TABLE IF EXISTS TAX_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS COUNTRY_DESCRIPTION; +DROP TABLE IF EXISTS DELIVERY_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS PAYMENT_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS DELIVERY_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_ATTRIBUTE; +DROP TABLE IF EXISTS ORDER_PRODUCT_OPTION; +DROP TABLE IF EXISTS FAVORITE_PRODUCT; +DROP TABLE IF EXISTS PRODUCT_STATS; +DROP TABLE IF EXISTS BASKET_PRODUCT_OPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_DESCRIPTION; +DROP TABLE IF EXISTS CATEGORY_DESCRIPTION; +DROP TABLE IF EXISTS IMAGE_DATA; +DROP TABLE IF EXISTS FILE_TAG_TO_FILE_DATA; +DROP TABLE IF EXISTS ORDER_PAYMENT; +DROP TABLE IF EXISTS ORDER_DELIVERY; +DROP TABLE IF EXISTS PRODUCT_CONTENT; +DROP TABLE IF EXISTS PRODUCT_INFO; +DROP TABLE IF EXISTS CATEGORY_CONTENT; +DROP TABLE IF EXISTS CATEGORY_INFO; +DROP TABLE IF EXISTS MANUFACTURER_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_NOTIFICATION; +DROP TABLE IF EXISTS ORDER_CARD_INFO; +DROP TABLE IF EXISTS CARD_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS PAYMENT_METHOD_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS BARGAIN; +DROP TABLE IF EXISTS REVIEW_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_TO_CATEGORY; +DROP TABLE IF EXISTS PRODUCT_NOTIFICATION; +DROP TABLE IF EXISTS PRODUCT_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_COMMENT; +DROP TABLE IF EXISTS ORDER_STATUS_HISTORY; +DROP TABLE IF EXISTS DELIVERY_METHOD_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE; +DROP TABLE IF EXISTS ORDER_PRODUCT; +DROP TABLE IF EXISTS PRODUCT_OPTION; +DROP TABLE IF EXISTS REVIEW; +DROP TABLE IF EXISTS BASKET; +DROP TABLE IF EXISTS PRODUCT; +DROP TABLE IF EXISTS ORDER_FORM; +DROP TABLE IF EXISTS MANUFACTURER; +DROP TABLE IF EXISTS CATEGORY; +DROP TABLE IF EXISTS CUSTOMER; +DROP TABLE IF EXISTS DELIVERY_ZONE; +DROP TABLE IF EXISTS COUNTRY; +DROP TABLE IF EXISTS DELIVERY_TYPE; +DROP TABLE IF EXISTS FILE_TAG; +DROP TABLE IF EXISTS DELIVERY_STATUS; +DROP TABLE IF EXISTS PAYMENT_STATUS; +DROP TABLE IF EXISTS FILE_DATA; +DROP TABLE IF EXISTS CARD_TYPE; +DROP TABLE IF EXISTS PAYMENT_METHOD; +DROP TABLE IF EXISTS TAX_TYPE; +DROP TABLE IF EXISTS ORDER_STATUS; +DROP TABLE IF EXISTS DELIVERY_METHOD; + +CREATE TABLE DELIVERY_METHOD ( + DELIVERY_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , OBJECT_NAME VARCHAR(128) NOT NULL + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_METHOD_ID) +); + +CREATE TABLE ORDER_STATUS ( + ORDER_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , TYPE INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (ORDER_STATUS_ID) +); + +CREATE TABLE TAX_TYPE ( + TAX_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , RATE DECIMAL(7, 4) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (TAX_TYPE_ID) +); + +CREATE TABLE PAYMENT_METHOD ( + PAYMENT_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , OBJECT_NAME VARCHAR(128) NOT NULL + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PAYMENT_METHOD_ID) +); + +CREATE TABLE CARD_TYPE ( + CARD_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CARD_TYPE_ID) +); + +CREATE TABLE FILE_DATA ( + FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(100) NOT NULL + , FILE_TYPE VARCHAR(10) NOT NULL + , STATUS INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (FILE_DATA_ID) +); + +CREATE TABLE PAYMENT_STATUS ( + PAYMENT_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PAYMENT_STATUS_ID) +); + +CREATE TABLE DELIVERY_STATUS ( + DELIVERY_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_STATUS_ID) +); + +CREATE TABLE FILE_TAG ( + FILE_TAG_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(100) NOT NULL + , PRIMARY KEY (FILE_TAG_ID) +); + +CREATE TABLE DELIVERY_TYPE ( + DELIVERY_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_TYPE_ID) +); + +CREATE TABLE COUNTRY ( + COUNTRY_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (COUNTRY_ID) +); + +CREATE TABLE DELIVERY_ZONE ( + DELIVERY_ZONE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_ZONE_ID) +); + +CREATE TABLE CUSTOMER ( + CUSTOMER_ID BIGINT NOT NULL AUTO_INCREMENT + , PORTAL_ID VARCHAR(255) NOT NULL + , GENDER CHAR(1) NOT NULL + , FIRSTNAME VARCHAR(40) NOT NULL + , LASTNAME VARCHAR(40) NOT NULL + , FIRSTNAME_DESCRIPTION VARCHAR(40) + , LASTNAME_DESCRIPTION VARCHAR(40) + , NICKNAME VARCHAR(64) + , DAY_OF_BIRTH DATE NOT NULL DEFAULT '0000-00-00 00:00:00' + , EMAIL_ADDRESS VARCHAR(128) NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_TIME TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID) +); + +CREATE TABLE CATEGORY ( + CATEGORY_ID INTEGER NOT NULL AUTO_INCREMENT + , PARENT_CATEGORY_ID INTEGER DEFAULT 0 + , NUM_OF_PRODUCT INTEGER + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CATEGORY_ID) +); + +CREATE TABLE MANUFACTURER ( + MANUFACTURER_ID INTEGER NOT NULL AUTO_INCREMENT + , FILE_DATA_ID BIGINT + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (MANUFACTURER_ID) +); + +CREATE TABLE ORDER_FORM ( + ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_NUMBER VARCHAR(40) NOT NULL + , CUSTOMER_ID BIGINT + , CUSTOMER_GENDER CHAR(1) NOT NULL + , CUSTOMER_FIRSTNAME VARCHAR(40) NOT NULL + , CUSTOMER_LASTNAME VARCHAR(40) NOT NULL + , CUSTOMER_FIRSTNAME_DESCRIPTION VARCHAR(40) + , CUSTOMER_LASTNAME_DESCRIPTION VARCHAR(40) + , CUSTOMER_DAY_OF_BIRTH DATE NOT NULL + , CUSTOMER_EMAIL_ADDRESS VARCHAR(200) NOT NULL + , CUSTOMER_COMPANY VARCHAR(120) + , CUSTOMER_DEPARTMENT VARCHAR(100) + , CUSTOMER_STREET_ADDRESS VARCHAR(240) NOT NULL + , CUSTOMER_SUBURB VARCHAR(40) + , CUSTOMER_CITY VARCHAR(80) NOT NULL + , CUSTOMER_STATE VARCHAR(40) + , CUSTOMER_POSTCODE VARCHAR(10) NOT NULL + , CUSTOMER_TELEPHONE VARCHAR(40) + , CUSTOMER_COUNTRY_CODE VARCHAR(40) NOT NULL + , CUSTOMER_LANGUAGE VARCHAR(20) NOT NULL + , BILLING_COMPANY VARCHAR(120) + , BILLING_DEPARTMENT VARCHAR(100) + , BILLING_FIRSTNAME VARCHAR(40) NOT NULL + , BILLING_LASTNAME VARCHAR(40) NOT NULL + , BILLING_FIRSTNAME_DESCRIPTION VARCHAR(40) + , BILLING_LASTNAME_DESCRIPTION VARCHAR(40) + , BILLING_STREET_ADDRESS VARCHAR(240) NOT NULL + , BILLING_SUBURB VARCHAR(40) + , BILLING_CITY VARCHAR(80) NOT NULL + , BILLING_STATE VARCHAR(40) + , BILLING_POSTCODE VARCHAR(10) NOT NULL + , BILLING_TELEPHONE VARCHAR(40) + , BILLING_COUNTRY_CODE VARCHAR(40) NOT NULL + , BILLING_LOCALE_NAME VARCHAR(20) NOT NULL + , ORDER_STATUS_ID INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PURCHASED_DATE TIMESTAMP NOT NULL + , FINISHED_DATE TIMESTAMP + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE PRODUCT ( + PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT + , MODEL VARCHAR(80) + , CODE VARCHAR(40) + , STOCK INTEGER + , PRICE DECIMAL(15, 4) NOT NULL + , WEIGHT DECIMAL(5, 2) + , SIZE VARCHAR(40) + , STATUS INTEGER NOT NULL + , LIMIT_PURCHASE INTEGER + , RELEASE_DATE TIMESTAMP + , START_DATE TIMESTAMP + , END_DATE TIMESTAMP + , FILE_DATA_ID BIGINT + , MANUFACTURER_ID INTEGER + , TAX_TYPE_ID INTEGER NOT NULL + , DELIVERY_TYPE_ID INTEGER NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE BASKET ( + BASKET_ID BIGINT NOT NULL AUTO_INCREMENT + , CUSTOMER_ID BIGINT NOT NULL + , PRODUCT_ID BIGINT NOT NULL + , QUANTITY INTEGER NOT NULL + , FINAL_PRICE DECIMAL(15, 4) + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (BASKET_ID) +); + +CREATE TABLE REVIEW ( + REVIEW_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT + , CUSTOMER_NICKNAME VARCHAR(80) NOT NULL + , RATING INTEGER + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (REVIEW_ID) +); + +CREATE TABLE PRODUCT_OPTION ( + PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(80) NOT NULL + , CODE VARCHAR(40) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_ID) +); + +CREATE TABLE ORDER_PRODUCT ( + ORDER_PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , PRODUCT_ID BIGINT NOT NULL + , CODE VARCHAR(64) + , MODEL VARCHAR(64) + , PRICE DECIMAL(15, 4) NOT NULL + , FINAL_PRICE DECIMAL(15,4) NOT NULL + , TAX DECIMAL(7, 4) NOT NULL + , QUANTITY INTEGER NOT NULL + , PRIMARY KEY (ORDER_PRODUCT_ID) +); + +CREATE TABLE PRODUCT_OPTION_VALUE ( + PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_OPTION_ID BIGINT NOT NULL + , NAME VARCHAR(80) NOT NULL + , CODE VARCHAR(40) NOT NULL + , VALUE VARCHAR(80) NOT NULL + , STOCK INTEGER + , PRIMARY KEY (PRODUCT_OPTION_VALUE_ID) +); + +CREATE TABLE DELIVERY_METHOD_DESCRIPTION ( + DELIVERY_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_METHOD_ID INTEGER NOT NULL DEFAULT 0 + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1' + , PRIMARY KEY (DELIVERY_METHOD_DESCRIPTION_ID) +); + +CREATE TABLE ORDER_STATUS_HISTORY ( + ORDER_STATUS_HISTORY_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , ORDER_STATUS_ID INTEGER NOT NULL + , CUSTOMER_NOTIFIED INTEGER DEFAULT 0 + , REMARK VARCHAR(200) + , CREATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (ORDER_STATUS_HISTORY_ID) +); + +CREATE TABLE ORDER_COMMENT ( + ORDER_COMMENT_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , TYPE INTEGER NOT NULL + , COMMENT TEXT + , PRIMARY KEY (ORDER_COMMENT_ID) +); + +CREATE TABLE PRODUCT_DESCRIPTION ( + PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(150) NOT NULL DEFAULT '' + , TITLE VARCHAR(80) + , DESCRIPTION TEXT + , URL VARCHAR(255) + , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1' + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE PRODUCT_NOTIFICATION ( + PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID) +); + +CREATE TABLE PRODUCT_TO_CATEGORY ( + PRODUCT_ID BIGINT NOT NULL + , CATEGORY_ID INTEGER NOT NULL + , PRIMARY KEY (CATEGORY_ID, PRODUCT_ID) +); + +CREATE TABLE REVIEW_DESCRIPTION ( + REVIEW_ID BIGINT NOT NULL + , COMMENT TEXT NOT NULL + , PRIMARY KEY (REVIEW_ID) +); + +CREATE TABLE BARGAIN ( + BARGAIN_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , BARGAIN_PRICE DECIMAL(15, 4) NOT NULL + , BARGAIN_CODE VARCHAR(40) + , START_DATE TIMESTAMP + , END_DATE TIMESTAMP + , STATUS INTEGER NOT NULL DEFAULT 1 + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (BARGAIN_ID) +); + +CREATE TABLE ORDER_STATUS_DESCRIPTION ( + ORDER_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , DESCRIPTION VARCHAR(255) + , LANGUAGE VARCHAR(20) + , PRIMARY KEY (ORDER_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE PAYMENT_METHOD_DESCRIPTION ( + PAYMENT_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , PAYMENT_METHOD_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PAYMENT_METHOD_DESCRIPTION_ID) +); + +CREATE TABLE CARD_TYPE_DESCRIPTION ( + CARD_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) + , PRIMARY KEY (CARD_TYPE_ID) +); + +CREATE TABLE ORDER_CARD_INFO ( + ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT + , CARD_TYPE_ID INTEGER + , CARD_TYPE_CODE VARCHAR(40) NOT NULL + , CARD_OWNER VARCHAR(255) NOT NULL + , CARD_NUMBER VARCHAR(255) NOT NULL + , CARD_EXPIRES VARCHAR(255) NOT NULL + , CARD_PAYMENT_TYPE VARCHAR(80) + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE ORDER_NOTIFICATION ( + ORDER_NOTIFICATION_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_STATUS_ID INTEGER NOT NULL + , EMAIL_ADDRESS VARCHAR(200) + , TEMPLATE_NAME VARCHAR(40) NOT NULL + , STATUS INTEGER NOT NULL + , PRIMARY KEY (ORDER_NOTIFICATION_ID) +); + +CREATE TABLE MANUFACTURER_DESCRIPTION ( + MANUFACTURER_DESCRIPTION_ID CHAR(10) NOT NULL AUTO_INCREMENT + , MANUFACTURER_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , URL VARCHAR(255) + , CONTENT TEXT + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (MANUFACTURER_DESCRIPTION_ID) +); + +CREATE TABLE CATEGORY_INFO ( + CATEGORY_ID INTEGER NOT NULL + , PAGE_ID VARCHAR(80) NOT NULL + , TEMPLATE_NAME VARCHAR(80) NOT NULL + , KEYWORD VARCHAR(160) + , DESCRIPTION VARCHAR(160) + , PRIMARY KEY (CATEGORY_ID) +); + +CREATE TABLE CATEGORY_CONTENT ( + CATEGORY_CONTENT_ID INTEGER NOT NULL AUTO_INCREMENT + , CATEGORY_ID INTEGER NOT NULL + , CONTENT TEXT + , SORT_ORDER INTEGER NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (CATEGORY_CONTENT_ID) +); + +CREATE TABLE PRODUCT_INFO ( + PRODUCT_ID BIGINT NOT NULL + , PAGE_ID VARCHAR(80) NOT NULL + , TEMPLATE_NAME VARCHAR(80) NOT NULL + , KEYWORD VARCHAR(160) + , DESCRIPTION VARCHAR(160) + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE PRODUCT_CONTENT ( + PRODUCT_CONTENT_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , CONTENT TEXT + , SORT_ORDER INTEGER NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_CONTENT_ID) +); + +CREATE TABLE ORDER_DELIVERY ( + ORDER_FORM_ID BIGINT NOT NULL + , DELIVERY_COMPANY VARCHAR(120) + , DELIVERY_DEPARTMENT VARCHAR(100) + , DELIVERY_FIRSTNAME VARCHAR(40) NOT NULL + , DELIVERY_LASTNAME VARCHAR(40) NOT NULL + , DELIVERY_FIRSTNAME_DESCRIPTION VARCHAR(40) + , DELIVERY_LASTNAME_DESCRIPTION VARCHAR(40) + , DELIVERY_STREET_ADDRESS VARCHAR(240) NOT NULL + , DELIVERY_SUBURB VARCHAR(40) + , DELIVERY_CITY VARCHAR(80) NOT NULL + , DELIVERY_STATE VARCHAR(40) + , DELIVERY_POSTCODE VARCHAR(10) NOT NULL + , DELIVERY_TELEPHONE VARCHAR(40) + , DELIVERY_STATUS_ID INTEGER + , DELIVERY_METHOD_ID INTEGER + , DELIVERY_METHOD_CODE VARCHAR(40) NOT NULL + , DELIVERY_COUNTRY_CODE VARCHAR(40) NOT NULL + , DELIVERY_LANGUAGE VARCHAR(20) NOT NULL + , DELIVERY_COUNTRY_ID INTEGER NOT NULL + , DELIVERY_ZONE_ID INTEGER NOT NULL + , REQUESTED_DATE TIMESTAMP + , SENT_DATE TIMESTAMP + , RECEIVED_DATE TIMESTAMP + , SLIP_NUMBER VARCHAR(40) + , GIFT_WRAP INTEGER + , GIFT_MESSAGE VARCHAR(200) + , ENVELOPE_LABEL VARCHAR(100) + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE ORDER_PAYMENT ( + ORDER_FORM_ID BIGINT NOT NULL + , PAYMENT_METHOD_ID INTEGER + , PAYMENT_METHOD_CODE VARCHAR(40) NOT NULL + , ORDER_CARD_INFO_ID BIGINT + , PAYMENT_STATUS_ID INTEGER + , UPDATED_DATE TIMESTAMP + , SUB_TOTAL_PRICE DECIMAL(14, 6) + , TAX DECIMAL(14, 6) + , DELIVERY_PRICE DECIMAL(14, 6) + , PAYMENT_FEE DECIMAL(14, 6) + , TOTAL_PRICE DECIMAL(14, 6) NOT NULL + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE FILE_TAG_TO_FILE_DATA ( + FILE_TAG_ID BIGINT NOT NULL + , FILE_DATA_ID BIGINT NOT NULL + , PRIMARY KEY (FILE_DATA_ID, FILE_TAG_ID) +); + +CREATE TABLE IMAGE_DATA ( + FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT + , SIZE INTEGER + , HEIGHT INTEGER + , WIDTH INTEGER + , PRIMARY KEY (FILE_DATA_ID) +); + +CREATE TABLE CATEGORY_DESCRIPTION ( + CATEGORY_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , CATEGORY_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (CATEGORY_DESCRIPTION_ID) +); + +CREATE TABLE PRODUCT_OPTION_DESCRIPTION ( + PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_OPTION_VALUE_DESCRIPTION ( + PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_VALUE_ID) +); + +CREATE TABLE BASKET_PRODUCT_OPTION ( + BASKET_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , BASKET_ID BIGINT NOT NULL + , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL + , PRIMARY KEY (BASKET_PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_STATS ( + PRODUCT_ID BIGINT NOT NULL + , ORDERED INTEGER + , REVIEWED INTEGER + , RATING INTEGER + , FAVORITE INTEGER + , NOTIFICATION INTEGER + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE FAVORITE_PRODUCT ( + PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID) +); + +CREATE TABLE ORDER_PRODUCT_OPTION ( + ORDER_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_PRODUCT_ID BIGINT NOT NULL + , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL + , PRODUCT_OPTION_CODE VARCHAR(40) NOT NULL + , PRODUCT_OPTION_VALUE_CODE VARCHAR(40) NOT NULL + , PRIMARY KEY (ORDER_PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_ATTRIBUTE ( + PRODUCT_ATTRIBUTE_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(100) NOT NULL + , VALUE VARCHAR(100) + , PRIMARY KEY (PRODUCT_ATTRIBUTE_ID) +); + +CREATE TABLE DELIVERY_STATUS_DESCRIPTION ( + DELIVERY_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE PAYMENT_STATUS_DESCRIPTION ( + PAYMENT_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , PAYMENT_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PAYMENT_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE DELIVERY_TYPE_DESCRIPTION ( + DELIVERY_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_TYPE_DESCRIPTION_ID) +); + +CREATE TABLE COUNTRY_DESCRIPTION ( + COUNTRY_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , COUNTRY_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (COUNTRY_DESCRIPTION_ID) +); + +CREATE TABLE TAX_TYPE_DESCRIPTION ( + TAX_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , TAX_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , DESCRIPTION VARCHAR(200) + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (TAX_TYPE_DESCRIPTION_ID) +); + +CREATE TABLE DELIVERY_ZONE_DESCRIPTION ( + DELIVERY_ZONE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_ZONE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_ZONE_DESCRIPTION_ID) +); + +CREATE TABLE ADDRESS_BOOK ( + ADDRESS_BOOK_ID BIGINT NOT NULL AUTO_INCREMENT + , CUSTOMER_ID BIGINT NOT NULL + , COMPANY VARCHAR(128) + , DEPARTMENT VARCHAR(64) + , FIRSTNAME VARCHAR(40) NOT NULL + , LASTNAME VARCHAR(40) NOT NULL + , FIRSTNAME_DESCRIPTION VARCHAR(40) + , LASTNAME_DESCRIPTION VARCHAR(40) + , STREET_ADDRESS VARCHAR(255) NOT NULL + , SUBURB VARCHAR(32) + , CITY VARCHAR(64) NOT NULL + , STATE VARCHAR(32) + , POSTCODE VARCHAR(10) NOT NULL + , TELEPHONE VARCHAR(32) + , FAX VARCHAR(32) + , CELLPHONE VARCHAR(32) + , DEFAULT_ADDRESS INTEGER NOT NULL + , COUNTRY_ID INTEGER NOT NULL DEFAULT 0 + , DELIVERY_ZONE_ID INTEGER NOT NULL + , PRIMARY KEY (ADDRESS_BOOK_ID) +); + +ALTER TABLE CATEGORY + ADD CONSTRAINT FK_FROM_CATEGORY_TO_CATEGORY + FOREIGN KEY (PARENT_CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE MANUFACTURER + ADD CONSTRAINT FK_FROM_MANUFACTURER_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE ORDER_FORM + ADD CONSTRAINT FK_FROM_CUSTOMER_TO_ORDER_FORM + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ORDER_FORM + ADD CONSTRAINT FK_FROM_ORDER_FORM_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_MANUFACTURER + FOREIGN KEY (MANUFACTURER_ID) + REFERENCES MANUFACTURER (MANUFACTURER_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_DELIVERY_TYPE + FOREIGN KEY (DELIVERY_TYPE_ID) + REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_TAX_TYPE + FOREIGN KEY (TAX_TYPE_ID) + REFERENCES TAX_TYPE (TAX_TYPE_ID); + +ALTER TABLE BASKET + ADD CONSTRAINT FK_FROM_BASKET_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE BASKET + ADD CONSTRAINT FK_FROM_BASKET_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE REVIEW + ADD CONSTRAINT FK_FROM_REVIEW_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE REVIEW + ADD CONSTRAINT FK_FROM_REVIEW_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_PRODUCT + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_PRODUCT + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_OPTION_VALUE + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_TO_PRODUCT_OPTION + FOREIGN KEY (PRODUCT_OPTION_ID) + REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID); + +ALTER TABLE DELIVERY_METHOD_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_METHOD_DESCRIPTION_TO_DELIVERY_METHOD + FOREIGN KEY (DELIVERY_METHOD_ID) + REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID); + +ALTER TABLE ORDER_STATUS_HISTORY + ADD CONSTRAINT FK_FROM_ORDERS_STATUS_HISTORY_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_STATUS_HISTORY + ADD CONSTRAINT FK_FROM_ORDER_STATUS_HISTORY_TO_ORDER_FORM + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE ORDER_COMMENT + ADD CONSTRAINT FK_FROM_ORDER_COMMENT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE PRODUCT_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_DESCRIPTION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_NOTIFICATION + ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE PRODUCT_NOTIFICATION + ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_TO_CATEGORY + ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_TO_CATEGORY + ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE REVIEW_DESCRIPTION + ADD CONSTRAINT FK_FROM_REVIEW_DESCRIPTION_TO_REVIEW + FOREIGN KEY (REVIEW_ID) + REFERENCES REVIEW (REVIEW_ID); + +ALTER TABLE BARGAIN + ADD CONSTRAINT FK_FROM_BARGAIN_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_ORDER_STATUS_DESCRIPTION_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE PAYMENT_METHOD_DESCRIPTION + ADD CONSTRAINT FK_FROM_PAYMENT_METHOD_DESCRIPTION_TO_PAYMENT_METHOD + FOREIGN KEY (PAYMENT_METHOD_ID) + REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID); + +ALTER TABLE CARD_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_CARD_TYPES_DESCRIPTION_TO_CARD_TYPE + FOREIGN KEY (CARD_TYPE_ID) + REFERENCES CARD_TYPE (CARD_TYPE_ID); + +ALTER TABLE ORDER_CARD_INFO + ADD CONSTRAINT FK_FROM_ORDER_CARD_INFO_TO_CARD_TYPE + FOREIGN KEY (CARD_TYPE_ID) + REFERENCES CARD_TYPE (CARD_TYPE_ID); + +ALTER TABLE ORDER_NOTIFICATION + ADD CONSTRAINT FK_FROM_ORDER_NOTIFICATION_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE MANUFACTURER_DESCRIPTION + ADD CONSTRAINT FK_FROM_MANUFACTURER_DESCRIPTION_TO_MANUFACTURER + FOREIGN KEY (MANUFACTURER_ID) + REFERENCES MANUFACTURER (MANUFACTURER_ID); + +ALTER TABLE CATEGORY_INFO + ADD CONSTRAINT FK_FROM_CATEGORY_INFO_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE CATEGORY_CONTENT + ADD CONSTRAINT FK_FROM_CATEGORY_CONTENT_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE PRODUCT_INFO + ADD CONSTRAINT FK_FROM_PRODUCT_INFO_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_CONTENT + ADD CONSTRAINT FK_FROM_PRODUCT_CONTENT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_STATUS + FOREIGN KEY (DELIVERY_STATUS_ID) + REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_METHOD + FOREIGN KEY (DELIVERY_METHOD_ID) + REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_COUNTRY + FOREIGN KEY (DELIVERY_COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_METHOD + FOREIGN KEY (PAYMENT_METHOD_ID) + REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_STATUS + FOREIGN KEY (PAYMENT_STATUS_ID) + REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID); + +ALTER TABLE FILE_TAG_TO_FILE_DATA + ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_TAG + FOREIGN KEY (FILE_TAG_ID) + REFERENCES FILE_TAG (FILE_TAG_ID); + +ALTER TABLE FILE_TAG_TO_FILE_DATA + ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE IMAGE_DATA + ADD CONSTRAINT FK_FROM_IMAGE_DATA_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE CATEGORY_DESCRIPTION + ADD CONSTRAINT FK_FROM_CATEGORY_DESCRIPTION_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE PRODUCT_OPTION_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_DESCRIPTION_TO_PRODUCT_OPTION + FOREIGN KEY (PRODUCT_OPTION_ID) + REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID); + +ALTER TABLE PRODUCT_OPTION_VALUE_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_DESCRIPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE BASKET_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_BASKET + FOREIGN KEY (BASKET_ID) + REFERENCES BASKET (BASKET_ID); + +ALTER TABLE BASKET_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE PRODUCT_STATS + ADD CONSTRAINT FK_FROM_PRODUCT_STATS_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE FAVORITE_PRODUCT + ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE FAVORITE_PRODUCT + ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ORDER_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_ORDER_PRODUCT + FOREIGN KEY (ORDER_PRODUCT_ID) + REFERENCES ORDER_PRODUCT (ORDER_PRODUCT_ID); + +ALTER TABLE ORDER_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE PRODUCT_ATTRIBUTE + ADD CONSTRAINT FK_FROM_PRODUCT_ATTRIBUTE_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE DELIVERY_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_STATUS_DESCRIPTION_TO_DELIVERY_STATUS + FOREIGN KEY (DELIVERY_STATUS_ID) + REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID); + +ALTER TABLE PAYMENT_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_PAYMENT_STATUS_DESCRIPTION_PAYMENT_STATUS + FOREIGN KEY (PAYMENT_STATUS_ID) + REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID); + +ALTER TABLE DELIVERY_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_TYPE_DESCRIPTION_TO_DELIVERY_TYPE + FOREIGN KEY (DELIVERY_TYPE_ID) + REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID); + +ALTER TABLE COUNTRY_DESCRIPTION + ADD CONSTRAINT FK_FROM_COUNTRY_DESCRIPTION_TO_COUNTRY + FOREIGN KEY (COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + +ALTER TABLE TAX_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_TAX_TYPE_DESCRIPTION_TO_TAX_TYPE + FOREIGN KEY (TAX_TYPE_ID) + REFERENCES TAX_TYPE (TAX_TYPE_ID); + +ALTER TABLE DELIVERY_ZONE_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_ZONE_DESCRIPTION_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_COUNTRY + FOREIGN KEY (COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + From svnnotify @ sourceforge.jp Sat Jan 26 07:36:29 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 07:36:29 +0900 Subject: [pal-cvs 3047] [791] clean up Message-ID: <1201300589.031110.9871.nullmailer@users.sourceforge.jp> Revision: 791 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=791 Author: shinsuke Date: 2008-01-26 07:36:28 +0900 (Sat, 26 Jan 2008) Log Message: ----------- clean up Modified Paths: -------------- pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh -------------- next part -------------- Modified: pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh 2008-01-25 09:55:29 UTC (rev 790) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/_project.sh 2008-01-25 22:36:28 UTC (rev 791) @@ -2,5 +2,5 @@ export MY_PROJECT_NAME=pompei -#export DBFLUTE_HOME=../mydbflute/dbflute-0.6.1 -export DBFLUTE_HOME=../mydbflute/dbflute-0.5.6 +export DBFLUTE_HOME=../mydbflute/dbflute-0.6.1 +#export DBFLUTE_HOME=../mydbflute/dbflute-0.5.7 From svnnotify @ sourceforge.jp Sat Jan 26 07:37:23 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 07:37:23 +0900 Subject: [pal-cvs 3048] [792] fixed wrong path. Message-ID: <1201300643.238415.10053.nullmailer@users.sourceforge.jp> Revision: 792 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=792 Author: shinsuke Date: 2008-01-26 07:37:23 +0900 (Sat, 26 Jan 2008) Log Message: ----------- fixed wrong path. Modified Paths: -------------- pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop pompei/libraries/pompei-db-h2/trunk/pom.xml -------------- next part -------------- Modified: pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop =================================================================== --- pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop 2008-01-25 22:36:28 UTC (rev 791) +++ pompei/libraries/pompei-db-h2/trunk/dbflute/dfprop/databaseInfoMap.dfprop 2008-01-25 22:37:23 UTC (rev 792) @@ -10,7 +10,7 @@ # @FirstProperty map:{ ; driver = org.h2.Driver - ; url = jdbc:h2:file:../src/config/db/pompei; + ; url = jdbc:h2:file:../src/main/config/db/pompei; ; schema = ; user = sa ; password = Modified: pompei/libraries/pompei-db-h2/trunk/pom.xml =================================================================== --- pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 22:36:28 UTC (rev 791) +++ pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 22:37:23 UTC (rev 792) @@ -73,9 +73,9 @@ clean - - - + + + @@ -179,15 +179,7 @@ s2-dao-tiger 1.0.47 - - com.h2database h2 1.0.65 From svnnotify @ sourceforge.jp Sat Jan 26 08:02:09 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 08:02:09 +0900 Subject: [pal-cvs 3049] [794] created pompei-db. Message-ID: <1201302129.440727.25588.nullmailer@users.sourceforge.jp> Revision: 794 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=794 Author: shinsuke Date: 2008-01-26 08:02:09 +0900 (Sat, 26 Jan 2008) Log Message: ----------- created pompei-db. Added Paths: ----------- pompei/libraries/pompei-db/ -------------- next part -------------- From svnnotify @ sourceforge.jp Sat Jan 26 08:02:28 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 08:02:28 +0900 Subject: [pal-cvs 3050] [795] created trunk Message-ID: <1201302148.004974.25632.nullmailer@users.sourceforge.jp> Revision: 795 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=795 Author: shinsuke Date: 2008-01-26 08:02:27 +0900 (Sat, 26 Jan 2008) Log Message: ----------- created trunk Added Paths: ----------- pompei/libraries/pompei-db/trunk/ -------------- next part -------------- From svnnotify @ sourceforge.jp Sat Jan 26 08:17:44 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 08:17:44 +0900 Subject: [pal-cvs 3051] [796] removed j2 jar and fixed url. Message-ID: <1201303064.516577.1681.nullmailer@users.sourceforge.jp> Revision: 796 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=796 Author: shinsuke Date: 2008-01-26 08:17:44 +0900 (Sat, 26 Jan 2008) Log Message: ----------- removed j2 jar and fixed url. Modified Paths: -------------- pompei/libraries/pompei-db-h2/trunk/pom.xml -------------- next part -------------- Modified: pompei/libraries/pompei-db-h2/trunk/pom.xml =================================================================== --- pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 23:02:27 UTC (rev 795) +++ pompei/libraries/pompei-db-h2/trunk/pom.xml 2008-01-25 23:17:44 UTC (rev 796) @@ -30,7 +30,7 @@ scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei - http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal/pompei/libraries/pompei-db + http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal/pompei/libraries/pompei-db-h2 Portal Application Laboratory @@ -185,12 +185,5 @@ 1.0.65 provided - - - org.apache.portals.jetspeed-2 - jetspeed-api - 2.1.3 - provided -
    From svnnotify @ sourceforge.jp Sat Jan 26 21:57:42 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 21:57:42 +0900 Subject: [pal-cvs 3052] [797] initial code. Message-ID: <1201352262.867496.30622.nullmailer@users.sourceforge.jp> Revision: 797 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=797 Author: shinsuke Date: 2008-01-26 21:57:42 +0900 (Sat, 26 Jan 2008) Log Message: ----------- initial code. Added Paths: ----------- pompei/libraries/pompei-db/trunk/.classpath pompei/libraries/pompei-db/trunk/.project pompei/libraries/pompei-db/trunk/.settings/ pompei/libraries/pompei-db/trunk/.settings/org.eclipse.core.resources.prefs pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.core.prefs pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.ui.prefs pompei/libraries/pompei-db/trunk/.settings/org.seasar.dblauncher.prefs pompei/libraries/pompei-db/trunk/pom.xml pompei/libraries/pompei-db/trunk/src/ pompei/libraries/pompei-db/trunk/src/main/ pompei/libraries/pompei-db/trunk/src/main/config/ pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay -------------- next part -------------- Added: pompei/libraries/pompei-db/trunk/.classpath =================================================================== --- pompei/libraries/pompei-db/trunk/.classpath 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.classpath 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: pompei/libraries/pompei-db/trunk/.classpath ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/.project =================================================================== --- pompei/libraries/pompei-db/trunk/.project 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.project 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,14 @@ + + pompei-db + DB Library for constructing EC site + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.jdt.core.javanature + + \ No newline at end of file Property changes on: pompei/libraries/pompei-db/trunk/.project ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/.settings/org.eclipse.core.resources.prefs =================================================================== --- pompei/libraries/pompei-db/trunk/.settings/org.eclipse.core.resources.prefs 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.settings/org.eclipse.core.resources.prefs 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,3 @@ +#Tue Jul 10 17:41:29 JST 2007 +eclipse.preferences.version=1 +encoding/=UTF-8 Added: pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.core.prefs =================================================================== --- pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.core.prefs 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.core.prefs 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,262 @@ +#Tue Jul 24 13:39:37 JST 2007 +eclipse.preferences.version=1 +instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=1 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=false +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false +org.eclipse.jdt.core.formatter.comment.format_line_comments=false +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=80 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true Added: pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.ui.prefs =================================================================== --- pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.settings/org.eclipse.jdt.ui.prefs 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,6 @@ +#Thu Oct 11 09:30:41 JST 2007 +eclipse.preferences.version=1 +formatter_profile=_Seasar +formatter_settings_version=11 +instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true +org.eclipse.jdt.ui.text.custom_code_templates= Added: pompei/libraries/pompei-db/trunk/.settings/org.seasar.dblauncher.prefs =================================================================== --- pompei/libraries/pompei-db/trunk/.settings/org.seasar.dblauncher.prefs 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/.settings/org.seasar.dblauncher.prefs 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,5 @@ +#Sun Aug 26 07:25:38 JST 2007 +baseDir=/pompei-core/target/test-classes/data +dbPortNo=9093 +eclipse.preferences.version=1 +webPortNo=8083 Added: pompei/libraries/pompei-db/trunk/pom.xml =================================================================== --- pompei/libraries/pompei-db/trunk/pom.xml 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/pom.xml 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,203 @@ + + + 4.0.0 + jp.sf.pal + pompei-db + jar + Pompei DB + 0.1.0-SNAPSHOT + DB Library for constructing EC site + http://pal.sourceforge.jp/ + 2005 + + + shinsuke + Shinsuke Sugaya + shinsuke_at_yahoo.co.jp + http://d.hatena.ne.jp/shinsuke_sugaya/ + + + +9 + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei + scm:cvs:pserver:anonymous @ cvs.sourceforge.jp:/cvsroot/pal:pompei + http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal/pompei/libraries/pompei-db + + + Portal Application Laboratory + http://pal.sourceforge.jp/ + + + validate + + + maven-compiler-plugin + + 1.5 + 1.5 + + + + maven-source-plugin + + + source-jar + package + + jar + + + + + + maven-antrun-plugin + + + com.h2database + h2 + 1.0.65 + + + + + create-db + clean + + + + + + + + + + run + + + + + + + + + maven.seasar.org + The Seasar Foundation Maven2 Repository + http://maven.seasar.org/maven2 + + + + + maven.seasar.org + The Seasar Foundation Maven2 Repository + http://maven.seasar.org/maven2 + + + maven2.marevol.com + Maven2 Repository on marevol.com + http://maven2.marevol.com/ + + + + + jp.sf.pal + pompei-db-h2 + 0.1.0-SNAPSHOT + provided + + + junit + junit + 4.3.1 + compile + + + junit-addons + junit-addons + 1.4 + compile + + + log4j + log4j + 1.2.13 + provided + + + org.apache.geronimo.specs + geronimo-jsp_2.0_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-servlet_2.4_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + 1.0 + provided + + + org.apache.geronimo.specs + geronimo-ejb_2.1_spec + 1.0 + provided + + + commons-collections + commons-collections + 3.1 + provided + + + org.seasar.container + s2-extension + 2.4.21 + + + org.seasar.container + s2-framework + 2.4.21 + + + org.seasar.container + s2-tiger + 2.4.21 + + + org.seasar.dao + s2-dao + 1.0.47 + + + org.seasar.dao + s2-dao-tiger + 1.0.47 + + + com.h2database + h2 + 1.0.65 + provided + + + + org.apache.portals.jetspeed-2 + jetspeed-api + 2.1.3 + provided + + + Property changes on: pompei/libraries/pompei-db/trunk/pom.xml ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay 2008-01-25 23:17:44 UTC (rev 796) +++ pompei/libraries/pompei-db/trunk/src/main/config/pompei.clay 2008-01-26 12:57:42 UTC (rev 797) @@ -0,0 +1,5009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    From svnnotify @ sourceforge.jp Sat Jan 26 21:58:20 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 26 Jan 2008 21:58:20 +0900 Subject: [pal-cvs 3053] [798] added sql file. Message-ID: <1201352300.547977.31550.nullmailer@users.sourceforge.jp> Revision: 798 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=798 Author: shinsuke Date: 2008-01-26 21:58:20 +0900 (Sat, 26 Jan 2008) Log Message: ----------- added sql file. Added Paths: ----------- pompei/libraries/pompei-db/trunk/src/main/config/sql/ pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql pompei/libraries/pompei-db/trunk/src/main/config/sql/insert_data.sql -------------- next part -------------- Added: pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql 2008-01-26 12:57:42 UTC (rev 797) +++ pompei/libraries/pompei-db/trunk/src/main/config/sql/create_table.sql 2008-01-26 12:58:20 UTC (rev 798) @@ -0,0 +1,1004 @@ +DROP TABLE IF EXISTS ADDRESS_BOOK; +DROP TABLE IF EXISTS DELIVERY_ZONE_DESCRIPTION; +DROP TABLE IF EXISTS TAX_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS COUNTRY_DESCRIPTION; +DROP TABLE IF EXISTS DELIVERY_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS PAYMENT_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS DELIVERY_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_ATTRIBUTE; +DROP TABLE IF EXISTS ORDER_PRODUCT_OPTION; +DROP TABLE IF EXISTS FAVORITE_PRODUCT; +DROP TABLE IF EXISTS PRODUCT_STATS; +DROP TABLE IF EXISTS BASKET_PRODUCT_OPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_DESCRIPTION; +DROP TABLE IF EXISTS CATEGORY_DESCRIPTION; +DROP TABLE IF EXISTS IMAGE_DATA; +DROP TABLE IF EXISTS FILE_TAG_TO_FILE_DATA; +DROP TABLE IF EXISTS ORDER_PAYMENT; +DROP TABLE IF EXISTS ORDER_DELIVERY; +DROP TABLE IF EXISTS PRODUCT_CONTENT; +DROP TABLE IF EXISTS PRODUCT_INFO; +DROP TABLE IF EXISTS CATEGORY_CONTENT; +DROP TABLE IF EXISTS CATEGORY_INFO; +DROP TABLE IF EXISTS MANUFACTURER_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_NOTIFICATION; +DROP TABLE IF EXISTS ORDER_CARD_INFO; +DROP TABLE IF EXISTS CARD_TYPE_DESCRIPTION; +DROP TABLE IF EXISTS PAYMENT_METHOD_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_STATUS_DESCRIPTION; +DROP TABLE IF EXISTS BARGAIN; +DROP TABLE IF EXISTS REVIEW_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_TO_CATEGORY; +DROP TABLE IF EXISTS PRODUCT_NOTIFICATION; +DROP TABLE IF EXISTS PRODUCT_DESCRIPTION; +DROP TABLE IF EXISTS ORDER_COMMENT; +DROP TABLE IF EXISTS ORDER_STATUS_HISTORY; +DROP TABLE IF EXISTS DELIVERY_METHOD_DESCRIPTION; +DROP TABLE IF EXISTS PRODUCT_OPTION_VALUE; +DROP TABLE IF EXISTS ORDER_PRODUCT; +DROP TABLE IF EXISTS PRODUCT_OPTION; +DROP TABLE IF EXISTS REVIEW; +DROP TABLE IF EXISTS BASKET; +DROP TABLE IF EXISTS PRODUCT; +DROP TABLE IF EXISTS ORDER_FORM; +DROP TABLE IF EXISTS MANUFACTURER; +DROP TABLE IF EXISTS CATEGORY; +DROP TABLE IF EXISTS CUSTOMER; +DROP TABLE IF EXISTS DELIVERY_ZONE; +DROP TABLE IF EXISTS COUNTRY; +DROP TABLE IF EXISTS DELIVERY_TYPE; +DROP TABLE IF EXISTS FILE_TAG; +DROP TABLE IF EXISTS DELIVERY_STATUS; +DROP TABLE IF EXISTS PAYMENT_STATUS; +DROP TABLE IF EXISTS FILE_DATA; +DROP TABLE IF EXISTS CARD_TYPE; +DROP TABLE IF EXISTS PAYMENT_METHOD; +DROP TABLE IF EXISTS TAX_TYPE; +DROP TABLE IF EXISTS ORDER_STATUS; +DROP TABLE IF EXISTS DELIVERY_METHOD; + +CREATE TABLE DELIVERY_METHOD ( + DELIVERY_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , OBJECT_NAME VARCHAR(128) NOT NULL + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_METHOD_ID) +); + +CREATE TABLE ORDER_STATUS ( + ORDER_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , TYPE INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (ORDER_STATUS_ID) +); + +CREATE TABLE TAX_TYPE ( + TAX_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , RATE DECIMAL(7, 4) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (TAX_TYPE_ID) +); + +CREATE TABLE PAYMENT_METHOD ( + PAYMENT_METHOD_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , OBJECT_NAME VARCHAR(128) NOT NULL + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PAYMENT_METHOD_ID) +); + +CREATE TABLE CARD_TYPE ( + CARD_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CARD_TYPE_ID) +); + +CREATE TABLE FILE_DATA ( + FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(100) NOT NULL + , FILE_TYPE VARCHAR(10) NOT NULL + , STATUS INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (FILE_DATA_ID) +); + +CREATE TABLE PAYMENT_STATUS ( + PAYMENT_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PAYMENT_STATUS_ID) +); + +CREATE TABLE DELIVERY_STATUS ( + DELIVERY_STATUS_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_STATUS_ID) +); + +CREATE TABLE FILE_TAG ( + FILE_TAG_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(100) NOT NULL + , PRIMARY KEY (FILE_TAG_ID) +); + +CREATE TABLE DELIVERY_TYPE ( + DELIVERY_TYPE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_TYPE_ID) +); + +CREATE TABLE COUNTRY ( + COUNTRY_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (COUNTRY_ID) +); + +CREATE TABLE DELIVERY_ZONE ( + DELIVERY_ZONE_ID INTEGER NOT NULL AUTO_INCREMENT + , CODE VARCHAR(40) NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (DELIVERY_ZONE_ID) +); + +CREATE TABLE CUSTOMER ( + CUSTOMER_ID BIGINT NOT NULL AUTO_INCREMENT + , PORTAL_ID VARCHAR(255) NOT NULL + , GENDER CHAR(1) NOT NULL + , FIRSTNAME VARCHAR(40) NOT NULL + , LASTNAME VARCHAR(40) NOT NULL + , FIRSTNAME_DESCRIPTION VARCHAR(40) + , LASTNAME_DESCRIPTION VARCHAR(40) + , NICKNAME VARCHAR(64) + , DAY_OF_BIRTH DATE NOT NULL DEFAULT '0000-00-00 00:00:00' + , EMAIL_ADDRESS VARCHAR(128) NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_TIME TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID) +); + +CREATE TABLE CATEGORY ( + CATEGORY_ID INTEGER NOT NULL AUTO_INCREMENT + , PARENT_CATEGORY_ID INTEGER DEFAULT 0 + , NUM_OF_PRODUCT INTEGER + , STATUS INTEGER NOT NULL + , SORT_ORDER INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CATEGORY_ID) +); + +CREATE TABLE MANUFACTURER ( + MANUFACTURER_ID INTEGER NOT NULL AUTO_INCREMENT + , FILE_DATA_ID BIGINT + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (MANUFACTURER_ID) +); + +CREATE TABLE ORDER_FORM ( + ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_NUMBER VARCHAR(40) NOT NULL + , CUSTOMER_ID BIGINT + , CUSTOMER_GENDER CHAR(1) NOT NULL + , CUSTOMER_FIRSTNAME VARCHAR(40) NOT NULL + , CUSTOMER_LASTNAME VARCHAR(40) NOT NULL + , CUSTOMER_FIRSTNAME_DESCRIPTION VARCHAR(40) + , CUSTOMER_LASTNAME_DESCRIPTION VARCHAR(40) + , CUSTOMER_DAY_OF_BIRTH DATE NOT NULL + , CUSTOMER_EMAIL_ADDRESS VARCHAR(200) NOT NULL + , CUSTOMER_COMPANY VARCHAR(120) + , CUSTOMER_DEPARTMENT VARCHAR(100) + , CUSTOMER_STREET_ADDRESS VARCHAR(240) NOT NULL + , CUSTOMER_SUBURB VARCHAR(40) + , CUSTOMER_CITY VARCHAR(80) NOT NULL + , CUSTOMER_STATE VARCHAR(40) + , CUSTOMER_POSTCODE VARCHAR(10) NOT NULL + , CUSTOMER_TELEPHONE VARCHAR(40) + , CUSTOMER_COUNTRY_CODE VARCHAR(40) NOT NULL + , CUSTOMER_LANGUAGE VARCHAR(20) NOT NULL + , BILLING_COMPANY VARCHAR(120) + , BILLING_DEPARTMENT VARCHAR(100) + , BILLING_FIRSTNAME VARCHAR(40) NOT NULL + , BILLING_LASTNAME VARCHAR(40) NOT NULL + , BILLING_FIRSTNAME_DESCRIPTION VARCHAR(40) + , BILLING_LASTNAME_DESCRIPTION VARCHAR(40) + , BILLING_STREET_ADDRESS VARCHAR(240) NOT NULL + , BILLING_SUBURB VARCHAR(40) + , BILLING_CITY VARCHAR(80) NOT NULL + , BILLING_STATE VARCHAR(40) + , BILLING_POSTCODE VARCHAR(10) NOT NULL + , BILLING_TELEPHONE VARCHAR(40) + , BILLING_COUNTRY_CODE VARCHAR(40) NOT NULL + , BILLING_LOCALE_NAME VARCHAR(20) NOT NULL + , ORDER_STATUS_ID INTEGER NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PURCHASED_DATE TIMESTAMP NOT NULL + , FINISHED_DATE TIMESTAMP + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE PRODUCT ( + PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT + , MODEL VARCHAR(80) + , CODE VARCHAR(40) + , STOCK INTEGER + , PRICE DECIMAL(15, 4) NOT NULL + , WEIGHT DECIMAL(5, 2) + , SIZE VARCHAR(40) + , STATUS INTEGER NOT NULL + , LIMIT_PURCHASE INTEGER + , RELEASE_DATE TIMESTAMP + , START_DATE TIMESTAMP + , END_DATE TIMESTAMP + , FILE_DATA_ID BIGINT + , MANUFACTURER_ID INTEGER + , TAX_TYPE_ID INTEGER NOT NULL + , DELIVERY_TYPE_ID INTEGER NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE BASKET ( + BASKET_ID BIGINT NOT NULL AUTO_INCREMENT + , CUSTOMER_ID BIGINT NOT NULL + , PRODUCT_ID BIGINT NOT NULL + , QUANTITY INTEGER NOT NULL + , FINAL_PRICE DECIMAL(15, 4) + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (BASKET_ID) +); + +CREATE TABLE REVIEW ( + REVIEW_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT + , CUSTOMER_NICKNAME VARCHAR(80) NOT NULL + , RATING INTEGER + , CREATED_DATE TIMESTAMP NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (REVIEW_ID) +); + +CREATE TABLE PRODUCT_OPTION ( + PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(80) NOT NULL + , CODE VARCHAR(40) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_ID) +); + +CREATE TABLE ORDER_PRODUCT ( + ORDER_PRODUCT_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , PRODUCT_ID BIGINT NOT NULL + , CODE VARCHAR(64) + , MODEL VARCHAR(64) + , PRICE DECIMAL(15, 4) NOT NULL + , FINAL_PRICE DECIMAL(15,4) NOT NULL + , TAX DECIMAL(7, 4) NOT NULL + , QUANTITY INTEGER NOT NULL + , PRIMARY KEY (ORDER_PRODUCT_ID) +); + +CREATE TABLE PRODUCT_OPTION_VALUE ( + PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_OPTION_ID BIGINT NOT NULL + , NAME VARCHAR(80) NOT NULL + , CODE VARCHAR(40) NOT NULL + , VALUE VARCHAR(80) NOT NULL + , STOCK INTEGER + , PRIMARY KEY (PRODUCT_OPTION_VALUE_ID) +); + +CREATE TABLE DELIVERY_METHOD_DESCRIPTION ( + DELIVERY_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_METHOD_ID INTEGER NOT NULL DEFAULT 0 + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1' + , PRIMARY KEY (DELIVERY_METHOD_DESCRIPTION_ID) +); + +CREATE TABLE ORDER_STATUS_HISTORY ( + ORDER_STATUS_HISTORY_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , ORDER_STATUS_ID INTEGER NOT NULL + , CUSTOMER_NOTIFIED INTEGER DEFAULT 0 + , REMARK VARCHAR(200) + , CREATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (ORDER_STATUS_HISTORY_ID) +); + +CREATE TABLE ORDER_COMMENT ( + ORDER_COMMENT_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_FORM_ID BIGINT NOT NULL + , TYPE INTEGER NOT NULL + , COMMENT TEXT + , PRIMARY KEY (ORDER_COMMENT_ID) +); + +CREATE TABLE PRODUCT_DESCRIPTION ( + PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(150) NOT NULL DEFAULT '' + , TITLE VARCHAR(80) + , DESCRIPTION TEXT + , URL VARCHAR(255) + , LANGUAGE VARCHAR(20) NOT NULL DEFAULT '1' + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE PRODUCT_NOTIFICATION ( + PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT NOT NULL + , CREATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID) +); + +CREATE TABLE PRODUCT_TO_CATEGORY ( + PRODUCT_ID BIGINT NOT NULL + , CATEGORY_ID INTEGER NOT NULL + , PRIMARY KEY (CATEGORY_ID, PRODUCT_ID) +); + +CREATE TABLE REVIEW_DESCRIPTION ( + REVIEW_ID BIGINT NOT NULL + , COMMENT TEXT NOT NULL + , PRIMARY KEY (REVIEW_ID) +); + +CREATE TABLE BARGAIN ( + BARGAIN_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , BARGAIN_PRICE DECIMAL(15, 4) NOT NULL + , BARGAIN_CODE VARCHAR(40) + , START_DATE TIMESTAMP + , END_DATE TIMESTAMP + , STATUS INTEGER NOT NULL DEFAULT 1 + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (BARGAIN_ID) +); + +CREATE TABLE ORDER_STATUS_DESCRIPTION ( + ORDER_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , DESCRIPTION VARCHAR(255) + , LANGUAGE VARCHAR(20) + , PRIMARY KEY (ORDER_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE PAYMENT_METHOD_DESCRIPTION ( + PAYMENT_METHOD_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , PAYMENT_METHOD_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PAYMENT_METHOD_DESCRIPTION_ID) +); + +CREATE TABLE CARD_TYPE_DESCRIPTION ( + CARD_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , DESCRIPTION TEXT + , LANGUAGE VARCHAR(20) + , PRIMARY KEY (CARD_TYPE_ID) +); + +CREATE TABLE ORDER_CARD_INFO ( + ORDER_FORM_ID BIGINT NOT NULL AUTO_INCREMENT + , CARD_TYPE_ID INTEGER + , CARD_TYPE_CODE VARCHAR(40) NOT NULL + , CARD_OWNER VARCHAR(255) NOT NULL + , CARD_NUMBER VARCHAR(255) NOT NULL + , CARD_EXPIRES VARCHAR(255) NOT NULL + , CARD_PAYMENT_TYPE VARCHAR(80) + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE ORDER_NOTIFICATION ( + ORDER_NOTIFICATION_ID INTEGER NOT NULL AUTO_INCREMENT + , ORDER_STATUS_ID INTEGER NOT NULL + , EMAIL_ADDRESS VARCHAR(200) + , TEMPLATE_NAME VARCHAR(40) NOT NULL + , STATUS INTEGER NOT NULL + , PRIMARY KEY (ORDER_NOTIFICATION_ID) +); + +CREATE TABLE MANUFACTURER_DESCRIPTION ( + MANUFACTURER_DESCRIPTION_ID CHAR(10) NOT NULL AUTO_INCREMENT + , MANUFACTURER_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , URL VARCHAR(255) + , CONTENT TEXT + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (MANUFACTURER_DESCRIPTION_ID) +); + +CREATE TABLE CATEGORY_INFO ( + CATEGORY_ID INTEGER NOT NULL + , PAGE_ID VARCHAR(80) NOT NULL + , TEMPLATE_NAME VARCHAR(80) NOT NULL + , KEYWORD VARCHAR(160) + , DESCRIPTION VARCHAR(160) + , PRIMARY KEY (CATEGORY_ID) +); + +CREATE TABLE CATEGORY_CONTENT ( + CATEGORY_CONTENT_ID INTEGER NOT NULL AUTO_INCREMENT + , CATEGORY_ID INTEGER NOT NULL + , CONTENT TEXT + , SORT_ORDER INTEGER NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (CATEGORY_CONTENT_ID) +); + +CREATE TABLE PRODUCT_INFO ( + PRODUCT_ID BIGINT NOT NULL + , PAGE_ID VARCHAR(80) NOT NULL + , TEMPLATE_NAME VARCHAR(80) NOT NULL + , KEYWORD VARCHAR(160) + , DESCRIPTION VARCHAR(160) + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE PRODUCT_CONTENT ( + PRODUCT_CONTENT_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , CONTENT TEXT + , SORT_ORDER INTEGER NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_CONTENT_ID) +); + +CREATE TABLE ORDER_DELIVERY ( + ORDER_FORM_ID BIGINT NOT NULL + , DELIVERY_COMPANY VARCHAR(120) + , DELIVERY_DEPARTMENT VARCHAR(100) + , DELIVERY_FIRSTNAME VARCHAR(40) NOT NULL + , DELIVERY_LASTNAME VARCHAR(40) NOT NULL + , DELIVERY_FIRSTNAME_DESCRIPTION VARCHAR(40) + , DELIVERY_LASTNAME_DESCRIPTION VARCHAR(40) + , DELIVERY_STREET_ADDRESS VARCHAR(240) NOT NULL + , DELIVERY_SUBURB VARCHAR(40) + , DELIVERY_CITY VARCHAR(80) NOT NULL + , DELIVERY_STATE VARCHAR(40) + , DELIVERY_POSTCODE VARCHAR(10) NOT NULL + , DELIVERY_TELEPHONE VARCHAR(40) + , DELIVERY_STATUS_ID INTEGER + , DELIVERY_METHOD_ID INTEGER + , DELIVERY_METHOD_CODE VARCHAR(40) NOT NULL + , DELIVERY_COUNTRY_CODE VARCHAR(40) NOT NULL + , DELIVERY_LANGUAGE VARCHAR(20) NOT NULL + , DELIVERY_COUNTRY_ID INTEGER NOT NULL + , DELIVERY_ZONE_ID INTEGER NOT NULL + , REQUESTED_DATE TIMESTAMP + , SENT_DATE TIMESTAMP + , RECEIVED_DATE TIMESTAMP + , SLIP_NUMBER VARCHAR(40) + , GIFT_WRAP INTEGER + , GIFT_MESSAGE VARCHAR(200) + , ENVELOPE_LABEL VARCHAR(100) + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE ORDER_PAYMENT ( + ORDER_FORM_ID BIGINT NOT NULL + , PAYMENT_METHOD_ID INTEGER + , PAYMENT_METHOD_CODE VARCHAR(40) NOT NULL + , ORDER_CARD_INFO_ID BIGINT + , PAYMENT_STATUS_ID INTEGER + , UPDATED_DATE TIMESTAMP + , SUB_TOTAL_PRICE DECIMAL(14, 6) + , TAX DECIMAL(14, 6) + , DELIVERY_PRICE DECIMAL(14, 6) + , PAYMENT_FEE DECIMAL(14, 6) + , TOTAL_PRICE DECIMAL(14, 6) NOT NULL + , PRIMARY KEY (ORDER_FORM_ID) +); + +CREATE TABLE FILE_TAG_TO_FILE_DATA ( + FILE_TAG_ID BIGINT NOT NULL + , FILE_DATA_ID BIGINT NOT NULL + , PRIMARY KEY (FILE_DATA_ID, FILE_TAG_ID) +); + +CREATE TABLE IMAGE_DATA ( + FILE_DATA_ID BIGINT NOT NULL AUTO_INCREMENT + , SIZE INTEGER + , HEIGHT INTEGER + , WIDTH INTEGER + , PRIMARY KEY (FILE_DATA_ID) +); + +CREATE TABLE CATEGORY_DESCRIPTION ( + CATEGORY_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , CATEGORY_ID INTEGER NOT NULL + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (CATEGORY_DESCRIPTION_ID) +); + +CREATE TABLE PRODUCT_OPTION_DESCRIPTION ( + PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_OPTION_VALUE_DESCRIPTION ( + PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL AUTO_INCREMENT + , NAME VARCHAR(80) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PRODUCT_OPTION_VALUE_ID) +); + +CREATE TABLE BASKET_PRODUCT_OPTION ( + BASKET_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , BASKET_ID BIGINT NOT NULL + , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL + , PRIMARY KEY (BASKET_PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_STATS ( + PRODUCT_ID BIGINT NOT NULL + , ORDERED INTEGER + , REVIEWED INTEGER + , RATING INTEGER + , FAVORITE INTEGER + , NOTIFICATION INTEGER + , PRIMARY KEY (PRODUCT_ID) +); + +CREATE TABLE FAVORITE_PRODUCT ( + PRODUCT_ID BIGINT NOT NULL + , CUSTOMER_ID BIGINT NOT NULL + , UPDATED_DATE TIMESTAMP NOT NULL + , PRIMARY KEY (CUSTOMER_ID, PRODUCT_ID) +); + +CREATE TABLE ORDER_PRODUCT_OPTION ( + ORDER_PRODUCT_OPTION_ID BIGINT NOT NULL AUTO_INCREMENT + , ORDER_PRODUCT_ID BIGINT NOT NULL + , PRODUCT_OPTION_VALUE_ID BIGINT NOT NULL + , PRODUCT_OPTION_CODE VARCHAR(40) NOT NULL + , PRODUCT_OPTION_VALUE_CODE VARCHAR(40) NOT NULL + , PRIMARY KEY (ORDER_PRODUCT_OPTION_ID) +); + +CREATE TABLE PRODUCT_ATTRIBUTE ( + PRODUCT_ATTRIBUTE_ID BIGINT NOT NULL AUTO_INCREMENT + , PRODUCT_ID BIGINT NOT NULL + , NAME VARCHAR(100) NOT NULL + , VALUE VARCHAR(100) + , PRIMARY KEY (PRODUCT_ATTRIBUTE_ID) +); + +CREATE TABLE DELIVERY_STATUS_DESCRIPTION ( + DELIVERY_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE PAYMENT_STATUS_DESCRIPTION ( + PAYMENT_STATUS_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , PAYMENT_STATUS_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (PAYMENT_STATUS_DESCRIPTION_ID) +); + +CREATE TABLE DELIVERY_TYPE_DESCRIPTION ( + DELIVERY_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_TYPE_DESCRIPTION_ID) +); + +CREATE TABLE COUNTRY_DESCRIPTION ( + COUNTRY_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , COUNTRY_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (COUNTRY_DESCRIPTION_ID) +); + +CREATE TABLE TAX_TYPE_DESCRIPTION ( + TAX_TYPE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , TAX_TYPE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , DESCRIPTION VARCHAR(200) + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (TAX_TYPE_DESCRIPTION_ID) +); + +CREATE TABLE DELIVERY_ZONE_DESCRIPTION ( + DELIVERY_ZONE_DESCRIPTION_ID INTEGER NOT NULL AUTO_INCREMENT + , DELIVERY_ZONE_ID INTEGER NOT NULL + , NAME VARCHAR(40) NOT NULL + , LANGUAGE VARCHAR(20) NOT NULL + , PRIMARY KEY (DELIVERY_ZONE_DESCRIPTION_ID) +); + +CREATE TABLE ADDRESS_BOOK ( + ADDRESS_BOOK_ID BIGINT NOT NULL AUTO_INCREMENT + , CUSTOMER_ID BIGINT NOT NULL + , COMPANY VARCHAR(128) + , DEPARTMENT VARCHAR(64) + , FIRSTNAME VARCHAR(40) NOT NULL + , LASTNAME VARCHAR(40) NOT NULL + , FIRSTNAME_DESCRIPTION VARCHAR(40) + , LASTNAME_DESCRIPTION VARCHAR(40) + , STREET_ADDRESS VARCHAR(255) NOT NULL + , SUBURB VARCHAR(32) + , CITY VARCHAR(64) NOT NULL + , STATE VARCHAR(32) + , POSTCODE VARCHAR(10) NOT NULL + , TELEPHONE VARCHAR(32) + , FAX VARCHAR(32) + , CELLPHONE VARCHAR(32) + , DEFAULT_ADDRESS INTEGER NOT NULL + , COUNTRY_ID INTEGER NOT NULL DEFAULT 0 + , DELIVERY_ZONE_ID INTEGER NOT NULL + , PRIMARY KEY (ADDRESS_BOOK_ID) +); + +ALTER TABLE CATEGORY + ADD CONSTRAINT FK_FROM_CATEGORY_TO_CATEGORY + FOREIGN KEY (PARENT_CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE MANUFACTURER + ADD CONSTRAINT FK_FROM_MANUFACTURER_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE ORDER_FORM + ADD CONSTRAINT FK_FROM_CUSTOMER_TO_ORDER_FORM + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ORDER_FORM + ADD CONSTRAINT FK_FROM_ORDER_FORM_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_MANUFACTURER + FOREIGN KEY (MANUFACTURER_ID) + REFERENCES MANUFACTURER (MANUFACTURER_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_DELIVERY_TYPE + FOREIGN KEY (DELIVERY_TYPE_ID) + REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID); + +ALTER TABLE PRODUCT + ADD CONSTRAINT FK_FROM_PRODUCT_TO_TAX_TYPE + FOREIGN KEY (TAX_TYPE_ID) + REFERENCES TAX_TYPE (TAX_TYPE_ID); + +ALTER TABLE BASKET + ADD CONSTRAINT FK_FROM_BASKET_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE BASKET + ADD CONSTRAINT FK_FROM_BASKET_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE REVIEW + ADD CONSTRAINT FK_FROM_REVIEW_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE REVIEW + ADD CONSTRAINT FK_FROM_REVIEW_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_PRODUCT + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_PRODUCT + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_OPTION_VALUE + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_TO_PRODUCT_OPTION + FOREIGN KEY (PRODUCT_OPTION_ID) + REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID); + +ALTER TABLE DELIVERY_METHOD_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_METHOD_DESCRIPTION_TO_DELIVERY_METHOD + FOREIGN KEY (DELIVERY_METHOD_ID) + REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID); + +ALTER TABLE ORDER_STATUS_HISTORY + ADD CONSTRAINT FK_FROM_ORDERS_STATUS_HISTORY_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_STATUS_HISTORY + ADD CONSTRAINT FK_FROM_ORDER_STATUS_HISTORY_TO_ORDER_FORM + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE ORDER_COMMENT + ADD CONSTRAINT FK_FROM_ORDER_COMMENT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE PRODUCT_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_DESCRIPTION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_NOTIFICATION + ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE PRODUCT_NOTIFICATION + ADD CONSTRAINT FK_FROM_PRODUCT_NOTIFICATION_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_TO_CATEGORY + ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_TO_CATEGORY + ADD CONSTRAINT FK_FROM_PRODUCT_TO_CATEGORY_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE REVIEW_DESCRIPTION + ADD CONSTRAINT FK_FROM_REVIEW_DESCRIPTION_TO_REVIEW + FOREIGN KEY (REVIEW_ID) + REFERENCES REVIEW (REVIEW_ID); + +ALTER TABLE BARGAIN + ADD CONSTRAINT FK_FROM_BARGAIN_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_ORDER_STATUS_DESCRIPTION_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE PAYMENT_METHOD_DESCRIPTION + ADD CONSTRAINT FK_FROM_PAYMENT_METHOD_DESCRIPTION_TO_PAYMENT_METHOD + FOREIGN KEY (PAYMENT_METHOD_ID) + REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID); + +ALTER TABLE CARD_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_CARD_TYPES_DESCRIPTION_TO_CARD_TYPE + FOREIGN KEY (CARD_TYPE_ID) + REFERENCES CARD_TYPE (CARD_TYPE_ID); + +ALTER TABLE ORDER_CARD_INFO + ADD CONSTRAINT FK_FROM_ORDER_CARD_INFO_TO_CARD_TYPE + FOREIGN KEY (CARD_TYPE_ID) + REFERENCES CARD_TYPE (CARD_TYPE_ID); + +ALTER TABLE ORDER_NOTIFICATION + ADD CONSTRAINT FK_FROM_ORDER_NOTIFICATION_TO_ORDER_STATUS + FOREIGN KEY (ORDER_STATUS_ID) + REFERENCES ORDER_STATUS (ORDER_STATUS_ID); + +ALTER TABLE MANUFACTURER_DESCRIPTION + ADD CONSTRAINT FK_FROM_MANUFACTURER_DESCRIPTION_TO_MANUFACTURER + FOREIGN KEY (MANUFACTURER_ID) + REFERENCES MANUFACTURER (MANUFACTURER_ID); + +ALTER TABLE CATEGORY_INFO + ADD CONSTRAINT FK_FROM_CATEGORY_INFO_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE CATEGORY_CONTENT + ADD CONSTRAINT FK_FROM_CATEGORY_CONTENT_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE PRODUCT_INFO + ADD CONSTRAINT FK_FROM_PRODUCT_INFO_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE PRODUCT_CONTENT + ADD CONSTRAINT FK_FROM_PRODUCT_CONTENT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_STATUS + FOREIGN KEY (DELIVERY_STATUS_ID) + REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_METHOD + FOREIGN KEY (DELIVERY_METHOD_ID) + REFERENCES DELIVERY_METHOD (DELIVERY_METHOD_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_COUNTRY + FOREIGN KEY (DELIVERY_COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + +ALTER TABLE ORDER_DELIVERY + ADD CONSTRAINT FK_FROM_ORDER_DELIVERY_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_ORDER_FORM + FOREIGN KEY (ORDER_FORM_ID) + REFERENCES ORDER_FORM (ORDER_FORM_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_METHOD + FOREIGN KEY (PAYMENT_METHOD_ID) + REFERENCES PAYMENT_METHOD (PAYMENT_METHOD_ID); + +ALTER TABLE ORDER_PAYMENT + ADD CONSTRAINT FK_FROM_ORDER_PAYMENT_TO_PAYMENT_STATUS + FOREIGN KEY (PAYMENT_STATUS_ID) + REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID); + +ALTER TABLE FILE_TAG_TO_FILE_DATA + ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_TAG + FOREIGN KEY (FILE_TAG_ID) + REFERENCES FILE_TAG (FILE_TAG_ID); + +ALTER TABLE FILE_TAG_TO_FILE_DATA + ADD CONSTRAINT FK_FROM_FILE_TAG_TO_FILE_DATA_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE IMAGE_DATA + ADD CONSTRAINT FK_FROM_IMAGE_DATA_TO_FILE_DATA + FOREIGN KEY (FILE_DATA_ID) + REFERENCES FILE_DATA (FILE_DATA_ID); + +ALTER TABLE CATEGORY_DESCRIPTION + ADD CONSTRAINT FK_FROM_CATEGORY_DESCRIPTION_TO_CATEGORY + FOREIGN KEY (CATEGORY_ID) + REFERENCES CATEGORY (CATEGORY_ID); + +ALTER TABLE PRODUCT_OPTION_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_DESCRIPTION_TO_PRODUCT_OPTION + FOREIGN KEY (PRODUCT_OPTION_ID) + REFERENCES PRODUCT_OPTION (PRODUCT_OPTION_ID); + +ALTER TABLE PRODUCT_OPTION_VALUE_DESCRIPTION + ADD CONSTRAINT FK_FROM_PRODUCT_OPTION_VALUE_DESCRIPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE BASKET_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_BASKET + FOREIGN KEY (BASKET_ID) + REFERENCES BASKET (BASKET_ID); + +ALTER TABLE BASKET_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_BASKET_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE PRODUCT_STATS + ADD CONSTRAINT FK_FROM_PRODUCT_STATS_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE FAVORITE_PRODUCT + ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE FAVORITE_PRODUCT + ADD CONSTRAINT FK_FROM_FAVORITE_PRODUCT_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ORDER_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_ORDER_PRODUCT + FOREIGN KEY (ORDER_PRODUCT_ID) + REFERENCES ORDER_PRODUCT (ORDER_PRODUCT_ID); + +ALTER TABLE ORDER_PRODUCT_OPTION + ADD CONSTRAINT FK_FROM_ORDER_PRODUCT_OPTION_TO_PRODUCT_OPTION_VALUE + FOREIGN KEY (PRODUCT_OPTION_VALUE_ID) + REFERENCES PRODUCT_OPTION_VALUE (PRODUCT_OPTION_VALUE_ID); + +ALTER TABLE PRODUCT_ATTRIBUTE + ADD CONSTRAINT FK_FROM_PRODUCT_ATTRIBUTE_TO_PRODUCT + FOREIGN KEY (PRODUCT_ID) + REFERENCES PRODUCT (PRODUCT_ID); + +ALTER TABLE DELIVERY_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_STATUS_DESCRIPTION_TO_DELIVERY_STATUS + FOREIGN KEY (DELIVERY_STATUS_ID) + REFERENCES DELIVERY_STATUS (DELIVERY_STATUS_ID); + +ALTER TABLE PAYMENT_STATUS_DESCRIPTION + ADD CONSTRAINT FK_FROM_PAYMENT_STATUS_DESCRIPTION_PAYMENT_STATUS + FOREIGN KEY (PAYMENT_STATUS_ID) + REFERENCES PAYMENT_STATUS (PAYMENT_STATUS_ID); + +ALTER TABLE DELIVERY_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_TYPE_DESCRIPTION_TO_DELIVERY_TYPE + FOREIGN KEY (DELIVERY_TYPE_ID) + REFERENCES DELIVERY_TYPE (DELIVERY_TYPE_ID); + +ALTER TABLE COUNTRY_DESCRIPTION + ADD CONSTRAINT FK_FROM_COUNTRY_DESCRIPTION_TO_COUNTRY + FOREIGN KEY (COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + +ALTER TABLE TAX_TYPE_DESCRIPTION + ADD CONSTRAINT FK_FROM_TAX_TYPE_DESCRIPTION_TO_TAX_TYPE + FOREIGN KEY (TAX_TYPE_ID) + REFERENCES TAX_TYPE (TAX_TYPE_ID); + +ALTER TABLE DELIVERY_ZONE_DESCRIPTION + ADD CONSTRAINT FK_FROM_DELIVERY_ZONE_DESCRIPTION_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_DELIVERY_ZONE + FOREIGN KEY (DELIVERY_ZONE_ID) + REFERENCES DELIVERY_ZONE (DELIVERY_ZONE_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_CUSTOMER + FOREIGN KEY (CUSTOMER_ID) + REFERENCES CUSTOMER (CUSTOMER_ID); + +ALTER TABLE ADDRESS_BOOK + ADD CONSTRAINT FK_FROM_ADDRESS_BOOK_TO_COUNTRY + FOREIGN KEY (COUNTRY_ID) + REFERENCES COUNTRY (COUNTRY_ID); + Added: pompei/libraries/pompei-db/trunk/src/main/config/sql/insert_data.sql =================================================================== From svnnotify @ sourceforge.jp Mon Jan 28 13:42:37 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 28 Jan 2008 13:42:37 +0900 Subject: [pal-cvs 3054] [799] added code. Message-ID: <1201495357.595620.25926.nullmailer@users.sourceforge.jp> Revision: 799 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=799 Author: shinsuke Date: 2008-01-28 13:42:36 +0900 (Mon, 28 Jan 2008) Log Message: ----------- added code. Modified Paths: -------------- pompei/libraries/pompei-db/trunk/.classpath pompei/libraries/pompei-db/trunk/pom.xml Added Paths: ----------- pompei/libraries/pompei-db/trunk/src/main/java/ pompei/libraries/pompei-db/trunk/src/main/java/jp/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java pompei/libraries/pompei-db/trunk/src/test/ pompei/libraries/pompei-db/trunk/src/test/java/ pompei/libraries/pompei-db/trunk/src/test/java/jp/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/PompeiTestConstants.java pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java pompei/libraries/pompei-db/trunk/src/test/resources/ pompei/libraries/pompei-db/trunk/src/test/resources/app.dicon pompei/libraries/pompei-db/trunk/src/test/resources/convention.dicon pompei/libraries/pompei-db/trunk/src/test/resources/creator.dicon pompei/libraries/pompei-db/trunk/src/test/resources/customizer.dicon pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon pompei/libraries/pompei-db/trunk/src/test/resources/jp/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/ pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.xls pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest_getCustomerList_Expected.xls pompei/libraries/pompei-db/trunk/src/test/resources/s2container.dicon pompei/libraries/pompei-db/trunk/src/test/resources/s2junit4.dicon -------------- next part -------------- Modified: pompei/libraries/pompei-db/trunk/.classpath =================================================================== --- pompei/libraries/pompei-db/trunk/.classpath 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/.classpath 2008-01-28 04:42:36 UTC (rev 799) @@ -6,26 +6,27 @@ + + + + + + + + + + + - + - - - - - - - - - - \ No newline at end of file Modified: pompei/libraries/pompei-db/trunk/pom.xml =================================================================== --- pompei/libraries/pompei-db/trunk/pom.xml 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/pom.xml 2008-01-28 04:42:36 UTC (rev 799) @@ -38,6 +38,11 @@ validate + + + ${basedir}/src/test/resources + + maven-compiler-plugin @@ -47,6 +52,10 @@ + maven-surefire-plugin + 2.3 + + maven-source-plugin @@ -151,11 +160,17 @@ org.apache.geronimo.specs - geronimo-ejb_2.1_spec + geronimo-ejb_3.0_spec 1.0 provided + org.apache.geronimo.specs + geronimo-jpa_3.0_spec + 1.0 + provided + + commons-collections commons-collections 3.1 Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,36 @@ +package jp.sf.pal.pompei.service; + +import java.io.Serializable; +import java.util.List; + +import jp.sf.pal.pompei.exentity.Customer; + +public interface CustomerService extends Serializable { + + public List getCustomerList(); + +// public Customer getCustomer(BigDecimal customersId); +// +// public void deleteCustomer(BigDecimal customersId); +// +// public AddressBook getAddressBook(BigDecimal addressBookId); +// +// public AddressBook getDefaultAddressBook(BigDecimal customerId); +// +// public void addAddressBook(AddressBook addressBook); +// +// public void deleteAddressBook(AddressBook addressBook); +// +// public List getAddressBookList(BigDecimal customerId); +// +// public void addCustomer(Customer customers, AddressBook addressBook); +// +// public void addCustomer(Map userInfo, Customer customers, +// AddressBook addressBook) throws CommonException; +// +// public Zone getZone(BigDecimal zoneId); +// +// public Customer getCustomerByPortalId(String portalId); +// +// public void updateCustomer(Customer customer, AddressBook addressBook); +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,32 @@ +package jp.sf.pal.pompei.service.impl; + +import java.util.List; + +import jp.sf.pal.pompei.cbean.CustomerCB; +import jp.sf.pal.pompei.exbhv.CustomerBhv; +import jp.sf.pal.pompei.exentity.Customer; +import jp.sf.pal.pompei.service.CustomerService; + +public class CustomerServiceImpl implements CustomerService { + + private static final long serialVersionUID = 6825151685109326492L; + + private CustomerBhv customerBhv; + + public List getCustomerList() { + CustomerCB customerCB = new CustomerCB(); + customerCB.query().addOrderBy_LastnameDescription_Asc(); + customerCB.query().addOrderBy_Lastname_Asc(); + + return getCustomerBhv().selectList(customerCB); + } + + public CustomerBhv getCustomerBhv() { + return customerBhv; + } + + public void setCustomerBhv(CustomerBhv customerBhv) { + this.customerBhv = customerBhv; + } + +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/PompeiTestConstants.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/PompeiTestConstants.java 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/PompeiTestConstants.java 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,5 @@ +package jp.sf.pal.pompei; + +public class PompeiTestConstants { + +} Property changes on: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/PompeiTestConstants.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,25 @@ +package jp.sf.pal.pompei.service.impl; + +import static org.seasar.framework.unit.S2Assert.assertEquals; + +import java.util.List; + +import jp.sf.pal.pompei.exentity.Customer; +import jp.sf.pal.pompei.service.CustomerService; + +import org.junit.runner.RunWith; +import org.seasar.framework.unit.Seasar2; +import org.seasar.framework.unit.TestContext; + + @ RunWith(Seasar2.class) +public class CustomerServiceImplTest { + private TestContext ctx; + + private CustomerService customerService; + + public void getCustomerList() throws Exception { + List customerList = customerService.getCustomerList(); + System.out.println("TEST: "+customerList); + assertEquals("1", ctx.getExpected(), customerList); + } +} Property changes on: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/test/resources/app.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/app.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/app.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,9 @@ + + + + + + + + Added: pompei/libraries/pompei-db/trunk/src/test/resources/convention.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/convention.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/convention.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,10 @@ + + + + + + "jp.sf.pal.pompei" + + + Added: pompei/libraries/pompei-db/trunk/src/test/resources/creator.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/creator.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/creator.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file Added: pompei/libraries/pompei-db/trunk/src/test/resources/customizer.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/customizer.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/customizer.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,71 @@ + + + + + + + + traceCustomizer + + + + + + "app_aop.appFacesExceptionThrowsInterceptor" + + "do.*, initialize, prerender" + + + + + + + traceCustomizer + + + + + + "app_aop.actionSupportInterceptor" + + "do.*, initialize, prerender" + + + + + + + traceCustomizer + + + requiredTxCustomizer + + + + + traceCustomizer + + + + + traceCustomizer + + + s2DaoCustomizer + + + + + traceCustomizer + + + s2DxoCustomizer + + + + + traceCustomizer + + + Added: pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/jdbc.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,49 @@ + + + + + + + + + + + + 100 + + + + + + + + "org.h2.Driver" + + + "jdbc:h2:file:" + + @org.seasar.framework.util.ResourceUtil @ getBuildDir(@jp.sf.pal.pompei.PompeiTestConstants @ class).getCanonicalPath() + + "/db/pompei" + + "sa" + "" + + @org.seasar.framework.util.DriverManagerUtil @ deregisterAllDrivers() + + + + + 600 + 10 + + + + + + Added: pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.xls =================================================================== (Binary files differ) Property changes on: pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.xls ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest_getCustomerList_Expected.xls =================================================================== (Binary files differ) Property changes on: pompei/libraries/pompei-db/trunk/src/test/resources/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest_getCustomerList_Expected.xls ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pompei/libraries/pompei-db/trunk/src/test/resources/s2container.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/s2container.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/s2container.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file Added: pompei/libraries/pompei-db/trunk/src/test/resources/s2junit4.dicon =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/resources/s2junit4.dicon 2008-01-26 12:58:20 UTC (rev 798) +++ pompei/libraries/pompei-db/trunk/src/test/resources/s2junit4.dicon 2008-01-28 04:42:36 UTC (rev 799) @@ -0,0 +1,28 @@ + + + + + + + + + "javaee5.dicon" + + + context.testClassShortName + ".dicon" + + + + + context.testClassShortName + "_" + context.testMethodName + ".xls" + + + context.testClassShortName + ".xls" + + + + + context.testClassShortName + "_" + context.testMethodName + "_Expected" + ".xls" + + + From svnnotify @ sourceforge.jp Mon Jan 28 14:13:26 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 28 Jan 2008 14:13:26 +0900 Subject: [pal-cvs 3055] [800] added interfaces. Message-ID: <1201497206.243175.13630.nullmailer@users.sourceforge.jp> Revision: 800 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=800 Author: shinsuke Date: 2008-01-28 14:13:25 +0900 (Mon, 28 Jan 2008) Log Message: ----------- added interfaces. Modified Paths: -------------- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java Added Paths: ----------- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/OrderFormPager.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java -------------- next part -------------- Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,93 @@ +package jp.sf.pal.pompei; + +/** + * @author shinsuke + * + */ +public class PompeiException extends Exception { + + /** + * Serial Version UID + */ + private static final long serialVersionUID = 4564000116499132363L; + + private String messageId; + + private Object[] args; + + /** + * @return Returns the messageId. + */ + public String getMessageId() { + return messageId; + } + + /** + * @param messageId + * The messageId to set. + */ + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + /** + * @return Returns the args. + */ + public Object[] getArgs() { + return args; + } + + /** + * @param args + * The args to set. + */ + public void setArgs(Object[] args) { + this.args = args; + } + + public PompeiException(String messageId) { + super(messageId); + this.messageId = messageId; + } + + public PompeiException(String messageId, Object[] args) { + super(messageId); + this.messageId = messageId; + this.args = args; + } + + public PompeiException(String messageId, String message, Throwable cause) { + super(message, cause); + this.messageId = messageId; + } + + public PompeiException(String messageId, Object[] args, String message, + Throwable cause) { + super(message, cause); + this.messageId = messageId; + this.args = args; + } + + public PompeiException(String messageId, String message) { + super(message); + this.messageId = messageId; + } + + public PompeiException(String messageId, Object[] args, String message) { + super(message); + this.messageId = messageId; + this.args = args; + } + + public PompeiException(String messageId, Throwable cause) { + super(cause); + this.messageId = messageId; + } + + public PompeiException(String messageId, Object[] args, Throwable cause) { + super(cause); + this.messageId = messageId; + this.args = args; + } + +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,47 @@ +package jp.sf.pal.pompei.pager; + +import java.io.Serializable; + +public abstract class DefaultPager implements Serializable { + public static final int DEFAULT_PAGE_SIZE = 15; + + public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; + + private int pageSize; + + private int currentPageNumber; + + /** + * @return pageSize + */ + public int getPageSize() { + if (pageSize <= 0) { + pageSize = DEFAULT_PAGE_SIZE; + } + return pageSize; + } + + /** + * @param pageSize 設定する pageSize + */ + public void setPageSize(int pageSize) { + this.pageSize = pageSize; + } + + /** + * @return currentPageNumber + */ + public int getCurrentPageNumber() { + if (currentPageNumber <= 0) { + currentPageNumber = DEFAULT_CURRENT_PAGE_NUMBER; + } + return currentPageNumber; + } + + /** + * @param currentPageNumber 設定する currentPageNumber + */ + public void setCurrentPageNumber(int currentPageNumber) { + this.currentPageNumber = currentPageNumber; + } +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/DefaultPager.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/OrderFormPager.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/OrderFormPager.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/OrderFormPager.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,43 @@ +package jp.sf.pal.pompei.pager; + +import java.math.BigDecimal; + +public class OrderFormPager extends DefaultPager { + + /** + * + */ + private static final long serialVersionUID = 8632942395235732202L; + + private BigDecimal orderStatusId; + + private String sortOrder; + + /** + * @return sortOrder + */ + public String getSortOrder() { + return sortOrder; + } + + /** + * @param sortOrder 設定する sortOrder + */ + public void setSortOrder(String sortOrder) { + this.sortOrder = sortOrder; + } + + /** + * @return orderStatusId + */ + public BigDecimal getOrderStatusId() { + return orderStatusId; + } + + /** + * @param orderStatusId 設定する orderStatusId + */ + public void setOrderStatusId(BigDecimal orderStatusId) { + this.orderStatusId = orderStatusId; + } +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/OrderFormPager.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,59 @@ +package jp.sf.pal.pompei.pager; + +import java.math.BigDecimal; + +public class ProductPager extends DefaultPager { + /** + * + */ + private static final long serialVersionUID = 5634903690975646435L; + + // displayMode is not condition for search + private String displayMode; + + private String orderMode; + + private BigDecimal categoryId; + + /** + * @return categoryId + */ + public BigDecimal getCategoryId() { + return categoryId; + } + + /** + * @param categoryId 設定する categoryId + */ + public void setCategoryId(BigDecimal categoryId) { + this.categoryId = categoryId; + } + + /** + * @return displayMode + */ + public String getDisplayMode() { + return displayMode; + } + + /** + * @param displayMode 設定する displayMode + */ + public void setDisplayMode(String displayMode) { + this.displayMode = displayMode; + } + + /** + * @return orderMode + */ + public String getOrderMode() { + return orderMode; + } + + /** + * @param orderMode 設定する orderMode + */ + public void setOrderMode(String orderMode) { + this.orderMode = orderMode; + } +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/pager/ProductPager.java ___________________________________________________________________ Name: svn:eol-style + native Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-28 05:13:25 UTC (rev 800) @@ -1,36 +1,56 @@ package jp.sf.pal.pompei.service; import java.io.Serializable; +import java.math.BigDecimal; import java.util.List; +import java.util.Map; +import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.exentity.AddressBook; +import jp.sf.pal.pompei.exentity.Basket; import jp.sf.pal.pompei.exentity.Customer; public interface CustomerService extends Serializable { + // NOTE: from an old CustomerService public List getCustomerList(); -// public Customer getCustomer(BigDecimal customersId); -// -// public void deleteCustomer(BigDecimal customersId); -// -// public AddressBook getAddressBook(BigDecimal addressBookId); -// -// public AddressBook getDefaultAddressBook(BigDecimal customerId); -// -// public void addAddressBook(AddressBook addressBook); -// -// public void deleteAddressBook(AddressBook addressBook); -// -// public List getAddressBookList(BigDecimal customerId); -// -// public void addCustomer(Customer customers, AddressBook addressBook); -// -// public void addCustomer(Map userInfo, Customer customers, -// AddressBook addressBook) throws CommonException; -// -// public Zone getZone(BigDecimal zoneId); -// -// public Customer getCustomerByPortalId(String portalId); -// -// public void updateCustomer(Customer customer, AddressBook addressBook); + public Customer getCustomer(BigDecimal customersId); + + public void deleteCustomer(BigDecimal customersId); + + public AddressBook getAddressBook(BigDecimal addressBookId); + + public AddressBook getDefaultAddressBook(BigDecimal customerId); + + public void addAddressBook(AddressBook addressBook); + + public void deleteAddressBook(AddressBook addressBook); + + public List getAddressBookList(BigDecimal customerId); + + public void addCustomer(Customer customers, AddressBook addressBook); + + public void addCustomer(Map userInfo, Customer customers, + AddressBook addressBook) throws PompeiException; + + public Customer getCustomerByPortalId(String portalId); + + public void updateCustomer(Customer customer, AddressBook addressBook); + + // NOTE: from an old CustomerService - END + + // NOTE: from an old CartService - BEGIN + public abstract Basket getBasket(BigDecimal customerId, BigDecimal productId); + + public abstract List getBasketList(BigDecimal customerId); + + public abstract void addBasket(Basket customerBaskets); + + public abstract void updateBasket(Basket customerBasket); + + public abstract void deleteBasket(BigDecimal customerBasketId); + + public abstract void cleanupBasket(BigDecimal customerId); + // NOTE: from an old CartService - END } Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,97 @@ +package jp.sf.pal.pompei.service; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Currency; +import java.util.List; + +import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; +import jp.sf.pal.pompei.exentity.AddressBook; +import jp.sf.pal.pompei.exentity.CardTypeDescription; +import jp.sf.pal.pompei.exentity.Customer; +import jp.sf.pal.pompei.exentity.DeliveryMethod; +import jp.sf.pal.pompei.exentity.DeliveryMethodDescription; +import jp.sf.pal.pompei.exentity.OrderCardInfo; +import jp.sf.pal.pompei.exentity.OrderForm; +import jp.sf.pal.pompei.exentity.OrderNotification; +import jp.sf.pal.pompei.exentity.OrderProduct; +import jp.sf.pal.pompei.exentity.OrderStatus; +import jp.sf.pal.pompei.exentity.OrderStatusDescription; +import jp.sf.pal.pompei.exentity.PaymentMethod; +import jp.sf.pal.pompei.exentity.PaymentMethodDescription; +import jp.sf.pal.pompei.pager.OrderFormPager; + +public interface OrderService extends Serializable { + // NOTE: from an old OrderService - BEGIN + + public void updateOrderForm(OrderForm orderForm, OrderCardInfo orderCardInfo); + + public void deleteOrderForm(OrderForm orderForm); + + public OrderForm getOrderForm(BigDecimal orderFormId); + + public List getOrderFormList(); + + public PagingResultBean getOrderFormListByPager( + OrderFormPager orderFormPager); + + public String addOrderForm(Customer customer, + List customerBasketIdList, + AddressBook customerAddressBook, AddressBook deliveryAddressBook, + AddressBook billingAddressBook, PaymentMethod paymentMethod, + DeliveryMethod deliveryMethod, OrderCardInfo orderCardInfo, + Currency currency, BigDecimal subTotalPrice, BigDecimal tax, + BigDecimal deliveryPrice, BigDecimal paymentFee, + BigDecimal totalPrice) throws PompeiException; + + public Currency getCurrency(BigDecimal currencyId); + + public OrderStatus getOrderStatus(BigDecimal orderStatusId); + + public List getOrderStatusDescriptionList( + BigDecimal languageId); + + public int getOrderFormCountByOrderStatus(BigDecimal orderStatusId); + + public OrderCardInfo getOrderCardInfo(BigDecimal orderCardInfoId); + + public List getOrderProductListByOrderFormId( + BigDecimal orderFormId); + + public List getOrderNotificationListByOrderFormId( + BigDecimal orderFormId); + + public void sendOrderNotifications(BigDecimal orderFormId, + BigDecimal[] orderNotificationIds) throws PompeiException; + + public OrderNotification getOrderNotification(BigDecimal orderNotificationId); + + // NOTE: from an old OrderService - END + // NOTE: from an old CardTypeService - BEGIN + public abstract List getCardTypeDescriptionList(); + + // NOTE: from an old CardTypeService - END + // NOTE: from an old DeliveryMethodSerivce - BEGIN + public abstract List getDeliveryMethodDescriptionList(); + + public abstract DeliveryMethodDescription getDeliveryMethodDescription( + BigDecimal deliveryMethodId); + + public abstract void addDeliveryMethodDescription( + DeliveryMethodDescription d); + + public abstract void deleteDeliveryMethod(BigDecimal id); + + public abstract void updateDeliveryMethodDescription( + DeliveryMethodDescription d); + + // NOTE: from an old DeliveryMethodSerivce - END + // NOTE: from an old PaymentMethodService - BEGIN + public abstract List getPaymentMethodDescriptionList(); + + public abstract PaymentMethodDescription getPaymentMethodDescription( + BigDecimal paymentMethodId); + // NOTE: from an old PaymentMethodService - END + +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,87 @@ +package jp.sf.pal.pompei.service; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.List; + +import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; +import jp.sf.pal.pompei.exentity.CategoryDescription; +import jp.sf.pal.pompei.exentity.Manufacturer; +import jp.sf.pal.pompei.exentity.ManufacturerDescription; +import jp.sf.pal.pompei.exentity.Product; +import jp.sf.pal.pompei.exentity.ProductDescription; +import jp.sf.pal.pompei.pager.ProductPager; + +public interface ProductService extends Serializable { + // NOTE: from an old ProductService - BEGIN + public void addProductDescription(ProductDescription description, + BigDecimal categoryId) throws PompeiException; + + public void deleteProduct(BigDecimal productsId); + + public Product getProdcut(BigDecimal id); + + public ProductDescription getProdcutDescription(BigDecimal id); + + public ProductDescription getProdcutDescription(BigDecimal id, + BigDecimal languagesId); + + public List getProductList(BigDecimal categoryId); + + public PagingResultBean getProductListByPager( + ProductPager productPager); + + public void updateProductDescription(ProductDescription description) + throws PompeiException; + + public Manufacturer getManufacturer(BigDecimal manufacturersId); + +// public ProductImage getProductImageByProductIdAndType(BigDecimal productId, +// BigDecimal type); + + public PagingResultBean getTopProductList(String type, int num); + + // NOTE: from an old ProductService - END + // NOTE: from an old CategoryService - BEGIN + public List getSubCategoryDescriptionList(BigDecimal id); + + public List getSubCategoryDescriptionList( + BigDecimal id, BigDecimal languagesId); + + public CategoryDescription getCategoryDescription(BigDecimal categoryId); + + public CategoryDescription getCategoryDescription(BigDecimal categoryId, + BigDecimal languageId); + + public void addCategoryDescription(CategoryDescription d); + + public boolean hasChildCategory(BigDecimal id); + + public void deleteCategory(BigDecimal id); + + public void updateCategoryDescription(CategoryDescription d); + + public List getCategoryDescriptionBreadcrumb( + BigDecimal categoryId); + // NOTE: from an old CategoryService - END + // NOTE: from an old ManufacturerService - BEGIN + public void addManufactureDescription(ManufacturerDescription info); + + public void deleteManufacture(BigDecimal id); + + public ManufacturerDescription getManufactureDescription(BigDecimal id); + + public ManufacturerDescription getManufactureDescription(BigDecimal id, + BigDecimal languageId); + + public List getManufactureDescriptionList(); + + public List getManufactureDescriptionList( + BigDecimal languagesId); + + public List getManufacturerList(); + + public void updateManufactureDescription(ManufacturerDescription info); + // NOTE: from an old ManufacturerService - END +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java ___________________________________________________________________ Name: svn:eol-style + native Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) @@ -1,9 +1,14 @@ package jp.sf.pal.pompei.service.impl; +import java.math.BigDecimal; import java.util.List; +import java.util.Map; +import jp.sf.pal.pompei.PompeiException; import jp.sf.pal.pompei.cbean.CustomerCB; import jp.sf.pal.pompei.exbhv.CustomerBhv; +import jp.sf.pal.pompei.exentity.AddressBook; +import jp.sf.pal.pompei.exentity.Basket; import jp.sf.pal.pompei.exentity.Customer; import jp.sf.pal.pompei.service.CustomerService; @@ -21,6 +26,92 @@ return getCustomerBhv().selectList(customerCB); } + public void addAddressBook(AddressBook addressBook) { + // TODO Auto-generated method stub + + } + + public void addBasket(Basket customerBaskets) { + // TODO Auto-generated method stub + + } + + public void addCustomer(Customer customers, AddressBook addressBook) { + // TODO Auto-generated method stub + + } + + public void addCustomer(Map userInfo, Customer customers, + AddressBook addressBook) throws PompeiException { + // TODO Auto-generated method stub + + } + + public void cleanupBasket(BigDecimal customerId) { + // TODO Auto-generated method stub + + } + + public void deleteAddressBook(AddressBook addressBook) { + // TODO Auto-generated method stub + + } + + public void deleteBasket(BigDecimal customerBasketId) { + // TODO Auto-generated method stub + + } + + public void deleteCustomer(BigDecimal customersId) { + // TODO Auto-generated method stub + + } + + public AddressBook getAddressBook(BigDecimal addressBookId) { + // TODO Auto-generated method stub + return null; + } + + public List getAddressBookList(BigDecimal customerId) { + // TODO Auto-generated method stub + return null; + } + + public Basket getBasket(BigDecimal customerId, BigDecimal productId) { + // TODO Auto-generated method stub + return null; + } + + public List getBasketList(BigDecimal customerId) { + // TODO Auto-generated method stub + return null; + } + + public Customer getCustomer(BigDecimal customersId) { + // TODO Auto-generated method stub + return null; + } + + public Customer getCustomerByPortalId(String portalId) { + // TODO Auto-generated method stub + return null; + } + + public AddressBook getDefaultAddressBook(BigDecimal customerId) { + // TODO Auto-generated method stub + return null; + } + + public void updateBasket(Basket customerBasket) { + // TODO Auto-generated method stub + + } + + public void updateCustomer(Customer customer, AddressBook addressBook) { + // TODO Auto-generated method stub + + } + public CustomerBhv getCustomerBhv() { return customerBhv; } @@ -28,5 +119,4 @@ public void setCustomerBhv(CustomerBhv customerBhv) { this.customerBhv = customerBhv; } - } Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,158 @@ +package jp.sf.pal.pompei.service.impl; + +import java.math.BigDecimal; +import java.util.Currency; +import java.util.List; + +import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; +import jp.sf.pal.pompei.exentity.AddressBook; +import jp.sf.pal.pompei.exentity.CardTypeDescription; +import jp.sf.pal.pompei.exentity.Customer; +import jp.sf.pal.pompei.exentity.DeliveryMethod; +import jp.sf.pal.pompei.exentity.DeliveryMethodDescription; +import jp.sf.pal.pompei.exentity.OrderCardInfo; +import jp.sf.pal.pompei.exentity.OrderForm; +import jp.sf.pal.pompei.exentity.OrderNotification; +import jp.sf.pal.pompei.exentity.OrderProduct; +import jp.sf.pal.pompei.exentity.OrderStatus; +import jp.sf.pal.pompei.exentity.OrderStatusDescription; +import jp.sf.pal.pompei.exentity.PaymentMethod; +import jp.sf.pal.pompei.exentity.PaymentMethodDescription; +import jp.sf.pal.pompei.pager.OrderFormPager; +import jp.sf.pal.pompei.service.OrderService; + +public class OrderServiceImpl implements OrderService { + + private static final long serialVersionUID = -196488361529688068L; + + public void addDeliveryMethodDescription(DeliveryMethodDescription d) { + // TODO Auto-generated method stub + + } + + public String addOrderForm(Customer customer, + List customerBasketIdList, + AddressBook customerAddressBook, AddressBook deliveryAddressBook, + AddressBook billingAddressBook, PaymentMethod paymentMethod, + DeliveryMethod deliveryMethod, OrderCardInfo orderCardInfo, + Currency currency, BigDecimal subTotalPrice, BigDecimal tax, + BigDecimal deliveryPrice, BigDecimal paymentFee, + BigDecimal totalPrice) throws PompeiException { + // TODO Auto-generated method stub + return null; + } + + public void deleteDeliveryMethod(BigDecimal id) { + // TODO Auto-generated method stub + + } + + public void deleteOrderForm(OrderForm orderForm) { + // TODO Auto-generated method stub + + } + + public List getCardTypeDescriptionList() { + // TODO Auto-generated method stub + return null; + } + + public Currency getCurrency(BigDecimal currencyId) { + // TODO Auto-generated method stub + return null; + } + + public DeliveryMethodDescription getDeliveryMethodDescription( + BigDecimal deliveryMethodId) { + // TODO Auto-generated method stub + return null; + } + + public List getDeliveryMethodDescriptionList() { + // TODO Auto-generated method stub + return null; + } + + public OrderCardInfo getOrderCardInfo(BigDecimal orderCardInfoId) { + // TODO Auto-generated method stub + return null; + } + + public OrderForm getOrderForm(BigDecimal orderFormId) { + // TODO Auto-generated method stub + return null; + } + + public int getOrderFormCountByOrderStatus(BigDecimal orderStatusId) { + // TODO Auto-generated method stub + return 0; + } + + public List getOrderFormList() { + // TODO Auto-generated method stub + return null; + } + + public PagingResultBean getOrderFormListByPager( + OrderFormPager orderFormPager) { + // TODO Auto-generated method stub + return null; + } + + public OrderNotification getOrderNotification(BigDecimal orderNotificationId) { + // TODO Auto-generated method stub + return null; + } + + public List getOrderNotificationListByOrderFormId( + BigDecimal orderFormId) { + // TODO Auto-generated method stub + return null; + } + + public List getOrderProductListByOrderFormId( + BigDecimal orderFormId) { + // TODO Auto-generated method stub + return null; + } + + public OrderStatus getOrderStatus(BigDecimal orderStatusId) { + // TODO Auto-generated method stub + return null; + } + + public List getOrderStatusDescriptionList( + BigDecimal languageId) { + // TODO Auto-generated method stub + return null; + } + + public PaymentMethodDescription getPaymentMethodDescription( + BigDecimal paymentMethodId) { + // TODO Auto-generated method stub + return null; + } + + public List getPaymentMethodDescriptionList() { + // TODO Auto-generated method stub + return null; + } + + public void sendOrderNotifications(BigDecimal orderFormId, + BigDecimal[] orderNotificationIds) throws PompeiException { + // TODO Auto-generated method stub + + } + + public void updateDeliveryMethodDescription(DeliveryMethodDescription d) { + // TODO Auto-generated method stub + + } + + public void updateOrderForm(OrderForm orderForm, OrderCardInfo orderCardInfo) { + // TODO Auto-generated method stub + + } + +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java ___________________________________________________________________ Name: svn:eol-style + native Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) @@ -0,0 +1,164 @@ +package jp.sf.pal.pompei.service.impl; + +import java.math.BigDecimal; +import java.util.List; + +import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; +import jp.sf.pal.pompei.exentity.CategoryDescription; +import jp.sf.pal.pompei.exentity.Manufacturer; +import jp.sf.pal.pompei.exentity.ManufacturerDescription; +import jp.sf.pal.pompei.exentity.Product; +import jp.sf.pal.pompei.exentity.ProductDescription; +import jp.sf.pal.pompei.pager.ProductPager; +import jp.sf.pal.pompei.service.ProductService; + +public class ProductServiceImpl implements ProductService { + + private static final long serialVersionUID = -5967665210840374017L; + + public void addCategoryDescription(CategoryDescription d) { + // TODO Auto-generated method stub + + } + + public void addManufactureDescription(ManufacturerDescription info) { + // TODO Auto-generated method stub + + } + + public void addProductDescription(ProductDescription description, + BigDecimal categoryId) throws PompeiException { + // TODO Auto-generated method stub + + } + + public void deleteCategory(BigDecimal id) { + // TODO Auto-generated method stub + + } + + public void deleteManufacture(BigDecimal id) { + // TODO Auto-generated method stub + + } + + public void deleteProduct(BigDecimal productsId) { + // TODO Auto-generated method stub + + } + + public CategoryDescription getCategoryDescription(BigDecimal categoryId) { + // TODO Auto-generated method stub + return null; + } + + public CategoryDescription getCategoryDescription(BigDecimal categoryId, + BigDecimal languageId) { + // TODO Auto-generated method stub + return null; + } + + public List getCategoryDescriptionBreadcrumb( + BigDecimal categoryId) { + // TODO Auto-generated method stub + return null; + } + + public ManufacturerDescription getManufactureDescription(BigDecimal id) { + // TODO Auto-generated method stub + return null; + } + + public ManufacturerDescription getManufactureDescription(BigDecimal id, + BigDecimal languageId) { + // TODO Auto-generated method stub + return null; + } + + public List getManufactureDescriptionList() { + // TODO Auto-generated method stub + return null; + } + + public List getManufactureDescriptionList( + BigDecimal languagesId) { + // TODO Auto-generated method stub + return null; + } + + public Manufacturer getManufacturer(BigDecimal manufacturersId) { + // TODO Auto-generated method stub + return null; + } + + public List getManufacturerList() { + // TODO Auto-generated method stub + return null; + } + + public Product getProdcut(BigDecimal id) { + // TODO Auto-generated method stub + return null; + } + + public ProductDescription getProdcutDescription(BigDecimal id) { + // TODO Auto-generated method stub + return null; + } + + public ProductDescription getProdcutDescription(BigDecimal id, + BigDecimal languagesId) { + // TODO Auto-generated method stub + return null; + } + + public List getProductList(BigDecimal categoryId) { + // TODO Auto-generated method stub + return null; + } + + public PagingResultBean getProductListByPager( + ProductPager productPager) { + // TODO Auto-generated method stub + return null; + } + + public List getSubCategoryDescriptionList(BigDecimal id) { + // TODO Auto-generated method stub + return null; + } + + public List getSubCategoryDescriptionList( + BigDecimal id, BigDecimal languagesId) { + // TODO Auto-generated method stub + return null; + } + + public PagingResultBean getTopProductList(String type, int num) { + // TODO Auto-generated method stub + return null; + } + + public boolean hasChildCategory(BigDecimal id) { + // TODO Auto-generated method stub + return false; + } + + public void updateCategoryDescription(CategoryDescription d) { + // TODO Auto-generated method stub + + } + + public void updateManufactureDescription(ManufacturerDescription info) { + // TODO Auto-generated method stub + + } + + public void updateProductDescription(ProductDescription description) + throws PompeiException { + // TODO Auto-generated method stub + + } + +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java ___________________________________________________________________ Name: svn:eol-style + native Modified: pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-01-28 04:42:36 UTC (rev 799) +++ pompei/libraries/pompei-db/trunk/src/test/java/jp/sf/pal/pompei/service/impl/CustomerServiceImplTest.java 2008-01-28 05:13:25 UTC (rev 800) @@ -19,7 +19,6 @@ public void getCustomerList() throws Exception { List customerList = customerService.getCustomerList(); - System.out.println("TEST: "+customerList); assertEquals("1", ctx.getExpected(), customerList); } } From svnnotify @ sourceforge.jp Tue Jan 29 06:55:49 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 29 Jan 2008 06:55:49 +0900 Subject: [pal-cvs 3056] [801] renamed PompeiDBException. Message-ID: <1201557349.356841.25655.nullmailer@users.sourceforge.jp> Revision: 801 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=801 Author: shinsuke Date: 2008-01-29 06:55:49 +0900 (Tue, 29 Jan 2008) Log Message: ----------- renamed PompeiDBException. Modified Paths: -------------- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java Added Paths: ----------- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBException.java Removed Paths: ------------- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java -------------- next part -------------- Added: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java 2008-01-28 21:55:49 UTC (rev 801) @@ -0,0 +1,11 @@ +package jp.sf.pal.pompei; + +import java.math.BigDecimal; + +public class PompeiDBConstants { + public static final String DEFAULT_LANGUAGE = "DEFAULT"; + + public static final BigDecimal TRUE = BigDecimal.ONE; + + public static final BigDecimal FALSE = BigDecimal.ZERO; +} Property changes on: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBConstants.java ___________________________________________________________________ Name: svn:eol-style + native Copied: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBException.java (from rev 800, pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java) =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiDBException.java 2008-01-28 21:55:49 UTC (rev 801) @@ -0,0 +1,93 @@ +package jp.sf.pal.pompei; + +/** + * @author shinsuke + * + */ +public class PompeiDBException extends Exception { + + /** + * Serial Version UID + */ + private static final long serialVersionUID = 4564000116499132363L; + + private String messageId; + + private Object[] args; + + /** + * @return Returns the messageId. + */ + public String getMessageId() { + return messageId; + } + + /** + * @param messageId + * The messageId to set. + */ + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + /** + * @return Returns the args. + */ + public Object[] getArgs() { + return args; + } + + /** + * @param args + * The args to set. + */ + public void setArgs(Object[] args) { + this.args = args; + } + + public PompeiDBException(String messageId) { + super(messageId); + this.messageId = messageId; + } + + public PompeiDBException(String messageId, Object[] args) { + super(messageId); + this.messageId = messageId; + this.args = args; + } + + public PompeiDBException(String messageId, String message, Throwable cause) { + super(message, cause); + this.messageId = messageId; + } + + public PompeiDBException(String messageId, Object[] args, String message, + Throwable cause) { + super(message, cause); + this.messageId = messageId; + this.args = args; + } + + public PompeiDBException(String messageId, String message) { + super(message); + this.messageId = messageId; + } + + public PompeiDBException(String messageId, Object[] args, String message) { + super(message); + this.messageId = messageId; + this.args = args; + } + + public PompeiDBException(String messageId, Throwable cause) { + super(cause); + this.messageId = messageId; + } + + public PompeiDBException(String messageId, Object[] args, Throwable cause) { + super(cause); + this.messageId = messageId; + this.args = args; + } + +} Deleted: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/PompeiException.java 2008-01-28 21:55:49 UTC (rev 801) @@ -1,93 +0,0 @@ -package jp.sf.pal.pompei; - -/** - * @author shinsuke - * - */ -public class PompeiException extends Exception { - - /** - * Serial Version UID - */ - private static final long serialVersionUID = 4564000116499132363L; - - private String messageId; - - private Object[] args; - - /** - * @return Returns the messageId. - */ - public String getMessageId() { - return messageId; - } - - /** - * @param messageId - * The messageId to set. - */ - public void setMessageId(String messageId) { - this.messageId = messageId; - } - - /** - * @return Returns the args. - */ - public Object[] getArgs() { - return args; - } - - /** - * @param args - * The args to set. - */ - public void setArgs(Object[] args) { - this.args = args; - } - - public PompeiException(String messageId) { - super(messageId); - this.messageId = messageId; - } - - public PompeiException(String messageId, Object[] args) { - super(messageId); - this.messageId = messageId; - this.args = args; - } - - public PompeiException(String messageId, String message, Throwable cause) { - super(message, cause); - this.messageId = messageId; - } - - public PompeiException(String messageId, Object[] args, String message, - Throwable cause) { - super(message, cause); - this.messageId = messageId; - this.args = args; - } - - public PompeiException(String messageId, String message) { - super(message); - this.messageId = messageId; - } - - public PompeiException(String messageId, Object[] args, String message) { - super(message); - this.messageId = messageId; - this.args = args; - } - - public PompeiException(String messageId, Throwable cause) { - super(cause); - this.messageId = messageId; - } - - public PompeiException(String messageId, Object[] args, Throwable cause) { - super(cause); - this.messageId = messageId; - this.args = args; - } - -} Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/CustomerService.java 2008-01-28 21:55:49 UTC (rev 801) @@ -5,7 +5,7 @@ import java.util.List; import java.util.Map; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.exentity.AddressBook; import jp.sf.pal.pompei.exentity.Basket; import jp.sf.pal.pompei.exentity.Customer; @@ -32,7 +32,7 @@ public void addCustomer(Customer customers, AddressBook addressBook); public void addCustomer(Map userInfo, Customer customers, - AddressBook addressBook) throws PompeiException; + AddressBook addressBook) throws PompeiDBException; public Customer getCustomerByPortalId(String portalId); Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/OrderService.java 2008-01-28 21:55:49 UTC (rev 801) @@ -5,7 +5,7 @@ import java.util.Currency; import java.util.List; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; import jp.sf.pal.pompei.exentity.AddressBook; import jp.sf.pal.pompei.exentity.CardTypeDescription; @@ -43,7 +43,7 @@ DeliveryMethod deliveryMethod, OrderCardInfo orderCardInfo, Currency currency, BigDecimal subTotalPrice, BigDecimal tax, BigDecimal deliveryPrice, BigDecimal paymentFee, - BigDecimal totalPrice) throws PompeiException; + BigDecimal totalPrice) throws PompeiDBException; public Currency getCurrency(BigDecimal currencyId); @@ -63,7 +63,7 @@ BigDecimal orderFormId); public void sendOrderNotifications(BigDecimal orderFormId, - BigDecimal[] orderNotificationIds) throws PompeiException; + BigDecimal[] orderNotificationIds) throws PompeiDBException; public OrderNotification getOrderNotification(BigDecimal orderNotificationId); Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/ProductService.java 2008-01-28 21:55:49 UTC (rev 801) @@ -4,7 +4,7 @@ import java.math.BigDecimal; import java.util.List; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; import jp.sf.pal.pompei.exentity.CategoryDescription; import jp.sf.pal.pompei.exentity.Manufacturer; @@ -16,7 +16,7 @@ public interface ProductService extends Serializable { // NOTE: from an old ProductService - BEGIN public void addProductDescription(ProductDescription description, - BigDecimal categoryId) throws PompeiException; + BigDecimal categoryId) throws PompeiDBException; public void deleteProduct(BigDecimal productsId); @@ -33,7 +33,7 @@ ProductPager productPager); public void updateProductDescription(ProductDescription description) - throws PompeiException; + throws PompeiDBException; public Manufacturer getManufacturer(BigDecimal manufacturersId); Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/CustomerServiceImpl.java 2008-01-28 21:55:49 UTC (rev 801) @@ -4,8 +4,10 @@ import java.util.List; import java.util.Map; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBConstants; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.cbean.CustomerCB; +import jp.sf.pal.pompei.exbhv.AddressBookBhv; import jp.sf.pal.pompei.exbhv.CustomerBhv; import jp.sf.pal.pompei.exentity.AddressBook; import jp.sf.pal.pompei.exentity.Basket; @@ -18,6 +20,8 @@ private CustomerBhv customerBhv; + private AddressBookBhv addressBookBhv; + public List getCustomerList() { CustomerCB customerCB = new CustomerCB(); customerCB.query().addOrderBy_LastnameDescription_Asc(); @@ -27,8 +31,7 @@ } public void addAddressBook(AddressBook addressBook) { - // TODO Auto-generated method stub - + getAddressBookBhv().insert(addressBook); } public void addBasket(Basket customerBaskets) { @@ -36,13 +39,18 @@ } - public void addCustomer(Customer customers, AddressBook addressBook) { - // TODO Auto-generated method stub - + public void addCustomer(Customer customer, AddressBook addressBook) { + // needs to set portalId for customer before calling this method. + // needs to set deliveryZone for addressBook before calling this method. + // needs to set country for addressBook before calling this method. + getCustomerBhv().insert(customer); + addressBook.setCustomerId(customer.getCustomerId()); + addressBook.setDefaultAddress(PompeiDBConstants.TRUE); + getAddressBookBhv().insert(addressBook); } public void addCustomer(Map userInfo, Customer customers, - AddressBook addressBook) throws PompeiException { + AddressBook addressBook) throws PompeiDBException { // TODO Auto-generated method stub } @@ -53,8 +61,7 @@ } public void deleteAddressBook(AddressBook addressBook) { - // TODO Auto-generated method stub - + getAddressBookBhv().delete(addressBook); } public void deleteBasket(BigDecimal customerBasketId) { @@ -119,4 +126,12 @@ public void setCustomerBhv(CustomerBhv customerBhv) { this.customerBhv = customerBhv; } + + public AddressBookBhv getAddressBookBhv() { + return addressBookBhv; + } + + public void setAddressBookBhv(AddressBookBhv addressBookBhv) { + this.addressBookBhv = addressBookBhv; + } } Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/OrderServiceImpl.java 2008-01-28 21:55:49 UTC (rev 801) @@ -4,7 +4,7 @@ import java.util.Currency; import java.util.List; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; import jp.sf.pal.pompei.exentity.AddressBook; import jp.sf.pal.pompei.exentity.CardTypeDescription; @@ -38,7 +38,7 @@ DeliveryMethod deliveryMethod, OrderCardInfo orderCardInfo, Currency currency, BigDecimal subTotalPrice, BigDecimal tax, BigDecimal deliveryPrice, BigDecimal paymentFee, - BigDecimal totalPrice) throws PompeiException { + BigDecimal totalPrice) throws PompeiDBException { // TODO Auto-generated method stub return null; } @@ -140,7 +140,7 @@ } public void sendOrderNotifications(BigDecimal orderFormId, - BigDecimal[] orderNotificationIds) throws PompeiException { + BigDecimal[] orderNotificationIds) throws PompeiDBException { // TODO Auto-generated method stub } Modified: pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java =================================================================== --- pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-01-28 05:13:25 UTC (rev 800) +++ pompei/libraries/pompei-db/trunk/src/main/java/jp/sf/pal/pompei/service/impl/ProductServiceImpl.java 2008-01-28 21:55:49 UTC (rev 801) @@ -3,7 +3,7 @@ import java.math.BigDecimal; import java.util.List; -import jp.sf.pal.pompei.PompeiException; +import jp.sf.pal.pompei.PompeiDBException; import jp.sf.pal.pompei.allcommon.cbean.PagingResultBean; import jp.sf.pal.pompei.exentity.CategoryDescription; import jp.sf.pal.pompei.exentity.Manufacturer; @@ -28,7 +28,7 @@ } public void addProductDescription(ProductDescription description, - BigDecimal categoryId) throws PompeiException { + BigDecimal categoryId) throws PompeiDBException { // TODO Auto-generated method stub } @@ -156,7 +156,7 @@ } public void updateProductDescription(ProductDescription description) - throws PompeiException { + throws PompeiDBException { // TODO Auto-generated method stub }