ccc.commands
Class UpdateResourceMetadataCommand
java.lang.Object
ccc.commands.UpdateResourceMetadataCommand
public class UpdateResourceMetadataCommand
- extends java.lang.Object
Command: update resource metadata.
- Author:
- Civic Computing Ltd.
Method Summary |
void |
execute(UserEntity actor,
java.util.Date happenedOn,
java.util.UUID id,
java.lang.String title,
java.lang.String description,
java.util.Set<java.lang.String> tags,
java.util.Map<java.lang.String,java.lang.String> metadata)
Update metadata of the resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateResourceMetadataCommand
public UpdateResourceMetadataCommand(IRepositoryFactory repoFactory)
- Constructor.
- Parameters:
repoFactory
- The repository factory for this command.
execute
public void execute(UserEntity actor,
java.util.Date happenedOn,
java.util.UUID id,
java.lang.String title,
java.lang.String description,
java.util.Set<java.lang.String> tags,
java.util.Map<java.lang.String,java.lang.String> metadata)
- Update metadata of the resource.
- Parameters:
id
- The resource to update.metadata
- The new metadata to set.actor
- The user who performed the command.happenedOn
- When the command was performed.title
- The new title for the resource.description
- The new description for the resource.tags
- The new tags for the resource.
Copyright © 2010. All Rights Reserved.