Class GeneratedCommentsManager

    • 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
        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 java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedCommentsManager

        public GeneratedCommentsManager()
    • Method Detail

      • getAssignedComments

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

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

        public void setAssignedComments​(User item,
                                        java.util.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 java.util.List<Comment> getComments​(SessionContext ctx,
                                                   Item item)
        Generated method - Getter of the Item.comments attribute.
        Returns:
        the comments
      • getComments

        public java.util.List<Comment> getComments​(Item item)
        Generated method - Getter of the Item.comments attribute.
        Returns:
        the comments
      • getCommentsCount

        public long getCommentsCount​(Item item)
      • setComments

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

        public void setComments​(Item item,
                                java.util.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​(java.util.Map attributeValues)
      • createCommentAttachment

        public CommentAttachment createCommentAttachment​(java.util.Map attributeValues)
      • createCommentType

        public CommentType createCommentType​(java.util.Map attributeValues)
      • createCommentUserSetting

        public CommentUserSetting createCommentUserSetting​(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 the User.createdComments attribute.
        Returns:
        the createdComments
      • getCreatedComments

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

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

        public void setCreatedComments​(User item,
                                       java.util.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​(java.util.Map attributeValues)
      • createReply

        public Reply createReply​(SessionContext ctx,
                                 java.util.Map attributeValues)
      • createReply

        public Reply createReply​(java.util.Map attributeValues)
      • getName

        public java.lang.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 java.util.List<Comment> getWatchedComments​(SessionContext ctx,
                                                          Principal item)
        Generated method - Getter of the Principal.watchedComments attribute.
        Returns:
        the watchedComments
      • getWatchedComments

        public java.util.List<Comment> getWatchedComments​(Principal item)
        Generated method - Getter of the Principal.watchedComments attribute.
        Returns:
        the watchedComments
      • getWatchedCommentsCount

        public long getWatchedCommentsCount​(Principal item)
      • setWatchedComments

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

        public void setWatchedComments​(Principal item,
                                       java.util.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