Package de.hybris.platform.comments.jalo
Class GeneratedCommentsManager
- java.lang.Object
-
- de.hybris.platform.jalo.Manager
-
- de.hybris.platform.jalo.extension.Extension
-
- de.hybris.platform.comments.jalo.GeneratedCommentsManager
-
- All Implemented Interfaces:
ItemLifecycleListener,java.io.Serializable
- Direct Known Subclasses:
CommentsManager
public abstract class GeneratedCommentsManager extends Extension
Generated class for typeCommentsManager.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProvider
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator
-
-
Field Summary
Fields Modifier and Type Field Description protected static OneToManyHandler<AbstractComment>ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLEROneToManyHandlerfor handling 1:n CREATEDCOMMENTS's relation attributes from 'many' side.protected static java.lang.StringCOMMENTASSIGNEERELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for CommentAssigneeRelation from ((comments))protected static java.lang.StringCOMMENTASSIGNEERELATION_SRC_ORDEREDRelation ordering override parameter constants for CommentAssigneeRelation from ((comments))protected static java.lang.StringCOMMENTASSIGNEERELATION_TGT_ORDEREDprotected static java.lang.StringCOMMENTITEMRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for CommentItemRelation from ((comments))protected static java.lang.StringCOMMENTITEMRELATION_SRC_ORDEREDRelation ordering override parameter constants for CommentItemRelation from ((comments))protected static java.lang.StringCOMMENTITEMRELATION_TGT_ORDEREDprotected static OneToManyHandler<CommentUserSetting>COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLEROneToManyHandlerfor handling 1:n COMMENTUSERSETTINGS's relation attributes from 'many' side.protected static java.lang.StringCOMMENTWATCHERRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for CommentWatcherRelation from ((comments))protected static java.lang.StringCOMMENTWATCHERRELATION_SRC_ORDEREDRelation ordering override parameter constants for CommentWatcherRelation from ((comments))protected static java.lang.StringCOMMENTWATCHERRELATION_TGT_ORDEREDprotected static java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>>DEFAULT_INITIAL_ATTRIBUTES
-
Constructor Summary
Constructors Constructor Description GeneratedCommentsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAssignedComments(SessionContext ctx, User item, Comment value)Generated method - Addsvalueto assignedComments.voidaddToAssignedComments(User item, Comment value)Generated method - Addsvalueto assignedComments.voidaddToComments(Item item, Comment value)Generated method - Addsvalueto comments.voidaddToComments(SessionContext ctx, Item item, Comment value)Generated method - Addsvalueto comments.voidaddToCreatedComments(SessionContext ctx, User item, AbstractComment value)Generated method - Addsvalueto createdComments.voidaddToCreatedComments(User item, AbstractComment value)Generated method - Addsvalueto createdComments.voidaddToWatchedComments(Principal item, Comment value)Generated method - Addsvalueto watchedComments.voidaddToWatchedComments(SessionContext ctx, Principal item, Comment value)Generated method - Addsvalueto watchedComments.CommentcreateComment(SessionContext ctx, java.util.Map attributeValues)CommentcreateComment(java.util.Map attributeValues)CommentAttachmentcreateCommentAttachment(SessionContext ctx, java.util.Map attributeValues)CommentAttachmentcreateCommentAttachment(java.util.Map attributeValues)CommentTypecreateCommentType(SessionContext ctx, java.util.Map attributeValues)CommentTypecreateCommentType(java.util.Map attributeValues)CommentUserSettingcreateCommentUserSetting(SessionContext ctx, java.util.Map attributeValues)CommentUserSettingcreateCommentUserSetting(java.util.Map attributeValues)ComponentcreateComponent(SessionContext ctx, java.util.Map attributeValues)ComponentcreateComponent(java.util.Map attributeValues)DomaincreateDomain(SessionContext ctx, java.util.Map attributeValues)DomaincreateDomain(java.util.Map attributeValues)ReplycreateReply(SessionContext ctx, java.util.Map attributeValues)ReplycreateReply(java.util.Map attributeValues)java.util.List<Comment>getAssignedComments(SessionContext ctx, User item)Generated method - Getter of theUser.assignedCommentsattribute.java.util.List<Comment>getAssignedComments(User item)Generated method - Getter of theUser.assignedCommentsattribute.longgetAssignedCommentsCount(SessionContext ctx, User item)longgetAssignedCommentsCount(User item)java.util.List<Comment>getComments(Item item)Generated method - Getter of theItem.commentsattribute.java.util.List<Comment>getComments(SessionContext ctx, Item item)Generated method - Getter of theItem.commentsattribute.longgetCommentsCount(Item item)longgetCommentsCount(SessionContext ctx, Item item)java.util.List<AbstractComment>getCreatedComments(SessionContext ctx, User item)Generated method - Getter of theUser.createdCommentsattribute.java.util.List<AbstractComment>getCreatedComments(User item)Generated method - Getter of theUser.createdCommentsattribute.java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass)java.lang.StringgetName()MediagetProfilePicture(Principal item)Generated method - Getter of thePrincipal.profilePictureattribute.MediagetProfilePicture(SessionContext ctx, Principal item)Generated method - Getter of thePrincipal.profilePictureattribute.java.util.List<Comment>getWatchedComments(Principal item)Generated method - Getter of thePrincipal.watchedCommentsattribute.java.util.List<Comment>getWatchedComments(SessionContext ctx, Principal item)Generated method - Getter of thePrincipal.watchedCommentsattribute.longgetWatchedCommentsCount(Principal item)longgetWatchedCommentsCount(SessionContext ctx, Principal item)voidremoveFromAssignedComments(SessionContext ctx, User item, Comment value)Generated method - Removesvaluefrom assignedComments.voidremoveFromAssignedComments(User item, Comment value)Generated method - Removesvaluefrom assignedComments.voidremoveFromComments(Item item, Comment value)Generated method - Removesvaluefrom comments.voidremoveFromComments(SessionContext ctx, Item item, Comment value)Generated method - Removesvaluefrom comments.voidremoveFromCreatedComments(SessionContext ctx, User item, AbstractComment value)Generated method - Removesvaluefrom createdComments.voidremoveFromCreatedComments(User item, AbstractComment value)Generated method - Removesvaluefrom createdComments.voidremoveFromWatchedComments(Principal item, Comment value)Generated method - Removesvaluefrom watchedComments.voidremoveFromWatchedComments(SessionContext ctx, Principal item, Comment value)Generated method - Removesvaluefrom watchedComments.voidsetAssignedComments(SessionContext ctx, User item, java.util.List<Comment> value)Generated method - Setter of theUser.assignedCommentsattribute.voidsetAssignedComments(User item, java.util.List<Comment> value)Generated method - Setter of theUser.assignedCommentsattribute.voidsetComments(Item item, java.util.List<Comment> value)Generated method - Setter of theItem.commentsattribute.voidsetComments(SessionContext ctx, Item item, java.util.List<Comment> value)Generated method - Setter of theItem.commentsattribute.voidsetCreatedComments(SessionContext ctx, User item, java.util.List<AbstractComment> value)Generated method - Setter of theUser.createdCommentsattribute.voidsetCreatedComments(User item, java.util.List<AbstractComment> value)Generated method - Setter of theUser.createdCommentsattribute.voidsetProfilePicture(Principal item, Media value)Generated method - Setter of thePrincipal.profilePictureattribute.voidsetProfilePicture(SessionContext ctx, Principal item, Media value)Generated method - Setter of thePrincipal.profilePictureattribute.voidsetWatchedComments(Principal item, java.util.List<Comment> value)Generated method - Setter of thePrincipal.watchedCommentsattribute.voidsetWatchedComments(SessionContext ctx, Principal item, java.util.List<Comment> value)Generated method - Setter of thePrincipal.watchedCommentsattribute.-
Methods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplace
-
Methods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrap
-
-
-
-
Field Detail
-
COMMENTWATCHERRELATION_SRC_ORDERED
protected static java.lang.String COMMENTWATCHERRELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentWatcherRelation from ((comments))
-
COMMENTWATCHERRELATION_TGT_ORDERED
protected static java.lang.String COMMENTWATCHERRELATION_TGT_ORDERED
-
COMMENTWATCHERRELATION_MARKMODIFIED
protected static java.lang.String COMMENTWATCHERRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentWatcherRelation from ((comments))
-
COMMENTITEMRELATION_SRC_ORDERED
protected static java.lang.String COMMENTITEMRELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentItemRelation from ((comments))
-
COMMENTITEMRELATION_TGT_ORDERED
protected static java.lang.String COMMENTITEMRELATION_TGT_ORDERED
-
COMMENTITEMRELATION_MARKMODIFIED
protected static java.lang.String COMMENTITEMRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentItemRelation from ((comments))
-
COMMENTASSIGNEERELATION_SRC_ORDERED
protected static java.lang.String COMMENTASSIGNEERELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentAssigneeRelation from ((comments))
-
COMMENTASSIGNEERELATION_TGT_ORDERED
protected static java.lang.String COMMENTASSIGNEERELATION_TGT_ORDERED
-
COMMENTASSIGNEERELATION_MARKMODIFIED
protected static java.lang.String COMMENTASSIGNEERELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentAssigneeRelation from ((comments))
-
ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER
protected static final OneToManyHandler<AbstractComment> ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER
OneToManyHandlerfor handling 1:n CREATEDCOMMENTS's relation attributes from 'many' side.
-
COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER
protected static final OneToManyHandler<CommentUserSetting> COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER
OneToManyHandlerfor handling 1:n COMMENTUSERSETTINGS's relation attributes from 'many' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
public java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass)
- Overrides:
getDefaultAttributeModesin classExtension
-
getAssignedComments
public java.util.List<Comment> getAssignedComments(SessionContext ctx, User item)
Generated method - Getter of theUser.assignedCommentsattribute.- Returns:
- the assignedComments
-
getAssignedComments
public java.util.List<Comment> getAssignedComments(User item)
Generated method - Getter of theUser.assignedCommentsattribute.- Returns:
- the assignedComments
-
getAssignedCommentsCount
public long getAssignedCommentsCount(SessionContext ctx, User item)
-
getAssignedCommentsCount
public long getAssignedCommentsCount(User item)
-
setAssignedComments
public void setAssignedComments(SessionContext ctx, User item, java.util.List<Comment> value)
Generated method - Setter of theUser.assignedCommentsattribute.- Parameters:
value- the assignedComments
-
setAssignedComments
public void setAssignedComments(User item, java.util.List<Comment> value)
Generated method - Setter of theUser.assignedCommentsattribute.- Parameters:
value- the assignedComments
-
addToAssignedComments
public void addToAssignedComments(SessionContext ctx, User item, Comment value)
Generated method - Addsvalueto assignedComments.- Parameters:
value- the item to add to assignedComments
-
addToAssignedComments
public void addToAssignedComments(User item, Comment value)
Generated method - Addsvalueto assignedComments.- Parameters:
value- the item to add to assignedComments
-
removeFromAssignedComments
public void removeFromAssignedComments(SessionContext ctx, User item, Comment value)
Generated method - Removesvaluefrom assignedComments.- Parameters:
value- the item to remove from assignedComments
-
removeFromAssignedComments
public void removeFromAssignedComments(User item, Comment value)
Generated method - Removesvaluefrom assignedComments.- Parameters:
value- the item to remove from assignedComments
-
getComments
public java.util.List<Comment> getComments(SessionContext ctx, Item item)
Generated method - Getter of theItem.commentsattribute.- Returns:
- the comments
-
getComments
public java.util.List<Comment> getComments(Item item)
Generated method - Getter of theItem.commentsattribute.- Returns:
- the comments
-
getCommentsCount
public long getCommentsCount(SessionContext ctx, Item item)
-
getCommentsCount
public long getCommentsCount(Item item)
-
setComments
public void setComments(SessionContext ctx, Item item, java.util.List<Comment> value)
Generated method - Setter of theItem.commentsattribute.- Parameters:
value- the comments
-
setComments
public void setComments(Item item, java.util.List<Comment> value)
Generated method - Setter of theItem.commentsattribute.- Parameters:
value- the comments
-
addToComments
public void addToComments(SessionContext ctx, Item item, Comment value)
Generated method - Addsvalueto comments.- Parameters:
value- the item to add to comments
-
addToComments
public void addToComments(Item item, Comment value)
Generated method - Addsvalueto comments.- Parameters:
value- the item to add to comments
-
removeFromComments
public void removeFromComments(SessionContext ctx, Item item, Comment value)
Generated method - Removesvaluefrom comments.- Parameters:
value- the item to remove from comments
-
removeFromComments
public void removeFromComments(Item item, Comment value)
Generated method - Removesvaluefrom comments.- Parameters:
value- the item to remove from comments
-
createComment
public Comment createComment(SessionContext ctx, java.util.Map attributeValues)
-
createComment
public Comment createComment(java.util.Map attributeValues)
-
createCommentAttachment
public CommentAttachment createCommentAttachment(SessionContext ctx, java.util.Map attributeValues)
-
createCommentAttachment
public CommentAttachment createCommentAttachment(java.util.Map attributeValues)
-
createCommentType
public CommentType createCommentType(SessionContext ctx, java.util.Map attributeValues)
-
createCommentType
public CommentType createCommentType(java.util.Map attributeValues)
-
createCommentUserSetting
public CommentUserSetting createCommentUserSetting(SessionContext ctx, java.util.Map attributeValues)
-
createCommentUserSetting
public CommentUserSetting createCommentUserSetting(java.util.Map attributeValues)
-
createComponent
public Component createComponent(SessionContext ctx, java.util.Map attributeValues)
-
createComponent
public Component createComponent(java.util.Map attributeValues)
-
getCreatedComments
public java.util.List<AbstractComment> getCreatedComments(SessionContext ctx, User item)
Generated method - Getter of theUser.createdCommentsattribute.- Returns:
- the createdComments
-
getCreatedComments
public java.util.List<AbstractComment> getCreatedComments(User item)
Generated method - Getter of theUser.createdCommentsattribute.- Returns:
- the createdComments
-
setCreatedComments
public void setCreatedComments(SessionContext ctx, User item, java.util.List<AbstractComment> value)
Generated method - Setter of theUser.createdCommentsattribute.- Parameters:
value- the createdComments
-
setCreatedComments
public void setCreatedComments(User item, java.util.List<AbstractComment> value)
Generated method - Setter of theUser.createdCommentsattribute.- Parameters:
value- the createdComments
-
addToCreatedComments
public void addToCreatedComments(SessionContext ctx, User item, AbstractComment value)
Generated method - Addsvalueto createdComments.- Parameters:
value- the item to add to createdComments
-
addToCreatedComments
public void addToCreatedComments(User item, AbstractComment value)
Generated method - Addsvalueto createdComments.- Parameters:
value- the item to add to createdComments
-
removeFromCreatedComments
public void removeFromCreatedComments(SessionContext ctx, User item, AbstractComment value)
Generated method - Removesvaluefrom createdComments.- Parameters:
value- the item to remove from createdComments
-
removeFromCreatedComments
public void removeFromCreatedComments(User item, AbstractComment value)
Generated method - Removesvaluefrom createdComments.- Parameters:
value- the item to remove from createdComments
-
createDomain
public Domain createDomain(SessionContext ctx, java.util.Map attributeValues)
-
createDomain
public Domain createDomain(java.util.Map attributeValues)
-
createReply
public Reply createReply(SessionContext ctx, java.util.Map attributeValues)
-
createReply
public Reply createReply(java.util.Map attributeValues)
-
getProfilePicture
public Media getProfilePicture(SessionContext ctx, Principal item)
Generated method - Getter of thePrincipal.profilePictureattribute.- Returns:
- the profilePicture
-
getProfilePicture
public Media getProfilePicture(Principal item)
Generated method - Getter of thePrincipal.profilePictureattribute.- Returns:
- the profilePicture
-
setProfilePicture
public void setProfilePicture(SessionContext ctx, Principal item, Media value)
Generated method - Setter of thePrincipal.profilePictureattribute.- Parameters:
value- the profilePicture
-
setProfilePicture
public void setProfilePicture(Principal item, Media value)
Generated method - Setter of thePrincipal.profilePictureattribute.- Parameters:
value- the profilePicture
-
getWatchedComments
public java.util.List<Comment> getWatchedComments(SessionContext ctx, Principal item)
Generated method - Getter of thePrincipal.watchedCommentsattribute.- Returns:
- the watchedComments
-
getWatchedComments
public java.util.List<Comment> getWatchedComments(Principal item)
Generated method - Getter of thePrincipal.watchedCommentsattribute.- Returns:
- the watchedComments
-
getWatchedCommentsCount
public long getWatchedCommentsCount(SessionContext ctx, Principal item)
-
getWatchedCommentsCount
public long getWatchedCommentsCount(Principal item)
-
setWatchedComments
public void setWatchedComments(SessionContext ctx, Principal item, java.util.List<Comment> value)
Generated method - Setter of thePrincipal.watchedCommentsattribute.- Parameters:
value- the watchedComments
-
setWatchedComments
public void setWatchedComments(Principal item, java.util.List<Comment> value)
Generated method - Setter of thePrincipal.watchedCommentsattribute.- Parameters:
value- the watchedComments
-
addToWatchedComments
public void addToWatchedComments(SessionContext ctx, Principal item, Comment value)
Generated method - Addsvalueto watchedComments.- Parameters:
value- the item to add to watchedComments
-
addToWatchedComments
public void addToWatchedComments(Principal item, Comment value)
Generated method - Addsvalueto watchedComments.- Parameters:
value- the item to add to watchedComments
-
removeFromWatchedComments
public void removeFromWatchedComments(SessionContext ctx, Principal item, Comment value)
Generated method - Removesvaluefrom watchedComments.- Parameters:
value- the item to remove from watchedComments
-
-