Difference between revisions of "Imeji Metadata"
m |
|||
(92 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<p style="color:white; background-color:#097FED;"> '''Outdated''' </p> | |||
{{Imeji_Tech}} | |||
= Metadata Profile = | |||
== | == Scenarios == | ||
==== 1:1 ==== | |||
One metadata profile can be only used for one collection (but of course it is possible to use an already available metadata profile as template for a new profile). <br/> | |||
* '''Status:''' Implemented | |||
* '''Schedule:''' 1.0 <br/> | |||
* '''Versioning:''' A metadata profile will not be versioned. | |||
* '''States:''' A metadata profile can be in the state private, published, and discarded (linked with the corresponding collection). | |||
==== 1:n ==== | |||
One metadata profile in usable for several collections. | |||
* '''Status:''' planned | |||
* '''Schedule:''' | |||
* ''' Versioning: '''A metadata profile will not be versioned (if it would be versioned, the above mentioned problem with deleting information would be solved, but then we will have many versions of one profile which will be functionally the same as the current 1:1 relation). | |||
* '''States:''' A metadata profile can be in the state private, published, and discarded (independently from the corresponding collection(s)). This means following further use cases and informations are needed: | |||
** [[Imeji_Metadata#UC_IM_MD_03_Release_metadata_profile|Publish metadata profile]] | |||
** [[Imeji_Metadata#UC_IM_MD_04_Rework_metadata_profile|Rework metadata profile]] | |||
** [[Imeji_Metadata#UC_IM_MD_05_Withdraw_metadata_profile|Withdraw metadata profile]] | |||
** A metadata profile owner (name and organization) | |||
* '''Description:''' | |||
# Only the creator of the profile is allowed to make any changes on the profile or somebody else who gets special rights (md profile editor) from the creator. | |||
# When the creator deletes a metadata element or a predefined value of an element, this metadata will be deleted in all collections that use this profile. | |||
#* As through this action some data could get lost, the user should get a warning bevore deleting anything. | |||
#* Further on, every collection creator that uses the profile should get an information (either via e-mail or via a system message on his collection). | |||
# When the creator adds a metadata element or a predefined value of an element, this metadata will be added in all collections that use this profile. | |||
#* This changes has no influence on the already available data. But to make it nice, every collection creator that uses the profile should get an information (either via e-mail or via a system message on his collection). | |||
== UC_IM_MD_01 Create metadata profile == | |||
'''Status/Schedule''' | |||
* Status: '''implemented''' | |||
* Schedule: Beta Release | |||
'''Pre-Condition''' | |||
* One collection in the state private is selected which does not have a metadata profile yet. | |||
'''Description''' <br> | |||
# The user has to enter a name for the profile. | |||
# The user has two different options: | |||
## To create a new metadata profile | |||
## To use an already available MD profile as template | |||
### The system displays a list of all available '''published''' metadata profiles. | |||
### (Optionally) The user wants to view the details of one selected metadata profile. | |||
### The user can select one of the already existing md profiles (the system creates a copy of the md profile). | |||
# The user can edit the the metadata profile (see [[Imeji_Metadata#UC_IM_MD_02_Edit_metadata_profile|UC_IM_MD_02 Edit metadata profile]]). | |||
# After saving, the system displays a success message. | |||
'''Actors Involved''' | |||
* Account user | |||
== UC_IM_MD_02 Edit metadata profile == | |||
'''Status/Schedule''' | |||
* Status: '''implemented''' | |||
* Schedule: Beta Release | |||
'''Pre-Condition''' | |||
* One collection in the state private or published is selected which does have a metadata profile. | |||
'''Description''' <br> | |||
# A '''MD profile''' consists of | |||
#* Title (string, mandatory, once) | |||
#* Description (string, optional, once) | |||
#* Attributes (complex, mandatory, one-unbounded) | |||
# The user can modify all attributes of the profile and can create new attributes or delete already existing attributes. | |||
#* When deleting already available attributes, all values of these attributes will be deleted, too. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and which has to be confirmed by the user. | |||
#* An '''attribute''' consists of | |||
#** '''type''' (list, mandatory, once) e.g. date, geonames, string, integer, cone-person | |||
#** '''label''' (string, mandatory, multiple) | |||
#** a '''language''' for each label (list, mandatory, once) | |||
#** '''cardinality''' (list, mandatory, once): once / multiple | |||
#** (optional) a possibility to define a '''list of predefined values''' (one text field for each value) or choose a '''controlled vocabulary''' | |||
#* When changing the cardinality from multiple to once, all pictures that have more than one value of the concrete element will loose these values. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and which has to be confirmed by the user. | |||
# The user can modify the list of allowed values for one or more attributes, can delete them or ad new values. | |||
#* When deleting values from the list of allowed values for one or more attributes, these values will be deleted also in the metadata sets of all pictures that use these values. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and has to be confirmed by the user. | |||
# The user can define the attribute that shall be used as underline (image caption) for the images. | |||
# After saving, the system displays a success message. | |||
'''Actors Involved''' | |||
* Collection editor for the selected collection | |||
'''Comments''' | |||
* When somebody edits one metadata profile, this profile will be locked for all other users. | |||
* We will use the '''pessimistic logging''': the selected metadata profile will be locked the moment when one user goes on "edit" and will be un-locked once again when the user clicks on "save". In case the user never goes on save, the locking will be neutralized after the '''session time out''' which will be 15 minutes after the last user action on imeji. | |||
* When the metadata profile is locked, all images that are using this profile (that means all images within the collection that uses the profile) have to be logged, too. | |||
'''Further Ideas''' | |||
* The attribute type integer could also offer a definition of '''unit''' (string with autosuggest, mandatory, once) e.g. km, m, cm, mm, Celsius, Fahrenheit | |||
* Additionally autosuggest for label (either defined by the user himself or chosen out of an list of already existing labels). This way, similar labels are always written the same way. | |||
* License for each picture (based on the cc licenses) | |||
== UC_IM_MD_02 Delete metadata profile == | |||
'''Status/Schedule''' | |||
* Status: '''in specification''' | |||
* Schedule: only needed for scenario 1:n | |||
'''Pre-Condition''' | |||
* One metadata profile in the state private is selected | |||
'''Description''' | |||
# A metadata profile can only be deleted when it is not published yet. After that, only discard is possible. | |||
# A metadata profile can only be used for a new collection when it is released. Therefor when it is still private, the metadata profile is not used by any collection and can therefore be deleted without any problems. | |||
# The deletion needs a confirmation. | |||
# After confirming, the system displays a success message. | |||
'''Actors Involved''' | |||
* Collection editor for the selected collection | |||
== UC_IM_MD_03 Release metadata profile == | |||
'''Status/Schedule''' | |||
* Status: '''in specification''' | |||
* Schedule: only needed for scenario [[Imeji_Metadata#1:n|1:n]] | |||
'''Pre-Condition''' | |||
* One metadata profile in the state private is selected | |||
'''Description''' | |||
# The user wants to release the metadata profile. | |||
# For the release a confirmation message is necessary. | |||
# After confirming, the system displays a success message. The metadata profile is now in the state released and gets a persistent URL. | |||
# For the case an older released version of the metadata profile already exists, this version will be overwritten. | |||
# Released means that the profile: | |||
#* is displayed in browsing lists | |||
#* can be used (as template) for other metadata profile | |||
'''Actors Involved''' | |||
* MD profile editor for the selected metadata profile | |||
== UC_IM_MD_04 Rework metadata profile == | |||
'''Status/Schedule''' | '''Status/Schedule''' | ||
* Status: in specification | * Status: '''in specification''' | ||
* Schedule: | * Schedule: only needed for scenario [[Imeji_Metadata#1:n|1:n]] | ||
'''Pre-Condition''' | '''Pre-Condition''' | ||
* One metadata profile in the state released is selected | |||
'''Description''' | |||
* For reworking a metadata profile a new version of the profile will automatically be created that is in the state private. | |||
* The latest released version will stay as is is (till a newer version of the profile will be released). | |||
* In this private version, the user can edit the profile (see [[Imeji_Metadata#UC_IM_MD_02_Edit_metadata_profile|UC_IM_MD_02 Edit metadata profile]]). | |||
* After saving, the system displays a success message. The profile is still in the state private. | |||
* To release the profile, see [[Imeji_Metadata#UC_IM_MD_03_Release_metadata_profile|UC_IM_MD_03 Release metadata profile]]. | |||
'''Actors Involved''' | |||
* MD profile editor for the selected metadata profile | |||
== UC_IM_MD_05 Withdraw metadata profile == | |||
'''Status/Schedule''' | |||
* Status: '''in specification''' | |||
* Schedule: only needed for scenario [[Imeji_Metadata#1:n|1:n]] | |||
Pre-Condition | |||
* One metadata profile in the state released is selected | |||
'''Description''' | '''Description''' | ||
# The withdraw needs to be explained by the user via a withdrawn comment and needs a confirmation, where the system makes it clear to the user, that a withdrawn metadata profile can not be edited any more, is not searchable or browsable and can only be found from other users via following the URL to one version of the metadata profile. | |||
# After confirming, the system displays a success message. The metadata profile is now in the state withdrawn. | |||
# All collections that use this metadata profile can still use it, but there will be displayed an information, that the profile is withdrawn. | |||
# Withdraw means that the profile: | |||
#* is not displayed in any browsing context | |||
#* can not be used any more (as template) for a new collection | |||
'''Actors Involved''' | '''Actors Involved''' | ||
* | * MD profile editor for the selected metadata profile | ||
== | == UC_IM_MD_05 Share metadata profile== | ||
'''Status/Schedule''' | '''Status/Schedule''' | ||
* Status: in specification | * Status: '''in specification''' | ||
* Schedule: | * Schedule: only needed for scenario [[Imeji_Metadata#1:n|1:n]] | ||
'''Pre-Condition''' | '''Pre-Condition''' | ||
* One | * One metadata profile in the state private or released is selected | ||
'''Description''' | '''Description''' | ||
# | # To share a metadata profile, the user has to choose one or several users or user groups which whom he wants to share the collection. | ||
# (Optionally) When the user chooses one or more user groups, he can view the members of the selected group. | |||
# | # The user has to define the concrete [[Imeji_User_Management#User_Roles|user rights]] he want to assign to the selected user (groups). | ||
# | # Each new user will get an automated e-mail notification from the system. | ||
# | |||
'''Actors Involved''' | '''Actors Involved''' | ||
* | * MD administrator for the selected metadata profile | ||
'''Constrains''' | |||
* Share metadata profile currently only works for users that already have a user account within imeji. In a next step it would be nice also to invite new users and include an account creation procedure within the sharing process. | |||
= Metadata Values = | |||
== | == UC_IM_MD_06 Scan filename == | ||
'''Status/Schedule''' | '''Status/Schedule''' | ||
* Status: in specification | * Status: '''in specification''' | ||
* Schedule: | * Schedule: | ||
''' Pre-Conditions ''' | |||
* One upload, one collection, or several pictures within one collection are selected. | |||
* The metadata profile for the selected collection is already defined. | |||
''' Triggers ''' | |||
* This use case can be triggered by [[Imeji_Pictures#UC_IM_PIC_01_Upload_pictures|UC_IM_PIC_01 Upload pictures]]. | |||
'''Description''' | |||
# When the filename of the uploading pictures already contains some metadata values, these values can automatically extracted by the system if they are based on a general regulation. | |||
# The system displays one filename as example. | |||
# The user defines the general regulation for the filenames via | |||
## defining the order of the metadata elemens as they occur in the filename | |||
## defining the symbol that defined the end of one element and the beginning of the next (e.g. an underscore or a semicolon) | |||
# The system extract the filename based on the defined regulation from the example shown in step 2. | |||
# When the result of the example is satisfying, the user confirms his definitions and the system extracts all metadata values from the selected pictures and stores them in their metadata. Otherwise the user has to change his definitions. | |||
'''Actors Involved''' | |||
* Picture editor for the selected collection | |||
== UC_IM_MD_07 Edit picture metadata == | |||
'''Status/Schedule''' | |||
* Status: '''implemented''' | |||
* Schedule: Beta Release | |||
'''Pre-Condition''' | '''Pre-Condition''' | ||
* One or several pictures are selected via [[ | * One or several pictures are selected via [[Imeji_Pictures#UC_IM_PIC_02_Select_pictures_for_editing|UC_IM_PIC_02 Select pictures for editing]] | ||
* The pictures are either in a private or a published collection | |||
'''Description''' | '''Description''' | ||
# The system displays an information message which says how many pictures are currently selected. Further on, there must be a possibility to view all the selected pictures. | # The system displays an information message which says how many pictures are currently selected. Further on, there must be a possibility to view all the selected pictures. | ||
# The | # The user chooses one or several labels he wants to edit. | ||
# The users | # The users defines one or more metadata values for the selected labels. | ||
# | ## When '''only one picture''' is selected: | ||
#* When the selected pictures have one or more metadata values in common, this value(s) will be displayed as pre-filled in. | ##* Already available metadata values will be displayed as pre-filled in. | ||
## When '''more than one picture''' are selected: | |||
##* When the selected pictures have one or more metadata values in common, this value(s) will be displayed as pre-filled in. When they have different metadata values, this can not be displayed, but then the system will give the information, that some pictures already have a value for the metadata. | |||
##* The user has to choose whether he wants | |||
##** to add the new value only when the value is empty | |||
##** to add the new value to all images (only possible when is is a value that could occur more than once) | |||
##** to overwrite all values | |||
# After saving, the system displays a confirmation message and assigns the defined metadata values to the pictures. | # After saving, the system displays a confirmation message and assigns the defined metadata values to the pictures. | ||
'''Actors Involved''' | '''Actors Involved''' | ||
* Picture editor for the selected collection | * Picture editor for the selected collection | ||
'''Comments''' | |||
* To avoid confusion when more than one user tries to edit the metadata of the same picture(s) at the same time, the system has to take care that always the newest version of the pictures and its metadata is displayed. And this will be the only version that is editable. | |||
* When somebody edits the metadata of one or more pictures, this pictures have to be locked during the editing process so that nobody else can edit them. When during this time, someone else tries to edit them, an information message has to be displayed. | |||
* We will use the '''pessimistic logging''': the selected image(s) will be locked the moment when one user goes on "edit" and will be un-locked once again when the user clicks on "save". In case the user never goes on save, the locking will be neutralized after the '''session time out''' which will be 15 minutes after the last user action on imeji. | |||
* When at lease one image within a collection is locked, the corresponding metadata profile has to be locked, too. | |||
* Keep in mind that there are two different use cases possible: | |||
*# if edit can be done under a couple of seconds without any errors (preferred way) | |||
*# if not, should certainly be specified something like an edit workspace where a report can be displayed etc. (not so nice) | |||
*: --> depends on the results of the dev team demonstrators! | |||
'''Further Information''' <br> | |||
For the editing of picture metadate, 5 different usage scenarios are possible: | |||
{| border="1" | |||
|width="200pt" | '''Number of images''' | |||
|width="200pt" | '''Number of MD elements''' | |||
|width="200pt" | '''Value of the MD element(s)''' | |||
|align="200pt" | '''State''' | |||
|align="200pt" | '''Comment''' | |||
|- | |||
|align="center" | 1 | |||
|align="center" | 1 | |||
|align="center" | same | |||
|not planned | |||
|Is already part of the second option | |||
|- | |||
|align="center" | 1 | |||
|align="center" | 1 /n / all | |||
|align="center" | different | |||
|implemented | |||
| | |||
|- | |||
|align="center" | n (selected) | |||
|align="center" | 1 / n | |||
|align="center" | different | |||
|implemented | |||
| | |||
|- | |||
|align="center" | n (selected) | |||
|align="center" | 1 / n | |||
|align="center" | same | |||
|implemented | |||
| | |||
|- | |||
|align="center" | whole collection | |||
|align="center" | 1 / n | |||
|align="center" | same | |||
|missing. | |||
|Is similar to the above but could not be covered total by it because the functionality to select all pictures of one collection is missing. | |||
|} | |||
[[Category: | [[Category:Imeji_Functional_Specification|Metadata]] | ||
Latest revision as of 13:55, 25 February 2016
Outdated
|
Metadata Profile[edit]
Scenarios[edit]
1:1[edit]
One metadata profile can be only used for one collection (but of course it is possible to use an already available metadata profile as template for a new profile).
- Status: Implemented
- Schedule: 1.0
- Versioning: A metadata profile will not be versioned.
- States: A metadata profile can be in the state private, published, and discarded (linked with the corresponding collection).
1:n[edit]
One metadata profile in usable for several collections.
- Status: planned
- Schedule:
- Versioning: A metadata profile will not be versioned (if it would be versioned, the above mentioned problem with deleting information would be solved, but then we will have many versions of one profile which will be functionally the same as the current 1:1 relation).
- States: A metadata profile can be in the state private, published, and discarded (independently from the corresponding collection(s)). This means following further use cases and informations are needed:
- Publish metadata profile
- Rework metadata profile
- Withdraw metadata profile
- A metadata profile owner (name and organization)
- Description:
- Only the creator of the profile is allowed to make any changes on the profile or somebody else who gets special rights (md profile editor) from the creator.
- When the creator deletes a metadata element or a predefined value of an element, this metadata will be deleted in all collections that use this profile.
- As through this action some data could get lost, the user should get a warning bevore deleting anything.
- Further on, every collection creator that uses the profile should get an information (either via e-mail or via a system message on his collection).
- When the creator adds a metadata element or a predefined value of an element, this metadata will be added in all collections that use this profile.
- This changes has no influence on the already available data. But to make it nice, every collection creator that uses the profile should get an information (either via e-mail or via a system message on his collection).
UC_IM_MD_01 Create metadata profile[edit]
Status/Schedule
- Status: implemented
- Schedule: Beta Release
Pre-Condition
- One collection in the state private is selected which does not have a metadata profile yet.
Description
- The user has to enter a name for the profile.
- The user has two different options:
- To create a new metadata profile
- To use an already available MD profile as template
- The system displays a list of all available published metadata profiles.
- (Optionally) The user wants to view the details of one selected metadata profile.
- The user can select one of the already existing md profiles (the system creates a copy of the md profile).
- The user can edit the the metadata profile (see UC_IM_MD_02 Edit metadata profile).
- After saving, the system displays a success message.
Actors Involved
- Account user
UC_IM_MD_02 Edit metadata profile[edit]
Status/Schedule
- Status: implemented
- Schedule: Beta Release
Pre-Condition
- One collection in the state private or published is selected which does have a metadata profile.
Description
- A MD profile consists of
- Title (string, mandatory, once)
- Description (string, optional, once)
- Attributes (complex, mandatory, one-unbounded)
- The user can modify all attributes of the profile and can create new attributes or delete already existing attributes.
- When deleting already available attributes, all values of these attributes will be deleted, too. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and which has to be confirmed by the user.
- An attribute consists of
- type (list, mandatory, once) e.g. date, geonames, string, integer, cone-person
- label (string, mandatory, multiple)
- a language for each label (list, mandatory, once)
- cardinality (list, mandatory, once): once / multiple
- (optional) a possibility to define a list of predefined values (one text field for each value) or choose a controlled vocabulary
- When changing the cardinality from multiple to once, all pictures that have more than one value of the concrete element will loose these values. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and which has to be confirmed by the user.
- The user can modify the list of allowed values for one or more attributes, can delete them or ad new values.
- When deleting values from the list of allowed values for one or more attributes, these values will be deleted also in the metadata sets of all pictures that use these values. Therefore the system displays a warning message, where the number of values, that will be deleted, is displayed and has to be confirmed by the user.
- The user can define the attribute that shall be used as underline (image caption) for the images.
- After saving, the system displays a success message.
Actors Involved
- Collection editor for the selected collection
Comments
- When somebody edits one metadata profile, this profile will be locked for all other users.
- We will use the pessimistic logging: the selected metadata profile will be locked the moment when one user goes on "edit" and will be un-locked once again when the user clicks on "save". In case the user never goes on save, the locking will be neutralized after the session time out which will be 15 minutes after the last user action on imeji.
- When the metadata profile is locked, all images that are using this profile (that means all images within the collection that uses the profile) have to be logged, too.
Further Ideas
- The attribute type integer could also offer a definition of unit (string with autosuggest, mandatory, once) e.g. km, m, cm, mm, Celsius, Fahrenheit
- Additionally autosuggest for label (either defined by the user himself or chosen out of an list of already existing labels). This way, similar labels are always written the same way.
- License for each picture (based on the cc licenses)
UC_IM_MD_02 Delete metadata profile[edit]
Status/Schedule
- Status: in specification
- Schedule: only needed for scenario 1:n
Pre-Condition
- One metadata profile in the state private is selected
Description
- A metadata profile can only be deleted when it is not published yet. After that, only discard is possible.
- A metadata profile can only be used for a new collection when it is released. Therefor when it is still private, the metadata profile is not used by any collection and can therefore be deleted without any problems.
- The deletion needs a confirmation.
- After confirming, the system displays a success message.
Actors Involved
- Collection editor for the selected collection
UC_IM_MD_03 Release metadata profile[edit]
Status/Schedule
- Status: in specification
- Schedule: only needed for scenario 1:n
Pre-Condition
- One metadata profile in the state private is selected
Description
- The user wants to release the metadata profile.
- For the release a confirmation message is necessary.
- After confirming, the system displays a success message. The metadata profile is now in the state released and gets a persistent URL.
- For the case an older released version of the metadata profile already exists, this version will be overwritten.
- Released means that the profile:
- is displayed in browsing lists
- can be used (as template) for other metadata profile
Actors Involved
- MD profile editor for the selected metadata profile
UC_IM_MD_04 Rework metadata profile[edit]
Status/Schedule
- Status: in specification
- Schedule: only needed for scenario 1:n
Pre-Condition
- One metadata profile in the state released is selected
Description
- For reworking a metadata profile a new version of the profile will automatically be created that is in the state private.
- The latest released version will stay as is is (till a newer version of the profile will be released).
- In this private version, the user can edit the profile (see UC_IM_MD_02 Edit metadata profile).
- After saving, the system displays a success message. The profile is still in the state private.
- To release the profile, see UC_IM_MD_03 Release metadata profile.
Actors Involved
- MD profile editor for the selected metadata profile
UC_IM_MD_05 Withdraw metadata profile[edit]
Status/Schedule
- Status: in specification
- Schedule: only needed for scenario 1:n
Pre-Condition
- One metadata profile in the state released is selected
Description
- The withdraw needs to be explained by the user via a withdrawn comment and needs a confirmation, where the system makes it clear to the user, that a withdrawn metadata profile can not be edited any more, is not searchable or browsable and can only be found from other users via following the URL to one version of the metadata profile.
- After confirming, the system displays a success message. The metadata profile is now in the state withdrawn.
- All collections that use this metadata profile can still use it, but there will be displayed an information, that the profile is withdrawn.
- Withdraw means that the profile:
- is not displayed in any browsing context
- can not be used any more (as template) for a new collection
Actors Involved
- MD profile editor for the selected metadata profile
[edit]
Status/Schedule
- Status: in specification
- Schedule: only needed for scenario 1:n
Pre-Condition
- One metadata profile in the state private or released is selected
Description
- To share a metadata profile, the user has to choose one or several users or user groups which whom he wants to share the collection.
- (Optionally) When the user chooses one or more user groups, he can view the members of the selected group.
- The user has to define the concrete user rights he want to assign to the selected user (groups).
- Each new user will get an automated e-mail notification from the system.
Actors Involved
- MD administrator for the selected metadata profile
Constrains
- Share metadata profile currently only works for users that already have a user account within imeji. In a next step it would be nice also to invite new users and include an account creation procedure within the sharing process.
Metadata Values[edit]
UC_IM_MD_06 Scan filename[edit]
Status/Schedule
- Status: in specification
- Schedule:
Pre-Conditions
- One upload, one collection, or several pictures within one collection are selected.
- The metadata profile for the selected collection is already defined.
Triggers
- This use case can be triggered by UC_IM_PIC_01 Upload pictures.
Description
- When the filename of the uploading pictures already contains some metadata values, these values can automatically extracted by the system if they are based on a general regulation.
- The system displays one filename as example.
- The user defines the general regulation for the filenames via
- defining the order of the metadata elemens as they occur in the filename
- defining the symbol that defined the end of one element and the beginning of the next (e.g. an underscore or a semicolon)
- The system extract the filename based on the defined regulation from the example shown in step 2.
- When the result of the example is satisfying, the user confirms his definitions and the system extracts all metadata values from the selected pictures and stores them in their metadata. Otherwise the user has to change his definitions.
Actors Involved
- Picture editor for the selected collection
UC_IM_MD_07 Edit picture metadata[edit]
Status/Schedule
- Status: implemented
- Schedule: Beta Release
Pre-Condition
- One or several pictures are selected via UC_IM_PIC_02 Select pictures for editing
- The pictures are either in a private or a published collection
Description
- The system displays an information message which says how many pictures are currently selected. Further on, there must be a possibility to view all the selected pictures.
- The user chooses one or several labels he wants to edit.
- The users defines one or more metadata values for the selected labels.
- When only one picture is selected:
- Already available metadata values will be displayed as pre-filled in.
- When more than one picture are selected:
- When the selected pictures have one or more metadata values in common, this value(s) will be displayed as pre-filled in. When they have different metadata values, this can not be displayed, but then the system will give the information, that some pictures already have a value for the metadata.
- The user has to choose whether he wants
- to add the new value only when the value is empty
- to add the new value to all images (only possible when is is a value that could occur more than once)
- to overwrite all values
- When only one picture is selected:
- After saving, the system displays a confirmation message and assigns the defined metadata values to the pictures.
Actors Involved
- Picture editor for the selected collection
Comments
- To avoid confusion when more than one user tries to edit the metadata of the same picture(s) at the same time, the system has to take care that always the newest version of the pictures and its metadata is displayed. And this will be the only version that is editable.
- When somebody edits the metadata of one or more pictures, this pictures have to be locked during the editing process so that nobody else can edit them. When during this time, someone else tries to edit them, an information message has to be displayed.
- We will use the pessimistic logging: the selected image(s) will be locked the moment when one user goes on "edit" and will be un-locked once again when the user clicks on "save". In case the user never goes on save, the locking will be neutralized after the session time out which will be 15 minutes after the last user action on imeji.
- When at lease one image within a collection is locked, the corresponding metadata profile has to be locked, too.
- Keep in mind that there are two different use cases possible:
- if edit can be done under a couple of seconds without any errors (preferred way)
- if not, should certainly be specified something like an edit workspace where a report can be displayed etc. (not so nice)
- --> depends on the results of the dev team demonstrators!
Further Information
For the editing of picture metadate, 5 different usage scenarios are possible:
Number of images | Number of MD elements | Value of the MD element(s) | State | Comment |
1 | 1 | same | not planned | Is already part of the second option |
1 | 1 /n / all | different | implemented | |
n (selected) | 1 / n | different | implemented | |
n (selected) | 1 / n | same | implemented | |
whole collection | 1 / n | same | missing. | Is similar to the above but could not be covered total by it because the functionality to select all pictures of one collection is missing. |