📄 server-reference.lyx.svn-base
字号:
\size footnotesize ...\end_layout\begin_layout LyX-Code\size footnotesize</node>\end_layout\end_inset\end_layout\begin_layout StandardThe body of the \family sans\series boldnode\family default\series default element depends on the node's type. The update policy is this:\end_layout\begin_layout ItemizeIf an element is specified, the associated parameter is updated.\end_layout\begin_layout ItemizeIf an element is not specified, the associated parameter will not be changed.\end_layout\begin_layout StandardSo, you need to specify only the elements you want to change. There are some exceptions for the following node types:\end_layout\begin_layout List\labelwidthstring 00.00.0000\series boldgeonetwork\series default The only exception to this behaviour is the \family sans\series boldsearches\family default\series default element: if omitted searches will not be changed but if specified all contained search entries will replace the old ones.\end_layout\begin_layout List\labelwidthstring 00.00.0000\series boldwebFolder\series default The \family sans\series boldprivileges\family default\series default element works as the previous one: if omitted privileges will not be changed but if specified all current privileges will be replaced by the provided ones.\end_layout\begin_layout StandardNote that you cannot change the type of an entry once it has been created.\end_layout\begin_layout Subsection*Request\end_layout\begin_layout StandardThe request is the same as that used to add an entry. Only the \family sans\series boldid\family default\series default attribute is mandatory.\end_layout\begin_layout Subsection*Response\end_layout\begin_layout StandardThe response is the same as the \family sans\series boldxml.harvesting.get\family default\series default called on the updated entry.\end_layout\begin_layout Sectionxml.harvesting.remove/start/stop/run\end_layout\begin_layout StandardRequest\end_layout\begin_layout StandardResponse\end_layout\begin_layout ChapterSettings hierarchy\end_layout\begin_layout SectionIntroduction\end_layout\begin_layout StandardGeoNetwork stores many options and information inside the \family sans\series boldSettings\family default\series default table. Information is grouped into hierarchies where each node has a key/value pair and can have many children. Each key is limited to 32 characters while each value is limited to 250. The 2 top level hierarchies are \family sans\series boldsystem\family default\series default and \family sans\series boldharvesting\family default\series default.\end_layout\begin_layout StandardIn the following sections, the indentation is used to show hierarchies. Names in bold represent keys with the value's datatype in parenthesys. An \emph onitalic\emph default font is used to indicate basic types (string, integer, boolean) while normal font with a | is used to represent a set of allowed values. Regarding the boolean type, value can be only \family sans\series boldtrue\family default\series default or \family sans\series boldfalse\family default\series default. A missing datatype means that the value of the node is not used. Square brackets indicate cardinality. If they are missing, a cardinality of [1..1] should be considered.\end_layout\begin_layout Section\series boldThe \family sans\series defaultsystem\family default\series bold hierarchy\end_layout\begin_layout Itemize\series boldsite\series default : Contains information about the site\end_layout\begin_deeper\begin_layout Itemize\series boldname\series default (\emph onstring\emph default) : Name used to present this site to other sites. Used to fill comboboxes or lists.\end_layout\begin_layout Itemize\series boldsiteId\series default (\emph onstring\emph default) : A UUID that uniquely identifies the site. It is generated by the installer.\end_layout\end_deeper\begin_layout Itemize\series boldgnVersion\series default (\emph onstring\emph default) : GeoNetwork's version in the X.Y.Z format\end_layout\begin_layout Itemize\series boldusePublication\series default (\emph onboolean\emph default) : Used when the GeoNetwork's server is hidden and there is a main server that redirects HTTP requests to GeoNetwork's server.\end_layout\begin_deeper\begin_layout Itemize\series boldhost\series default (\emph onstring\emph default) : Main HTTP server's address\end_layout\begin_layout Itemize\series boldport\series default (\emph oninteger\emph default) : Main HTTP server's port (can be empty)\end_layout\end_deeper\begin_layout Itemize\series boldintranet\series default : specify the network of the intranet\end_layout\begin_deeper\begin_layout Itemize\series boldnetwork\series default (\emph onstring\emph default) : Network's address\end_layout\begin_layout Itemize\series boldnetmask\series default (\emph onstring\emph default) : Network's netmask\end_layout\end_deeper\begin_layout Itemize\series boldz3950Port\series default (\emph onstring\emph default) : The port opened by GeoNetwork to listen to Z39.50 requests. Usually is 2100.\end_layout\begin_layout Itemize\series bolduseProxy\series default (\emph onboolean\emph default) : If true, GeoNetwork will use the given proxy for outgoing connections\end_layout\begin_deeper\begin_layout Itemize\series boldhost\series default (\emph onstring\emph default) : Proxy host\end_layout\begin_layout Itemize\series boldport\series default (\emph oninteger\emph default) : Proxy port\end_layout\end_deeper\begin_layout Itemize\series boldsendFeedback\series default (\emph onboolean\emph default) : Collects some information used when sending feedback. If false, the feedback is not sent.\end_layout\begin_deeper\begin_layout Itemize\series boldemail\series default (\emph onstring\emph default) : email address of a GeoNetwork administrator or someone else\end_layout\begin_layout Itemize\series boldsmtpHost\series default (\emph onstring\emph default) : Address of the SMTP server to use\end_layout\begin_layout Itemize\series boldsmtpPort\series default (\emph onstring\emph default) : SMTP port to use\end_layout\end_deeper\begin_layout SectionHarvesting nodes\end_layout\begin_layout StandardThe second top level hierarchy is \family sans\series boldharvesting\family default\series default. All nodes added using the web interface are stored here. Each child has \family sans\series boldnode\family default\series default in its key and its value can be \family sans\series boldgeonetwork\family default\series default or \family sans\series boldwebFolder\family default\series default depending on the node's type.\end_layout\begin_layout SubsectionNodes of type \family sansgeonetwork\end_layout\begin_layout Itemize\series boldsite\series default : Contains host and account information\end_layout\begin_deeper\begin_layout Itemize\series boldname\series default (\emph onstring\emph default) : Node's name to show in the list\end_layout\begin_layout Itemize\series boldhost\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldport\series default (\emph oninteger\emph default)\end_layout\begin_layout Itemize\series boldservlet\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series bolduseAccount\series default (\emph onboolean\emph default)\end_layout\begin_deeper\begin_layout Itemize\series boldusername \series default(\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldpassword \series default(\emph onstring\emph default)\end_layout\end_deeper\end_deeper\begin_layout Itemize\series boldsearch\series default [0..n] : Contains the search parameters. If this element is missing no harvesting will be performed but the host's parameters will be used to connect to the remote node.\end_layout\begin_deeper\begin_layout Itemize\series boldfreeText\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldtitle\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldabstract\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldkeywords\series default (\emph onstring\emph default)\end_layout\begin_layout Itemize\series bolddigital\series default (\emph onboolean\emph default)\end_layout\begin_layout Itemize\series boldhardcopy\series default (\emph onboolean\emph default) \end_layout\begin_layout Itemize\series boldsiteId\series default (\emph onstring\emph default) \end_layout\end_deeper\begin_layout Itemize\series boldoptions\end_layout\begin_deeper\begin_layout Itemize\series boldevery\series default (\emph oninteger\emph default) : Timeout, in minutes, between 2 consecutive harvesting.\end_layout\begin_layout Itemize\series boldcreateGroups\series default (\emph onboolean\emph default) : If true, the harvester will create locally the same groups of the harvested metadata in order to keep remote privileges. Remote groups that already exist locally are not created.\end_layout\begin_layout Itemize\series boldoneRunOnly\series default (\emph onboolean\emph default) : If true, the harvester will harvest one time from this node and then it will set the status to inactive.\end_layout\begin_layout Itemize\series boldstatus\series default (active|inactive) : Indicates if the harvesting from this node is stopped (inactive) or if the harvester is waiting until the timeout comes.\end_layout\end_deeper\begin_layout Itemize\series boldinfo\series default : Just a container for some information about harvesting from this node\end_layout\begin_deeper\begin_layout Itemize\series boldlastRun\series default (\emph onstring\emph default) : If not empty, tells when the harvester harvested from this node\end_layout\end_deeper\begin_layout SubsectionNodes of type \family sanswebFolder\end_layout\begin_layout Itemize\series boldsite\series default : Contains the URL to connect to and account information\end_layout\begin_deeper\begin_layout Itemize\series boldname\series default (\emph onstring\emph default) : Node's name to show in the list\end_layout\begin_layout Itemize\series boldurl\series default (\emph onstring\emph default) : URL to connect to. Must be well formed, starting with 'http://', 'file://' or a supported protocol\end_layout\begin_layout Itemize\series bolduseAccount\series default (\emph onboolean\emph default) : Indicates if the harvester has to authenticate to access the data. Only the http basic authentication is used.\end_layout\begin_deeper\begin_layout Itemize\series boldusername \series default(\emph onstring\emph default)\end_layout\begin_layout Itemize\series boldpassword \series default(\emph onstring\emph default)\end_layout\end_deeper\end_deeper\begin_layout Itemize\series boldoptions\end_layout\begin_deeper\begin_layout Itemize\series boldevery\series default (\emph oninteger\emph default) : Timeout, in minutes, between 2 consecutive harvesting.\end_layout\begin_layout Itemize\series boldoneRunOnly\series default (\emph onboolean\emph default) : If true, the harvester will harvest one time from this node and then it will set the status to inactive.\end_layout\begin_layout Itemize\series boldstructure\series default (\emph onboolean\emph default) : Indicates if remote folder is flat or it contains subfolder with a precise meaning. See the \family sansadministrator's guide\family default.\end_layout\begin_layout Itemize\series boldvalidate\series default (\emph onboolean\emph default) : If set, the harvester will validate the metadata against its schema and the metadata will be harvested only if it is valid.\end_layout\begin_layout Itemize\series boldstatus\series default (active|inactive) : Indicates if the harvesting from this node is stopped (inactive) or if the harvester is waiting until the timeout comes.\end_layout\end_deeper\begin_layout Itemize\series boldprivileges\series default : This is a container for privileges to assign to each imported metadata\end_layout\begin_deeper\begin_layout Itemize\series boldgroup\series default (\emph oninteger\emph default) [0..n] : Indicate a local group. The node's value is its local identifier. There can be several group nodes each with its set of privileges\end_layout\begin_deeper\begin_layout Itemize\series boldoperation\series default (\emph oninteger\emph default) [0..n] : Privilege to assign to the group. The node's value is the numeric id of the operation like 0=view, 1=download, 2=edit etc...\end_layout\end_deeper\end_deeper\begin_layout Itemize\series boldinfo\series default : Just a container for some information about harvesting from this node\end_layout\begin_deeper\begin_layout Itemize\series boldlastRun\series default (\emph onstring\emph default) : If not empty, tells when the harvester harvested from this node. The value is the current time in millis since 1 January, 1970.\end_layout\end_body\end_document
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -