<default>
Use Case Diagram UC_B_01_Resources_Management

Actor Summary
Resource moderatorA user who moderates resource submission
Simple UserA user who submits resources
 

System Boundary Summary
Resources management 
 

Diagram Elements Detail

Resource moderator

A user who moderates resource submission

Communicates Links

to UseCase moderate


Simple User
A user who submits resources

Communicates Links

to UseCase delete

to UseCase submit for publication

to UseCase update submitted metadata for an approved resource


Resources management

backgroundColor 200,200,200
UseCase Summary
authenticate 
deleteA simple user deletes a resource and its metadata.
Manage ResourcesUsers and moderators manage resources
moderateThe resource moderator moderates resource submissions
submit for publicationA simple user submits a resource and its metadata
submit metadataA simple user submits resource metadata.
submit resourceA simple user submits a resource.
update an accepted resource and its metadataA simple user updates an accepted resource and its metadata.
update a submitted resource and its metadataA simple user update a submitted resource and its metadata.
update submitted metadata for an approved resourceA simple user updates submitted metadata for an approved resource.
update submitted metadata for a remote resourceA simple user update submitted metadata for a remote resource.
 


authenticate

delete
A simple user deletes a resource and its metadata.

Preconditions

  1. he user is authenticated
  2. The user is authorized to delete a resource, i.e., he is either the owner of the resource or an administrator of the repository.
Normal Flow

  1. The user selects a resource to delete
  2. The metadata describing the resource is delete
Alternate Flow

  1. The user removes metadata.
  2. Minor removes resource's metadata.
  3. Minor removes the resource.



  1. The user removes metadata of an external resource.
  2. Minor removes resource's metadata.
  3. The external resource is not affected
Postconditions

  1. The resource and its metadata are deleted

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

Manage Resources
Users and moderators manage resources

Preconditions

  1. The User is authenticated
  2. The user has the rights to perform the intended action
Normal Flow

  1. This is an abstract use case, see children for implementation
Postconditions

  1. The action is performed
Is abstract

Includes Links

to UseCase authenticate


moderate
The resource moderator moderates resource submissions

Preconditions

  1. The user is authenticated
  2. The user is a resource moderator
  3. A resource and its metadata are waiting for approval
Normal Flow

  1. The moderator consults the list of resources to be moderated
  2. For each listed resource the moderator examine its metadata
  3. The moderator approves the resource and its metadata
  4. The resource moderator motivates his/her moderation decision
Alternate Flow

  1. The moderator rejects and deletes the resource and its metadata
  2. The resource and its metadata are deleted


  1. The moderator rejects the resource and its metadata
  2. The resource and its metadata wait to be corrected and resubmitted by the simple user.
Postconditions

  1. Accepted resources are discoverable by the federation

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

submit for publication
A simple user submits a resource and its metadata

Preconditions

  1. The user is authenticated
  2. The user is authorized to submit resources
Normal Flow

  1. The user submits a resource and its metadata
Alternate Flow

  1. The user submits metadata for an external resource.
Postconditions

  1. The resource is submitted for approval.
  2. The resource is not discoverable by the federation.

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

Includes Links

to UseCase submit resource

to UseCase submit metadata


submit metadata
A simple user submits resource metadata.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to submit metadata.
Normal Flow

  1. The user submits metadata.
Postconditions

  1. The metadata is submitted for approval.
  2. The metadata is not searchable by the federation.

submit resource
A simple user submits a resource.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to submit a resource.
Normal Flow

  1. The user submits the resource.
Postconditions

  1. The resource is submitted for approval
  2. The resource is not searchable by the federation

update an accepted resource and its metadata
A simple user updates an accepted resource and its metadata.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to update a resource and its metadata
Normal Flow

  1. The user updates resource and its metadata.
Postconditions

  1. The resource is submitted for approval
  2. The updated version of the resource is not discoverable by the federation
  3. The formerly approved version of the resource remains discoverable by the federation

Communicates Links

to Actor Simple User

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

update a submitted resource and its metadata
A simple user update a submitted resource and its metadata.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to update a resource and its metadata
Normal Flow

  1. The user updates resource and its metadata
Postconditions

  1. The resource is submitted for approval
  2. The updated version of the resource is not discoverable by the federation

Communicates Links

to Actor Simple User

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

update submitted metadata for an approved resource
A simple user updates submitted metadata for an approved resource.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to update metadata
Normal Flow

  1. The user updates resource metadata
Postconditions

  1. The resource is submitted for approval
  2. The updated version of the resource is not discoverable by the federation
  3. The formerly approved version of the resource remains discoverable by the federation

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink

update submitted metadata for a remote resource
A simple user update submitted metadata for a remote resource.

Preconditions

  1. The simple user is authenticated
  2. The simple user is authorized to update metadata
Normal Flow

  1. The user updates resource metadata
Postconditions

  1. The resource is submitted for approval
  2. The updated version of the resource is not discoverable by the federation

Communicates Links

to Actor Simple User

Generalization Links

to UseCase Manage Resources

shapeType GeneralizationLink