public class CategoryMapMongoDao extends java.lang.Object implements CategoryMapDao
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CategoryMapMongoDao.ShopCategoryDoc |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLLECTION_NAME |
private org.springframework.data.mongodb.core.MongoOperations |
mongoOps |
Constructor and Description |
---|
CategoryMapMongoDao(CollectionBuilder collectionBuilder) |
Modifier and Type | Method and Description |
---|---|
CategoryInfoMapImpl |
get(java.lang.String shopGuid) |
CategoryInfoMapImpl |
save(java.lang.String shopGuid,
CategoryInfoMapImpl map) |
public static final java.lang.String COLLECTION_NAME
private final org.springframework.data.mongodb.core.MongoOperations mongoOps
@Inject public CategoryMapMongoDao(CollectionBuilder collectionBuilder)
public CategoryInfoMapImpl save(java.lang.String shopGuid, CategoryInfoMapImpl map)
save
in interface CategoryMapDao
public CategoryInfoMapImpl get(java.lang.String shopGuid)
get
in interface CategoryMapDao