001: /*
002: * JFolder, Copyright 2001-2006 Gary Steinmetz
003: *
004: * Distributable under LGPL license.
005: * See terms of license at gnu.org.
006: */
007:
008: package org.jfolder.project.model;
009:
010: //base classes
011: import java.util.ArrayList;
012:
013: //project specific classes
014: import org.jfolder.common.entity.SystemEntity;
015: import org.jfolder.common.entity.SystemEntityUpdatesContext;
016: import org.jfolder.common.entity.properties.SystemEntityProperties;
017: import org.jfolder.common.files.SimpleVirtualFileSystemProperties;
018: import org.jfolder.common.files.VirtualFileSystemHolder;
019: import org.jfolder.common.files.VirtualFileSystemRoot;
020: import org.jfolder.common.files.WebPageTagMacro;
021: import org.jfolder.common.files.WebPageTagMacroGroup;
022: import org.jfolder.common.files.WebPageTagMacroSet;
023: import org.jfolder.common.tagging.ConceptTagCharacteristic;
024: import org.jfolder.common.tagging.RootConceptTagHolder;
025: import org.jfolder.security.audit.SecurityAudit;
026:
027: //other classes
028:
029: public interface ProjectSystem extends SystemEntity {
030:
031: //
032: public void resetToDefault();
033:
034: //
035: public ProjectSystemUpdates getSystemEntityUpdates(
036: SystemEntityUpdatesContext inSeuc, SecurityAudit inSa);
037:
038: //descriptive functions
039: public String getName();
040:
041: public void setName(String inName);
042:
043: public boolean isActive();
044:
045: public void setActive(boolean inActive);
046:
047: public SecurityAudit getSecurityAudit();
048:
049: //
050: public String getDescription();
051:
052: public void setDescription(String inDescription);
053:
054: public String getLicense();
055:
056: public void setLicense(String inLicense);
057:
058: public boolean isDeployed();
059:
060: public boolean isDeployVisible();
061:
062: public void setDeployVisible(boolean inDeployVisible);
063:
064: //version?
065:
066: //calendar functions
067:
068: //workflow functions
069: //public WorkflowTemplate getWorkflowTemplate();
070: //public void setWorkflowTemplate(RootConceptTagHolder inRcth);
071:
072: //web pages - dual system, including macros and templates
073: //public VirtualFileSystemHolder getWebFiles();
074: public VirtualFileSystemHolder getWebDocs();
075:
076: public VirtualFileSystemHolder getWebDocsProperties();
077:
078: public void printVfsrStatus(String inMessage);
079:
080: //public VirtualFileSystemHolder getWebMacros();
081: //public VirtualFileSystemHolder getWebTemplates();
082: //public VirtualFileSystemHolder getWebServlets();
083:
084: //
085:
086: //properties
087: public SystemEntityProperties getUserPropertiesValues();
088:
089: public SystemEntityProperties getUserPropertiesRegExes();
090:
091: public SystemEntityProperties getUserPropertiesDescriptions();
092:
093: public SystemEntityProperties getUserPropertiesErrorMessages();
094:
095: //
096: public SystemEntityProperties getServerPropertiesValues();
097:
098: public SystemEntityProperties getServerPropertiesRegExes();
099:
100: public SystemEntityProperties getServerPropertiesDescriptions();
101:
102: public SystemEntityProperties getServerPropertiesErrorMessages();
103:
104: //command line
105:
106: //data types
107:
108: //common functions
109:
110: //helper functions
111: public boolean isWebDocText(
112: SimpleVirtualFileSystemProperties inProperties);
113:
114: public boolean isWebDocBinary(
115: SimpleVirtualFileSystemProperties inProperties);
116:
117: public boolean isWebDocFile(
118: SimpleVirtualFileSystemProperties inProperties);
119:
120: public boolean isWebDocPage(
121: SimpleVirtualFileSystemProperties inProperties);
122:
123: public boolean isWebDocMacro(
124: SimpleVirtualFileSystemProperties inProperties);
125:
126: public boolean isWebDocTemplate(
127: SimpleVirtualFileSystemProperties inProperties);
128:
129: //
130: public SimpleVirtualFileSystemProperties getWebDocProperty(
131: boolean inPage, boolean inBinary, boolean inText,
132: boolean inMacro, boolean inTemplate,
133: WebPageTagMacroGroup inMacroGroup);
134:
135: //
136: public WebPageTagMacroSet getWebPageTagMacroSet();
137:
138: //
139: public ArrayList getWebPageTagTemplateNames();
140:
141: //
142: public ArrayList getWebPageTagDisplayNames();
143: //
144: //public void resetCachedProperties();
145: //public WebPageTagMacroDefinition getWebPageTagMacroDefinition();
146: }
|