func (this *Input) ImportPoll(userId string, itemId string) error {
	if err := like(&this.cSet, userId, itemId); err != nil {
		return err
	}
	if err := this.UpdatePoll(userId, itemId); err != nil {
		return err
	}
	return nil
}
import poll type data
package gocommend
type Input struct {
	cSet collectionSet
}
func (this *Input) Init(collection string) error {
	if collection == "" {
		return gocommendError{emptyCollection}
	}
	this.cSet = collectionSet{}
	this.cSet.init(collection)
	return nil
}
func (this *Input) ImportRate(userId string, itemId string, rate int) error {
	if rate > 0 {
		if err := like(&this.cSet, userId, itemId); err != nil {
			return err
		}
	} else {
		if err := dislike(&this.cSet, userId, itemId); err != nil {
			return err
		}
	}
	if err := this.UpdateRate(userId, itemId); err != nil {
		return err
	}
	return nil
}