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,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 for
CommerceCommentService.- See Also:
-
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, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComment(CommerceCommentParameter parameter) Adds a comment to an item.protected KeyGeneratorvoidsetCommentsKeyGenerator(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, setFlexibleSearchServiceMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Constructor Details
-
DefaultCommerceCommentService
public DefaultCommerceCommentService()
-
-
Method Details
-
addComment
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
-
getCommentsKeyGenerator
-
setCommentsKeyGenerator
-