Changes between Version 10 and Version 11 of metadataworkflow
- Timestamp:
- 12/12/11 07:18:43 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
metadataworkflow
v10 v11 14 14 15 15 * state (or status) to records in !GeoNetwork: 'Unknown', 'Draft', 'Submitted', 'Approved', 'Rejected', 'Retired'. The status is held in a database table called !MetadataStatus. Extra states can be added to this table if required. 16 * two status change action hooks (in Java) that can be used by sites to provide specific behaviours: The first action (statusChange) is called when status is changed by a user eg. when 'Draft' records are set to 'Submitted' and could be used for example to send notifications to other users affected by this change. The second action (onEdit) is called when a record is edited and saved and could be used for example to reset records with an 'Approved' status to 'Draft' status. A default set of actions is provided. These can be customised or replaced by sites that wish to provide different or more extensive behaviour. 16 * two status change action hooks (in Java) that can be used by sites to provide specific behaviours: The first action (statusChange) is called when status is changed by a user eg. when 'Draft' records are set to 'Submitted' and could be used for example to send notifications to other users affected by this change. The second action (onEdit) is called when a record is edited and saved and could be used for example to reset records with an 'Approved' status to 'Draft' status. A default set of actions is provided. These can be customised or replaced by sites that wish to provide different or more extensive behaviour. 17 * an extra 'Restrict to' search option in the 'Advanced Search' tab that allows the user to search on 'Status' 17 18 18 19 === Proposal Type === … … 42 43 * writing Java code in the form of a new class that implements the interface defined in org.fao.geonet.services.metadata.!StatusActions.java and placing a compiled version of the class in the !GeoNetwork class path 43 44 * defining the name of the new class in the statusActionsClass configuration parameter in WEB-INF/config.xml 45 * Metadata status along with the status change date is indexed in Lucene. The 'Advanced Search' interface has an additional 'Restrict to' option that allows search on status values. CSW search can also search on Metadata status by defining queries using the _status property name. 44 46 45 47