@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) |
createPageRequestpublic List<AttributeModel> getAttributes()
getAttributes in interface AttributeServicepublic List<AttributeModel> getAttributes(String catalogId)
getAttributes in interface AttributeServicepublic List<AttributeModel> getAttributes(int startPage, int itemsPerPage, String sortColumn, String direction)
getAttributes in interface AttributeServicepublic List<AttributeModel> getAttributes(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
getAttributes in interface AttributeServicepublic Optional<AttributeModel> getAttribute(String catalogId, String attributeName)
getAttribute in interface AttributeServicepublic Optional<AttributeModel> getAttribute(Long attributeId)
getAttribute in interface AttributeServicepublic AttributeModel saveAttribute(AttributeModel attribute)
saveAttribute in interface AttributeServicepublic void deleteAttribute(Long attributeId)
deleteAttribute in interface AttributeServiceCopyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.