Class DefaultCommerceCommentService
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.service.AbstractService
-
- de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
-
- de.hybris.platform.comments.services.impl.DefaultCommentService
-
- de.hybris.platform.commerceservices.comments.impl.DefaultCommerceCommentService
-
- All Implemented Interfaces:
CommentService,CommerceCommentService,java.io.Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultCommerceCommentService extends DefaultCommentService implements CommerceCommentService
Default implementation forCommerceCommentService.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManager
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant
-
-
Constructor Summary
Constructors Constructor Description DefaultCommerceCommentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComment(CommerceCommentParameter parameter)Adds a comment to an item.protected KeyGeneratorgetCommentsKeyGenerator()voidsetCommentsKeyGenerator(KeyGenerator commentsKeyGenerator)protected voidvalidateCommentParameter(CommerceCommentParameter parameter)-
Methods inherited from class de.hybris.platform.comments.services.impl.DefaultCommentService
createReply, getAvailableCommentTypes, getCommentDao, getComments, getComments, getComments, getComments, getCommentTypeByCode, getCommentTypeForCode, getComponentByCode, getComponentForCode, getDirectReplies, getDomainByCode, getDomainForCode, getFlexibleSearchService, getItemComments, getItemComments, getItemComments, getItemComments, getUserSetting, setCommentDao, setFlexibleSearchService
-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
-
-
-
Method Detail
-
addComment
public void addComment(CommerceCommentParameter parameter)
Description copied from interface:CommerceCommentServiceAdds a comment to an item.- Specified by:
addCommentin interfaceCommerceCommentService- Parameters:
parameter- The comment parameter with comment data to be added.
-
validateCommentParameter
protected void validateCommentParameter(CommerceCommentParameter parameter)
-
getCommentsKeyGenerator
protected KeyGenerator getCommentsKeyGenerator()
-
setCommentsKeyGenerator
public void setCommentsKeyGenerator(KeyGenerator commentsKeyGenerator)
-
-