001: /*
002: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
003: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
004: */
005:
006: package com.sun.portal.search.admin.model;
007:
008: import java.io.*;
009: import java.util.*;
010: import com.iplanet.jato.model.*;
011: import com.iplanet.am.console.base.model.AMModel;
012: import com.iplanet.jato.command.*;
013:
014: /**
015: *
016: *
017: *
018: */
019: public interface SearchModel extends AMModel //, Command //, DatasetModel, RetrievingModel
020: {
021: public String getServerStatus();
022:
023: public void setServerStatus(String value);
024:
025: public String getServerInstanceName();
026:
027: public void setServerInstanceName(String value);
028:
029: public String getServerRoot();
030:
031: public void setServerRoot(String value) throws Exception;
032:
033: public String getServerTmpFiles();
034:
035: public void setServerTmpFiles(String value) throws Exception;
036:
037: public String getServerDocSecurityMode();
038:
039: public void setServerDocSecurityMode(String value);
040:
041: public String getServerDocSecurityMgr();
042:
043: public void setServerDocSecurityMgr(String value) throws Exception;
044:
045: public String getSearchRDMLog();
046:
047: public void setSearchRDMLog(String value) throws Exception;
048:
049: public boolean getSearchLogState();
050:
051: public void setSearchLogState(boolean value);
052:
053: public String getIndexMaintenanceLog();
054:
055: public void setIndexMaintenanceLog(String value) throws Exception;
056:
057: public String getRdMgrLog();
058:
059: public void setRdMgrLog(String value) throws Exception;
060:
061: public String getRdmDebugLog();
062:
063: public void setRdmDebugLog(String value) throws Exception;
064:
065: public String getRdmDebugLevel();
066:
067: public void setRdmDebugLevel(String value);
068:
069: public String getStringValue(String key);
070:
071: public void setStringValue(String key, String value);
072:
073: public void load();
074:
075: public void store();
076:
077: public boolean needSrvRestart();
078:
079: ///////////////////////////////////////////////
080: // Field names
081: ///////////////////////////////////////////////
082:
083: public static final String MODEL_NAME = "SearchModel";
084:
085: // server sttings related
086: public static final String STATUS = "ServerStatus";
087: public static final String INSTANCE_NAME = "ServerInstanceName";
088: public static final String NAME = "ServerName";
089: public static final String PORT = "ServerPort";
090: public static final String ROOT = "ServerRoot";
091: public static final String TMP_FILES = "ServerTmpFiles";
092:
093: // advanced log related
094: public static final String SEARCH_RDM_LOG = "SearchRdmLog";
095: public static final String SEARCH_LOG_STATE = "SearchLogState";
096: public static final String IDX_MAINT_LOG = "IndexMaintenanceLog";
097: public static final String RD_MGR_LOG = "RdMgrLog";
098: public static final String RDM_DBG_LOG = "RdmDbgLog";
099: public static final String RDM_DBG_LEVEL = "RdmDbgLevel";
100: }
|