public final class AttributeMapMongoDAO extends java.lang.Object implements AttributeMapDAO
Modifier and Type | Class and Description |
---|---|
(package private) static class |
AttributeMapMongoDAO.ShopAttributeDoc |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
COLLECTION_NAME |
private static java.lang.String |
CREATED_ON |
private org.springframework.data.mongodb.core.MongoOperations |
mongoOps |
Constructor and Description |
---|
AttributeMapMongoDAO(CollectionBuilder collectionBuilder) |
Modifier and Type | Method and Description |
---|---|
AttributeMapper |
get(java.lang.String shopGuid) |
AttributeMapper |
save(java.lang.String shopGuid,
AttributeMapper mapper) |
private static final java.lang.String CREATED_ON
private static final java.lang.String COLLECTION_NAME
private final org.springframework.data.mongodb.core.MongoOperations mongoOps
@Inject public AttributeMapMongoDAO(CollectionBuilder collectionBuilder)
public AttributeMapper save(java.lang.String shopGuid, AttributeMapper mapper)
save
in interface AttributeMapDAO
public AttributeMapper get(java.lang.String shopGuid)
get
in interface AttributeMapDAO