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, Serializable
Direct Known Subclasses:
CommentsManager

public abstract class GeneratedCommentsManager extends Extension
Generated class for type CommentsManager.
See Also:
  • Field Details

    • COMMENTWATCHERRELATION_SRC_ORDERED

      protected static String COMMENTWATCHERRELATION_SRC_ORDERED
      Relation ordering override parameter constants for CommentWatcherRelation from ((comments))
    • COMMENTWATCHERRELATION_TGT_ORDERED

      protected static String COMMENTWATCHERRELATION_TGT_ORDERED
    • COMMENTWATCHERRELATION_MARKMODIFIED

      protected static String COMMENTWATCHERRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CommentWatcherRelation from ((comments))
    • COMMENTITEMRELATION_SRC_ORDERED

      protected static String COMMENTITEMRELATION_SRC_ORDERED
      Relation ordering override parameter constants for CommentItemRelation from ((comments))
    • COMMENTITEMRELATION_TGT_ORDERED

      protected static String COMMENTITEMRELATION_TGT_ORDERED
    • COMMENTITEMRELATION_MARKMODIFIED

      protected static String COMMENTITEMRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CommentItemRelation from ((comments))
    • COMMENTASSIGNEERELATION_SRC_ORDERED

      protected static String COMMENTASSIGNEERELATION_SRC_ORDERED
      Relation ordering override parameter constants for CommentAssigneeRelation from ((comments))
    • COMMENTASSIGNEERELATION_TGT_ORDERED

      protected static String COMMENTASSIGNEERELATION_TGT_ORDERED
    • COMMENTASSIGNEERELATION_MARKMODIFIED

      protected static String COMMENTASSIGNEERELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CommentAssigneeRelation from ((comments))
    • ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER

      protected static final OneToManyHandler<AbstractComment> ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER
      OneToManyHandler for handling 1:n CREATEDCOMMENTS's relation attributes from 'many' side.
    • COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER

      protected static final OneToManyHandler<CommentUserSetting> COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER
      OneToManyHandler for handling 1:n COMMENTUSERSETTINGS's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Map<String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedCommentsManager

      public GeneratedCommentsManager()
  • Method Details

    • getDefaultAttributeModes

      public Map<String,Item.AttributeMode> getDefaultAttributeModes(Class<? extends Item> itemClass)
      Overrides:
      getDefaultAttributeModes in class Extension
    • getAssignedComments

      public List<Comment> getAssignedComments(SessionContext ctx, User item)
      Generated method - Getter of the User.assignedComments attribute.
      Returns:
      the assignedComments
    • getAssignedComments

      public List<Comment> getAssignedComments(User item)
      Generated method - Getter of the User.assignedComments attribute.
      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, List<Comment> value)
      Generated method - Setter of the User.assignedComments attribute.
      Parameters:
      value - the assignedComments
    • setAssignedComments

      public void setAssignedComments(User item, List<Comment> value)
      Generated method - Setter of the User.assignedComments attribute.
      Parameters:
      value - the assignedComments
    • addToAssignedComments

      public void addToAssignedComments(SessionContext ctx, User item, Comment value)
      Generated method - Adds value to assignedComments.
      Parameters:
      value - the item to add to assignedComments
    • addToAssignedComments

      public void addToAssignedComments(User item, Comment value)
      Generated method - Adds value to assignedComments.
      Parameters:
      value - the item to add to assignedComments
    • removeFromAssignedComments

      public void removeFromAssignedComments(SessionContext ctx, User item, Comment value)
      Generated method - Removes value from assignedComments.
      Parameters:
      value - the item to remove from assignedComments
    • removeFromAssignedComments

      public void removeFromAssignedComments(User item, Comment value)
      Generated method - Removes value from assignedComments.
      Parameters:
      value - the item to remove from assignedComments
    • getComments

      public List<Comment> getComments(SessionContext ctx, Item item)
      Generated method - Getter of the Item.comments attribute.
      Returns:
      the comments
    • getComments

      public List<Comment> getComments(Item item)
      Generated method - Getter of the Item.comments attribute.
      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, List<Comment> value)
      Generated method - Setter of the Item.comments attribute.
      Parameters:
      value - the comments
    • setComments

      public void setComments(Item item, List<Comment> value)
      Generated method - Setter of the Item.comments attribute.
      Parameters:
      value - the comments
    • addToComments

      public void addToComments(SessionContext ctx, Item item, Comment value)
      Generated method - Adds value to comments.
      Parameters:
      value - the item to add to comments
    • addToComments

      public void addToComments(Item item, Comment value)
      Generated method - Adds value to comments.
      Parameters:
      value - the item to add to comments
    • removeFromComments

      public void removeFromComments(SessionContext ctx, Item item, Comment value)
      Generated method - Removes value from comments.
      Parameters:
      value - the item to remove from comments
    • removeFromComments

      public void removeFromComments(Item item, Comment value)
      Generated method - Removes value from comments.
      Parameters:
      value - the item to remove from comments
    • createComment

      public Comment createComment(SessionContext ctx, Map attributeValues)
    • createComment

      public Comment createComment(Map attributeValues)
    • createCommentAttachment

      public CommentAttachment createCommentAttachment(SessionContext ctx, Map attributeValues)
    • createCommentAttachment

      public CommentAttachment createCommentAttachment(Map attributeValues)
    • createCommentType

      public CommentType createCommentType(SessionContext ctx, Map attributeValues)
    • createCommentType

      public CommentType createCommentType(Map attributeValues)
    • createCommentUserSetting

      public CommentUserSetting createCommentUserSetting(SessionContext ctx, Map attributeValues)
    • createCommentUserSetting

      public CommentUserSetting createCommentUserSetting(Map attributeValues)
    • createComponent

      public Component createComponent(SessionContext ctx, Map attributeValues)
    • createComponent

      public Component createComponent(Map attributeValues)
    • getCreatedComments

      public List<AbstractComment> getCreatedComments(SessionContext ctx, User item)
      Generated method - Getter of the User.createdComments attribute.
      Returns:
      the createdComments
    • getCreatedComments

      public List<AbstractComment> getCreatedComments(User item)
      Generated method - Getter of the User.createdComments attribute.
      Returns:
      the createdComments
    • setCreatedComments

      public void setCreatedComments(SessionContext ctx, User item, List<AbstractComment> value)
      Generated method - Setter of the User.createdComments attribute.
      Parameters:
      value - the createdComments
    • setCreatedComments

      public void setCreatedComments(User item, List<AbstractComment> value)
      Generated method - Setter of the User.createdComments attribute.
      Parameters:
      value - the createdComments
    • addToCreatedComments

      public void addToCreatedComments(SessionContext ctx, User item, AbstractComment value)
      Generated method - Adds value to createdComments.
      Parameters:
      value - the item to add to createdComments
    • addToCreatedComments

      public void addToCreatedComments(User item, AbstractComment value)
      Generated method - Adds value to createdComments.
      Parameters:
      value - the item to add to createdComments
    • removeFromCreatedComments

      public void removeFromCreatedComments(SessionContext ctx, User item, AbstractComment value)
      Generated method - Removes value from createdComments.
      Parameters:
      value - the item to remove from createdComments
    • removeFromCreatedComments

      public void removeFromCreatedComments(User item, AbstractComment value)
      Generated method - Removes value from createdComments.
      Parameters:
      value - the item to remove from createdComments
    • createDomain

      public Domain createDomain(SessionContext ctx, Map attributeValues)
    • createDomain

      public Domain createDomain(Map attributeValues)
    • createReply

      public Reply createReply(SessionContext ctx, Map attributeValues)
    • createReply

      public Reply createReply(Map attributeValues)
    • getName

      public String getName()
      Specified by:
      getName in class Extension
    • getProfilePicture

      public Media getProfilePicture(SessionContext ctx, Principal item)
      Generated method - Getter of the Principal.profilePicture attribute.
      Returns:
      the profilePicture
    • getProfilePicture

      public Media getProfilePicture(Principal item)
      Generated method - Getter of the Principal.profilePicture attribute.
      Returns:
      the profilePicture
    • setProfilePicture

      public void setProfilePicture(SessionContext ctx, Principal item, Media value)
      Generated method - Setter of the Principal.profilePicture attribute.
      Parameters:
      value - the profilePicture
    • setProfilePicture

      public void setProfilePicture(Principal item, Media value)
      Generated method - Setter of the Principal.profilePicture attribute.
      Parameters:
      value - the profilePicture
    • getWatchedComments

      public List<Comment> getWatchedComments(SessionContext ctx, Principal item)
      Generated method - Getter of the Principal.watchedComments attribute.
      Returns:
      the watchedComments
    • getWatchedComments

      public List<Comment> getWatchedComments(Principal item)
      Generated method - Getter of the Principal.watchedComments attribute.
      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, List<Comment> value)
      Generated method - Setter of the Principal.watchedComments attribute.
      Parameters:
      value - the watchedComments
    • setWatchedComments

      public void setWatchedComments(Principal item, List<Comment> value)
      Generated method - Setter of the Principal.watchedComments attribute.
      Parameters:
      value - the watchedComments
    • addToWatchedComments

      public void addToWatchedComments(SessionContext ctx, Principal item, Comment value)
      Generated method - Adds value to watchedComments.
      Parameters:
      value - the item to add to watchedComments
    • addToWatchedComments

      public void addToWatchedComments(Principal item, Comment value)
      Generated method - Adds value to watchedComments.
      Parameters:
      value - the item to add to watchedComments
    • removeFromWatchedComments

      public void removeFromWatchedComments(SessionContext ctx, Principal item, Comment value)
      Generated method - Removes value from watchedComments.
      Parameters:
      value - the item to remove from watchedComments
    • removeFromWatchedComments

      public void removeFromWatchedComments(Principal item, Comment value)
      Generated method - Removes value from watchedComments.
      Parameters:
      value - the item to remove from watchedComments