452453454455456457458459460
return (Content) executeCommand(cmd); } @Override public Attachment getAttachmentById( long attachId ) { GetAttachmentCommand cmd = new GetAttachmentCommand(); cmd.setAttachmentId(attachId); return (Attachment) executeCommand(cmd); }