public abstract class GeneratedCommentsManager extends Extension
CommentsManager.Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
protected static OneToManyHandler<AbstractComment> |
ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER
OneToManyHandler for handling 1:n CREATEDCOMMENTS's relation attributes from 'many' side. |
protected static java.lang.String |
COMMENTASSIGNEERELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentAssigneeRelation from ((comments))
|
protected static java.lang.String |
COMMENTASSIGNEERELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentAssigneeRelation from ((comments))
|
protected static java.lang.String |
COMMENTASSIGNEERELATION_TGT_ORDERED |
protected static java.lang.String |
COMMENTITEMRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentItemRelation from ((comments))
|
protected static java.lang.String |
COMMENTITEMRELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentItemRelation from ((comments))
|
protected static java.lang.String |
COMMENTITEMRELATION_TGT_ORDERED |
protected static OneToManyHandler<CommentUserSetting> |
COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER
OneToManyHandler for handling 1:n COMMENTUSERSETTINGS's relation attributes from 'many' side. |
protected static java.lang.String |
COMMENTWATCHERRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CommentWatcherRelation from ((comments))
|
protected static java.lang.String |
COMMENTWATCHERRELATION_SRC_ORDERED
Relation ordering override parameter constants for CommentWatcherRelation from ((comments))
|
protected static java.lang.String |
COMMENTWATCHERRELATION_TGT_ORDERED |
protected static java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>> |
DEFAULT_INITIAL_ATTRIBUTES |
| Constructor and Description |
|---|
GeneratedCommentsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAssignedComments(SessionContext ctx,
User item,
Comment value)
Generated method - Adds
value to assignedComments. |
void |
addToAssignedComments(User item,
Comment value)
Generated method - Adds
value to assignedComments. |
void |
addToComments(Item item,
Comment value)
Generated method - Adds
value to comments. |
void |
addToComments(SessionContext ctx,
Item item,
Comment value)
Generated method - Adds
value to comments. |
void |
addToCreatedComments(SessionContext ctx,
User item,
AbstractComment value)
Generated method - Adds
value to createdComments. |
void |
addToCreatedComments(User item,
AbstractComment value)
Generated method - Adds
value to createdComments. |
void |
addToWatchedComments(Principal item,
Comment value)
Generated method - Adds
value to watchedComments. |
void |
addToWatchedComments(SessionContext ctx,
Principal item,
Comment value)
Generated method - Adds
value to watchedComments. |
Comment |
createComment(java.util.Map attributeValues) |
Comment |
createComment(SessionContext ctx,
java.util.Map attributeValues) |
CommentAttachment |
createCommentAttachment(java.util.Map attributeValues) |
CommentAttachment |
createCommentAttachment(SessionContext ctx,
java.util.Map attributeValues) |
CommentType |
createCommentType(java.util.Map attributeValues) |
CommentType |
createCommentType(SessionContext ctx,
java.util.Map attributeValues) |
CommentUserSetting |
createCommentUserSetting(java.util.Map attributeValues) |
CommentUserSetting |
createCommentUserSetting(SessionContext ctx,
java.util.Map attributeValues) |
Component |
createComponent(java.util.Map attributeValues) |
Component |
createComponent(SessionContext ctx,
java.util.Map attributeValues) |
Domain |
createDomain(java.util.Map attributeValues) |
Domain |
createDomain(SessionContext ctx,
java.util.Map attributeValues) |
Reply |
createReply(java.util.Map attributeValues) |
Reply |
createReply(SessionContext ctx,
java.util.Map attributeValues) |
java.util.List<Comment> |
getAssignedComments(SessionContext ctx,
User item)
Generated method - Getter of the
User.assignedComments attribute. |
java.util.List<Comment> |
getAssignedComments(User item)
Generated method - Getter of the
User.assignedComments attribute. |
long |
getAssignedCommentsCount(SessionContext ctx,
User item) |
long |
getAssignedCommentsCount(User item) |
java.util.List<Comment> |
getComments(Item item)
Generated method - Getter of the
Item.comments attribute. |
java.util.List<Comment> |
getComments(SessionContext ctx,
Item item)
Generated method - Getter of the
Item.comments attribute. |
long |
getCommentsCount(Item item) |
long |
getCommentsCount(SessionContext ctx,
Item item) |
java.util.List<AbstractComment> |
getCreatedComments(SessionContext ctx,
User item)
Generated method - Getter of the
User.createdComments attribute. |
java.util.List<AbstractComment> |
getCreatedComments(User item)
Generated method - Getter of the
User.createdComments attribute. |
java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass) |
java.lang.String |
getName() |
Media |
getProfilePicture(Principal item)
Generated method - Getter of the
Principal.profilePicture attribute. |
Media |
getProfilePicture(SessionContext ctx,
Principal item)
Generated method - Getter of the
Principal.profilePicture attribute. |
java.util.List<Comment> |
getWatchedComments(Principal item)
Generated method - Getter of the
Principal.watchedComments attribute. |
java.util.List<Comment> |
getWatchedComments(SessionContext ctx,
Principal item)
Generated method - Getter of the
Principal.watchedComments attribute. |
long |
getWatchedCommentsCount(Principal item) |
long |
getWatchedCommentsCount(SessionContext ctx,
Principal item) |
void |
removeFromAssignedComments(SessionContext ctx,
User item,
Comment value)
Generated method - Removes
value from assignedComments. |
void |
removeFromAssignedComments(User item,
Comment value)
Generated method - Removes
value from assignedComments. |
void |
removeFromComments(Item item,
Comment value)
Generated method - Removes
value from comments. |
void |
removeFromComments(SessionContext ctx,
Item item,
Comment value)
Generated method - Removes
value from comments. |
void |
removeFromCreatedComments(SessionContext ctx,
User item,
AbstractComment value)
Generated method - Removes
value from createdComments. |
void |
removeFromCreatedComments(User item,
AbstractComment value)
Generated method - Removes
value from createdComments. |
void |
removeFromWatchedComments(Principal item,
Comment value)
Generated method - Removes
value from watchedComments. |
void |
removeFromWatchedComments(SessionContext ctx,
Principal item,
Comment value)
Generated method - Removes
value from watchedComments. |
void |
setAssignedComments(SessionContext ctx,
User item,
java.util.List<Comment> value)
Generated method - Setter of the
User.assignedComments attribute. |
void |
setAssignedComments(User item,
java.util.List<Comment> value)
Generated method - Setter of the
User.assignedComments attribute. |
void |
setComments(Item item,
java.util.List<Comment> value)
Generated method - Setter of the
Item.comments attribute. |
void |
setComments(SessionContext ctx,
Item item,
java.util.List<Comment> value)
Generated method - Setter of the
Item.comments attribute. |
void |
setCreatedComments(SessionContext ctx,
User item,
java.util.List<AbstractComment> value)
Generated method - Setter of the
User.createdComments attribute. |
void |
setCreatedComments(User item,
java.util.List<AbstractComment> value)
Generated method - Setter of the
User.createdComments attribute. |
void |
setProfilePicture(Principal item,
Media value)
Generated method - Setter of the
Principal.profilePicture attribute. |
void |
setProfilePicture(SessionContext ctx,
Principal item,
Media value)
Generated method - Setter of the
Principal.profilePicture attribute. |
void |
setWatchedComments(Principal item,
java.util.List<Comment> value)
Generated method - Setter of the
Principal.watchedComments attribute. |
void |
setWatchedComments(SessionContext ctx,
Principal item,
java.util.List<Comment> value)
Generated method - Setter of the
Principal.watchedComments attribute. |
checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrapprotected static java.lang.String COMMENTWATCHERRELATION_SRC_ORDERED
protected static java.lang.String COMMENTWATCHERRELATION_TGT_ORDERED
protected static java.lang.String COMMENTWATCHERRELATION_MARKMODIFIED
protected static java.lang.String COMMENTITEMRELATION_SRC_ORDERED
protected static java.lang.String COMMENTITEMRELATION_TGT_ORDERED
protected static java.lang.String COMMENTITEMRELATION_MARKMODIFIED
protected static java.lang.String COMMENTASSIGNEERELATION_SRC_ORDERED
protected static java.lang.String COMMENTASSIGNEERELATION_TGT_ORDERED
protected static java.lang.String COMMENTASSIGNEERELATION_MARKMODIFIED
protected static final OneToManyHandler<AbstractComment> ABSTRACTCOMMENTAUTHORRELATIONCREATEDCOMMENTSHANDLER
OneToManyHandler for handling 1:n CREATEDCOMMENTS's relation attributes from 'many' side.protected static final OneToManyHandler<CommentUserSetting> COMMENTUSERSETTINGUSERRELATIONCOMMENTUSERSETTINGSHANDLER
OneToManyHandler for handling 1:n COMMENTUSERSETTINGS's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
public java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass)
getDefaultAttributeModes in class Extensionpublic java.util.List<Comment> getAssignedComments(SessionContext ctx, User item)
User.assignedComments attribute.public java.util.List<Comment> getAssignedComments(User item)
User.assignedComments attribute.public long getAssignedCommentsCount(SessionContext ctx, User item)
public long getAssignedCommentsCount(User item)
public void setAssignedComments(SessionContext ctx, User item, java.util.List<Comment> value)
User.assignedComments attribute.value - the assignedCommentspublic void setAssignedComments(User item, java.util.List<Comment> value)
User.assignedComments attribute.value - the assignedCommentspublic void addToAssignedComments(SessionContext ctx, User item, Comment value)
value to assignedComments.value - the item to add to assignedCommentspublic void addToAssignedComments(User item, Comment value)
value to assignedComments.value - the item to add to assignedCommentspublic void removeFromAssignedComments(SessionContext ctx, User item, Comment value)
value from assignedComments.value - the item to remove from assignedCommentspublic void removeFromAssignedComments(User item, Comment value)
value from assignedComments.value - the item to remove from assignedCommentspublic java.util.List<Comment> getComments(SessionContext ctx, Item item)
Item.comments attribute.public java.util.List<Comment> getComments(Item item)
Item.comments attribute.public long getCommentsCount(SessionContext ctx, Item item)
public long getCommentsCount(Item item)
public void setComments(SessionContext ctx, Item item, java.util.List<Comment> value)
Item.comments attribute.value - the commentspublic void setComments(Item item, java.util.List<Comment> value)
Item.comments attribute.value - the commentspublic void addToComments(SessionContext ctx, Item item, Comment value)
value to comments.value - the item to add to commentspublic void addToComments(Item item, Comment value)
value to comments.value - the item to add to commentspublic void removeFromComments(SessionContext ctx, Item item, Comment value)
value from comments.value - the item to remove from commentspublic void removeFromComments(Item item, Comment value)
value from comments.value - the item to remove from commentspublic Comment createComment(SessionContext ctx, java.util.Map attributeValues)
public Comment createComment(java.util.Map attributeValues)
public CommentAttachment createCommentAttachment(SessionContext ctx, java.util.Map attributeValues)
public CommentAttachment createCommentAttachment(java.util.Map attributeValues)
public CommentType createCommentType(SessionContext ctx, java.util.Map attributeValues)
public CommentType createCommentType(java.util.Map attributeValues)
public CommentUserSetting createCommentUserSetting(SessionContext ctx, java.util.Map attributeValues)
public CommentUserSetting createCommentUserSetting(java.util.Map attributeValues)
public Component createComponent(SessionContext ctx, java.util.Map attributeValues)
public Component createComponent(java.util.Map attributeValues)
public java.util.List<AbstractComment> getCreatedComments(SessionContext ctx, User item)
User.createdComments attribute.public java.util.List<AbstractComment> getCreatedComments(User item)
User.createdComments attribute.public void setCreatedComments(SessionContext ctx, User item, java.util.List<AbstractComment> value)
User.createdComments attribute.value - the createdCommentspublic void setCreatedComments(User item, java.util.List<AbstractComment> value)
User.createdComments attribute.value - the createdCommentspublic void addToCreatedComments(SessionContext ctx, User item, AbstractComment value)
value to createdComments.value - the item to add to createdCommentspublic void addToCreatedComments(User item, AbstractComment value)
value to createdComments.value - the item to add to createdCommentspublic void removeFromCreatedComments(SessionContext ctx, User item, AbstractComment value)
value from createdComments.value - the item to remove from createdCommentspublic void removeFromCreatedComments(User item, AbstractComment value)
value from createdComments.value - the item to remove from createdCommentspublic Domain createDomain(SessionContext ctx, java.util.Map attributeValues)
public Domain createDomain(java.util.Map attributeValues)
public Reply createReply(SessionContext ctx, java.util.Map attributeValues)
public Reply createReply(java.util.Map attributeValues)
public Media getProfilePicture(SessionContext ctx, Principal item)
Principal.profilePicture attribute.public Media getProfilePicture(Principal item)
Principal.profilePicture attribute.public void setProfilePicture(SessionContext ctx, Principal item, Media value)
Principal.profilePicture attribute.value - the profilePicturepublic void setProfilePicture(Principal item, Media value)
Principal.profilePicture attribute.value - the profilePicturepublic java.util.List<Comment> getWatchedComments(SessionContext ctx, Principal item)
Principal.watchedComments attribute.public java.util.List<Comment> getWatchedComments(Principal item)
Principal.watchedComments attribute.public long getWatchedCommentsCount(SessionContext ctx, Principal item)
public long getWatchedCommentsCount(Principal item)
public void setWatchedComments(SessionContext ctx, Principal item, java.util.List<Comment> value)
Principal.watchedComments attribute.value - the watchedCommentspublic void setWatchedComments(Principal item, java.util.List<Comment> value)
Principal.watchedComments attribute.value - the watchedCommentspublic void addToWatchedComments(SessionContext ctx, Principal item, Comment value)
value to watchedComments.value - the item to add to watchedCommentspublic void addToWatchedComments(Principal item, Comment value)
value to watchedComments.value - the item to add to watchedCommentspublic void removeFromWatchedComments(SessionContext ctx, Principal item, Comment value)
value from watchedComments.value - the item to remove from watchedCommentsCopyright © 2018 SAP SE. All Rights Reserved.