@Service @Repository @Transactional public class AttributeServiceImpl extends AbstractPagingAndSortingService implements AttributeService
Constructor and Description |
---|
AttributeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAttribute(Long attributeId) |
Optional<AttributeModel> |
getAttribute(Long attributeId) |
Optional<AttributeModel> |
getAttribute(String catalogId,
String attributeName) |
List<AttributeModel> |
getAttributes() |
List<AttributeModel> |
getAttributes(int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
List<AttributeModel> |
getAttributes(String catalogId) |
List<AttributeModel> |
getAttributes(String catalogId,
int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
AttributeModel |
saveAttribute(AttributeModel attribute) |
createPageRequest
public List<AttributeModel> getAttributes()
getAttributes
in interface AttributeService
public List<AttributeModel> getAttributes(String catalogId)
getAttributes
in interface AttributeService
public List<AttributeModel> getAttributes(int startPage, int itemsPerPage, String sortColumn, String direction)
getAttributes
in interface AttributeService
public List<AttributeModel> getAttributes(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
getAttributes
in interface AttributeService
public Optional<AttributeModel> getAttribute(String catalogId, String attributeName)
getAttribute
in interface AttributeService
public Optional<AttributeModel> getAttribute(Long attributeId)
getAttribute
in interface AttributeService
public AttributeModel saveAttribute(AttributeModel attribute)
saveAttribute
in interface AttributeService
public void deleteAttribute(Long attributeId)
deleteAttribute
in interface AttributeService
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.