stock Stock Methods Calculate Calculate the stocks for a campaign. Generic Methods create Creates a new entity corresponding to a given schema. load Loads and returns an entity corresponding to a given schema and key. save Saves an entity in the database.