001: /*
002: * The contents of this file are subject to the
003: * Mozilla Public License Version 1.1 (the "License");
004: * you may not use this file except in compliance with the License.
005: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
006: *
007: * Software distributed under the License is distributed on an "AS IS"
008: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
009: * See the License for the specific language governing rights and
010: * limitations under the License.
011: *
012: * The Initial Developer of the Original Code is Simulacra Media Ltd.
013: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
014: *
015: * All Rights Reserved.
016: *
017: * Contributor(s):
018: */
019: package org.openharmonise.him.harmonise;
020:
021: /**
022: * Class of statics for Harmonise paths.
023: *
024: * @author Matthew Large
025: * @version $Revision: 1.1 $
026: *
027: */
028: public class HarmonisePaths {
029:
030: /**
031: * Instance, following singleton pattern, for future use.
032: */
033: private static HarmonisePaths m_instance = null;
034:
035: public static String PATH_ROOT = "/webdav";
036:
037: public static String PATH_ARCHIVE = "/webdav/Archive";
038:
039: public static String PATH_CONTENT = PATH_ROOT + "/Content";
040: public static String PATH_DOCUMENTS = PATH_CONTENT + "/Documents";
041: public static String PATH_ASSETS = PATH_CONTENT + "/Assets";
042: public static String PATH_EMAIL = PATH_ASSETS + "/e-mail";
043: public static String PATH_FLASH = PATH_ASSETS + "/flash";
044: public static String PATH_IMAGES = PATH_ASSETS + "/image";
045: public static String PATH_LINKS = PATH_ASSETS + "/links";
046: public static String PATH_PDF = PATH_ASSETS + "/pdf";
047: public static String PATH_MOVIES = PATH_ASSETS + "/movies";
048: public static String PATH_AUDIO = PATH_ASSETS + "/audio";
049: public static String PATH_OFFICE = PATH_ASSETS + "/office";
050:
051: public static String PATH_METADATA = PATH_ROOT + "/Metadata";
052: public static String PATH_PROPERTIES = PATH_METADATA
053: + "/Properties";
054: public static String PATH_VALUES = PATH_METADATA + "/Values";
055:
056: public static String PATH_NEWSLETTER = PATH_ROOT + "/Newsletter";
057: public static String PATH_NEWSLETTER_DRAFT = PATH_NEWSLETTER
058: + "/draft";
059: public static String PATH_NEWSLETTER_OUTBOX = PATH_NEWSLETTER
060: + "/outbox";
061: public static String PATH_NEWSLETTER_SENT = PATH_NEWSLETTER
062: + "/sent";
063:
064: public static String PATH_REPORTS = PATH_ROOT + "/Reports";
065: public static String PATH_REPORTS_OUTPUT = PATH_REPORTS + "/output";
066: public static String PATH_REPORTS_QUERIES = PATH_REPORTS
067: + "/queries";
068:
069: public static String PATH_USERS = PATH_ROOT + "/Users";
070: public static String PATH_USERS_ADMIN = PATH_USERS + "/admin";
071: public static String PATH_USERS_PUBLIC = PATH_USERS + "/public";
072:
073: public static String PATH_WEBSITE = PATH_ROOT + "/Website";
074: public static String PATH_COMPOSITION = PATH_WEBSITE
075: + "/Composition";
076: public static String PATH_INCLUDES = PATH_COMPOSITION + "/Includes";
077: public static String PATH_OBJECT_TEMPLATES = PATH_COMPOSITION
078: + "/Object Templates";
079: public static String PATH_PAGE_TEMPLATES = PATH_COMPOSITION
080: + "/Page Templates";
081: public static String PATH_DISPLAY = PATH_WEBSITE + "/Display";
082: public static String PATH_XSLT = PATH_DISPLAY + "/XSLT";
083: public static String PATH_PAGE_DEFINITION = PATH_WEBSITE
084: + "/Page Definition";
085: public static String PATH_SITE_ASSETS = PATH_WEBSITE
086: + "/Site Assets";
087: public static String PATH_SITE_ASSETS_FLASH = PATH_SITE_ASSETS
088: + "/flash";
089:
090: public static String PATH_RBS_PROPS = PATH_ROOT + "/RBS_PROPS";
091: public static String PATH_RBS_VALS = PATH_ROOT + "/RBS_VALS";
092:
093: public static String PATH_WORKFLOW_DEFINITIONS = PATH_ROOT
094: + "/WORKFLOW_DEFS";
095: public static String PATH_WORKFLOW_STAGES = PATH_ROOT
096: + "/WORKFLOW_STAGES";
097: public static String PATH_WORKFLOW_PROPS = PATH_ROOT
098: + "/WORKFLOW_PROPS";
099:
100: public static String PATH_SYSTEM_PROPS = PATH_ROOT
101: + "/SYSTEM_PROPS";
102:
103: /**
104: *
105: */
106: public HarmonisePaths() {
107: super ();
108: }
109:
110: /**
111: * Returns the instance, following the singleton pattern, for future
112: * use.
113: *
114: * @return Instance
115: */
116: public static HarmonisePaths getInstance() {
117: if (m_instance == null) {
118: m_instance = new HarmonisePaths();
119: }
120: return m_instance;
121: }
122:
123: }
|