Bug 13389: updatetemplate- Add the identity mapper for guest os id param.

Reviewed-By: Kishan
This commit is contained in:
Nitin Mehta 2012-01-31 22:05:54 +05:30
parent 2ef6ed809f
commit 0f30b0d46c

View File

@ -46,6 +46,7 @@ public abstract class UpdateTemplateOrIsoCmd extends BaseCmd {
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the image file")
private String templateName;
@IdentityMapper(entityTableName="guest_os")
@Parameter(name=ApiConstants.OS_TYPE_ID, type=CommandType.LONG, description="the ID of the OS type that best represents the OS of this image.")
private Long osTypeId;