Package de.hybris.platform.comments.jalo
Class GeneratedComment
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
Comment
public abstract class GeneratedComment extends AbstractComment
Generated class for typeComment.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringASSIGNEDTOQualifier of theComment.assignedToattributestatic java.lang.StringCODEQualifier of theComment.codeattributeprotected 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_ORDEREDstatic java.lang.StringCOMMENTTYPEQualifier of theComment.commentTypeattributeprotected static BidirectionalOneToManyHandler<GeneratedComment>COMMENTTYPEHANDLERBidirectionalOneToManyHandlerfor handling 1:n COMMENTTYPE's relation attributes from 'one' 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_ORDEREDstatic java.lang.StringCOMPONENTQualifier of theComment.componentattributeprotected static BidirectionalOneToManyHandler<GeneratedComment>COMPONENTHANDLERBidirectionalOneToManyHandlerfor handling 1:n COMPONENT's relation attributes from 'one' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringPRIORITYQualifier of theComment.priorityattributestatic java.lang.StringRELATEDITEMSQualifier of theComment.relatedItemsattributestatic java.lang.StringREPLIESQualifier of theComment.repliesattributeprotected static OneToManyHandler<Reply>REPLIESHANDLEROneToManyHandlerfor handling 1:n REPLIES's relation attributes from 'many' side.static java.lang.StringWATCHERSQualifier of theComment.watchersattribute-
Fields inherited from class de.hybris.platform.comments.jalo.GeneratedAbstractComment
ATTACHMENTS, ATTACHMENTSHANDLER, AUTHOR, AUTHORHANDLER, COMMENTUSERSETTINGS, COMMENTUSERSETTINGSHANDLER, SUBJECT, TEXT
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedComment()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddToAssignedTo(SessionContext ctx, User value)Generated method - Addsvalueto assignedTo.voidaddToAssignedTo(User value)Generated method - Addsvalueto assignedTo.voidaddToReplies(Reply value)Generated method - Addsvalueto replies.voidaddToReplies(SessionContext ctx, Reply value)Generated method - Addsvalueto replies.voidaddToWatchers(Principal value)Generated method - Addsvalueto watchers.voidaddToWatchers(SessionContext ctx, Principal value)Generated method - Addsvalueto watchers.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.util.Collection<User>getAssignedTo()Generated method - Getter of theComment.assignedToattribute.java.util.Collection<User>getAssignedTo(SessionContext ctx)Generated method - Getter of theComment.assignedToattribute.longgetAssignedToCount()longgetAssignedToCount(SessionContext ctx)java.lang.StringgetCode()Generated method - Getter of theComment.codeattribute.java.lang.StringgetCode(SessionContext ctx)Generated method - Getter of theComment.codeattribute.CommentTypegetCommentType()Generated method - Getter of theComment.commentTypeattribute.CommentTypegetCommentType(SessionContext ctx)Generated method - Getter of theComment.commentTypeattribute.ComponentgetComponent()Generated method - Getter of theComment.componentattribute.ComponentgetComponent(SessionContext ctx)Generated method - Getter of theComment.componentattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.IntegergetPriority()Generated method - Getter of theComment.priorityattribute.java.lang.IntegergetPriority(SessionContext ctx)Generated method - Getter of theComment.priorityattribute.intgetPriorityAsPrimitive()Generated method - Getter of theComment.priorityattribute.intgetPriorityAsPrimitive(SessionContext ctx)Generated method - Getter of theComment.priorityattribute.java.util.Collection<Item>getRelatedItems()Generated method - Getter of theComment.relatedItemsattribute.abstract java.util.Collection<Item>getRelatedItems(SessionContext ctx)Generated method - Getter of theComment.relatedItemsattribute.java.util.List<Reply>getReplies()Generated method - Getter of theComment.repliesattribute.java.util.List<Reply>getReplies(SessionContext ctx)Generated method - Getter of theComment.repliesattribute.java.util.Collection<Principal>getWatchers()Generated method - Getter of theComment.watchersattribute.java.util.Collection<Principal>getWatchers(SessionContext ctx)Generated method - Getter of theComment.watchersattribute.longgetWatchersCount()longgetWatchersCount(SessionContext ctx)booleanisMarkModifiedDisabled(Item referencedItem)voidremoveFromAssignedTo(SessionContext ctx, User value)Generated method - Removesvaluefrom assignedTo.voidremoveFromAssignedTo(User value)Generated method - Removesvaluefrom assignedTo.voidremoveFromReplies(Reply value)Generated method - Removesvaluefrom replies.voidremoveFromReplies(SessionContext ctx, Reply value)Generated method - Removesvaluefrom replies.voidremoveFromWatchers(Principal value)Generated method - Removesvaluefrom watchers.voidremoveFromWatchers(SessionContext ctx, Principal value)Generated method - Removesvaluefrom watchers.voidsetAssignedTo(SessionContext ctx, java.util.Collection<User> value)Generated method - Setter of theComment.assignedToattribute.voidsetAssignedTo(java.util.Collection<User> value)Generated method - Setter of theComment.assignedToattribute.voidsetCode(SessionContext ctx, java.lang.String value)Generated method - Setter of theComment.codeattribute.voidsetCode(java.lang.String value)Generated method - Setter of theComment.codeattribute.protected voidsetCommentType(CommentType value)Generated method - Setter of theComment.commentTypeattribute.protected voidsetCommentType(SessionContext ctx, CommentType value)Generated method - Setter of theComment.commentTypeattribute.protected voidsetComponent(Component value)Generated method - Setter of theComment.componentattribute.protected voidsetComponent(SessionContext ctx, Component value)Generated method - Setter of theComment.componentattribute.voidsetPriority(int value)Generated method - Setter of theComment.priorityattribute.voidsetPriority(SessionContext ctx, int value)Generated method - Setter of theComment.priorityattribute.voidsetPriority(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theComment.priorityattribute.voidsetPriority(java.lang.Integer value)Generated method - Setter of theComment.priorityattribute.abstract voidsetRelatedItems(SessionContext ctx, java.util.Collection<Item> value)Generated method - Setter of theComment.relatedItemsattribute.voidsetRelatedItems(java.util.Collection<Item> value)Generated method - Setter of theComment.relatedItemsattribute.voidsetReplies(SessionContext ctx, java.util.List<Reply> value)Generated method - Setter of theComment.repliesattribute.voidsetReplies(java.util.List<Reply> value)Generated method - Setter of theComment.repliesattribute.voidsetWatchers(SessionContext ctx, java.util.Collection<Principal> value)Generated method - Setter of theComment.watchersattribute.voidsetWatchers(java.util.Collection<Principal> value)Generated method - Setter of theComment.watchersattribute.-
Methods inherited from class de.hybris.platform.comments.jalo.GeneratedAbstractComment
addToAttachments, addToAttachments, getAttachments, getAttachments, getAuthor, getAuthor, getSubject, getSubject, getText, getText, removeFromAttachments, removeFromAttachments, setAttachments, setAttachments, setAuthor, setAuthor, setSubject, setSubject, setText, setText
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
CODE
public static final java.lang.String CODE
Qualifier of theComment.codeattribute- See Also:
- Constant Field Values
-
PRIORITY
public static final java.lang.String PRIORITY
Qualifier of theComment.priorityattribute- See Also:
- Constant Field Values
-
RELATEDITEMS
public static final java.lang.String RELATEDITEMS
Qualifier of theComment.relatedItemsattribute- See Also:
- Constant Field Values
-
REPLIES
public static final java.lang.String REPLIES
Qualifier of theComment.repliesattribute- See Also:
- Constant Field Values
-
ASSIGNEDTO
public static final java.lang.String ASSIGNEDTO
Qualifier of theComment.assignedToattribute- See Also:
- Constant Field Values
-
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))
-
WATCHERS
public static final java.lang.String WATCHERS
Qualifier of theComment.watchersattribute- See Also:
- Constant Field Values
-
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))
-
COMPONENT
public static final java.lang.String COMPONENT
Qualifier of theComment.componentattribute- See Also:
- Constant Field Values
-
COMMENTTYPE
public static final java.lang.String COMMENTTYPE
Qualifier of theComment.commentTypeattribute- See Also:
- Constant Field Values
-
REPLIESHANDLER
protected static final OneToManyHandler<Reply> REPLIESHANDLER
OneToManyHandlerfor handling 1:n REPLIES's relation attributes from 'many' side.
-
COMPONENTHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedComment> COMPONENTHANDLER
BidirectionalOneToManyHandlerfor handling 1:n COMPONENT's relation attributes from 'one' side.
-
COMMENTTYPEHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedComment> COMMENTTYPEHANDLER
BidirectionalOneToManyHandlerfor handling 1:n COMMENTTYPE's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classGeneratedAbstractComment
-
getAssignedTo
public java.util.Collection<User> getAssignedTo(SessionContext ctx)
Generated method - Getter of theComment.assignedToattribute.- Returns:
- the assignedTo
-
getAssignedTo
public java.util.Collection<User> getAssignedTo()
Generated method - Getter of theComment.assignedToattribute.- Returns:
- the assignedTo
-
getAssignedToCount
public long getAssignedToCount(SessionContext ctx)
-
getAssignedToCount
public long getAssignedToCount()
-
setAssignedTo
public void setAssignedTo(SessionContext ctx, java.util.Collection<User> value)
Generated method - Setter of theComment.assignedToattribute.- Parameters:
value- the assignedTo
-
setAssignedTo
public void setAssignedTo(java.util.Collection<User> value)
Generated method - Setter of theComment.assignedToattribute.- Parameters:
value- the assignedTo
-
addToAssignedTo
public void addToAssignedTo(SessionContext ctx, User value)
Generated method - Addsvalueto assignedTo.- Parameters:
value- the item to add to assignedTo
-
addToAssignedTo
public void addToAssignedTo(User value)
Generated method - Addsvalueto assignedTo.- Parameters:
value- the item to add to assignedTo
-
removeFromAssignedTo
public void removeFromAssignedTo(SessionContext ctx, User value)
Generated method - Removesvaluefrom assignedTo.- Parameters:
value- the item to remove from assignedTo
-
removeFromAssignedTo
public void removeFromAssignedTo(User value)
Generated method - Removesvaluefrom assignedTo.- Parameters:
value- the item to remove from assignedTo
-
getCode
public java.lang.String getCode(SessionContext ctx)
Generated method - Getter of theComment.codeattribute.- Returns:
- the code - unique identifier of the comment; will be generated if not set
-
getCode
public java.lang.String getCode()
Generated method - Getter of theComment.codeattribute.- Returns:
- the code - unique identifier of the comment; will be generated if not set
-
setCode
public void setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theComment.codeattribute.- Parameters:
value- the code - unique identifier of the comment; will be generated if not set
-
setCode
public void setCode(java.lang.String value)
Generated method - Setter of theComment.codeattribute.- Parameters:
value- the code - unique identifier of the comment; will be generated if not set
-
getCommentType
public CommentType getCommentType(SessionContext ctx)
Generated method - Getter of theComment.commentTypeattribute.- Returns:
- the commentType
-
getCommentType
public CommentType getCommentType()
Generated method - Getter of theComment.commentTypeattribute.- Returns:
- the commentType
-
setCommentType
protected void setCommentType(SessionContext ctx, CommentType value)
Generated method - Setter of theComment.commentTypeattribute.- Parameters:
value- the commentType
-
setCommentType
protected void setCommentType(CommentType value)
Generated method - Setter of theComment.commentTypeattribute.- Parameters:
value- the commentType
-
getComponent
public Component getComponent(SessionContext ctx)
Generated method - Getter of theComment.componentattribute.- Returns:
- the component
-
getComponent
public Component getComponent()
Generated method - Getter of theComment.componentattribute.- Returns:
- the component
-
setComponent
protected void setComponent(SessionContext ctx, Component value)
Generated method - Setter of theComment.componentattribute.- Parameters:
value- the component
-
setComponent
protected void setComponent(Component value)
Generated method - Setter of theComment.componentattribute.- Parameters:
value- the component
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classGeneratedAbstractComment- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classItem
-
getPriority
public java.lang.Integer getPriority(SessionContext ctx)
Generated method - Getter of theComment.priorityattribute.- Returns:
- the priority - Priority of a comment
-
getPriority
public java.lang.Integer getPriority()
Generated method - Getter of theComment.priorityattribute.- Returns:
- the priority - Priority of a comment
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of theComment.priorityattribute.- Returns:
- the priority - Priority of a comment
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive()
Generated method - Getter of theComment.priorityattribute.- Returns:
- the priority - Priority of a comment
-
setPriority
public void setPriority(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theComment.priorityattribute.- Parameters:
value- the priority - Priority of a comment
-
setPriority
public void setPriority(java.lang.Integer value)
Generated method - Setter of theComment.priorityattribute.- Parameters:
value- the priority - Priority of a comment
-
setPriority
public void setPriority(SessionContext ctx, int value)
Generated method - Setter of theComment.priorityattribute.- Parameters:
value- the priority - Priority of a comment
-
setPriority
public void setPriority(int value)
Generated method - Setter of theComment.priorityattribute.- Parameters:
value- the priority - Priority of a comment
-
getRelatedItems
public abstract java.util.Collection<Item> getRelatedItems(SessionContext ctx)
Generated method - Getter of theComment.relatedItemsattribute.- Returns:
- the relatedItems - Related items of this comment
-
getRelatedItems
public java.util.Collection<Item> getRelatedItems()
Generated method - Getter of theComment.relatedItemsattribute.- Returns:
- the relatedItems - Related items of this comment
-
setRelatedItems
public abstract void setRelatedItems(SessionContext ctx, java.util.Collection<Item> value)
Generated method - Setter of theComment.relatedItemsattribute.- Parameters:
value- the relatedItems - Related items of this comment
-
setRelatedItems
public void setRelatedItems(java.util.Collection<Item> value)
Generated method - Setter of theComment.relatedItemsattribute.- Parameters:
value- the relatedItems - Related items of this comment
-
getReplies
public java.util.List<Reply> getReplies(SessionContext ctx)
Generated method - Getter of theComment.repliesattribute.- Returns:
- the replies
-
getReplies
public java.util.List<Reply> getReplies()
Generated method - Getter of theComment.repliesattribute.- Returns:
- the replies
-
setReplies
public void setReplies(SessionContext ctx, java.util.List<Reply> value)
Generated method - Setter of theComment.repliesattribute.- Parameters:
value- the replies
-
setReplies
public void setReplies(java.util.List<Reply> value)
Generated method - Setter of theComment.repliesattribute.- Parameters:
value- the replies
-
addToReplies
public void addToReplies(SessionContext ctx, Reply value)
Generated method - Addsvalueto replies.- Parameters:
value- the item to add to replies
-
addToReplies
public void addToReplies(Reply value)
Generated method - Addsvalueto replies.- Parameters:
value- the item to add to replies
-
removeFromReplies
public void removeFromReplies(SessionContext ctx, Reply value)
Generated method - Removesvaluefrom replies.- Parameters:
value- the item to remove from replies
-
removeFromReplies
public void removeFromReplies(Reply value)
Generated method - Removesvaluefrom replies.- Parameters:
value- the item to remove from replies
-
getWatchers
public java.util.Collection<Principal> getWatchers(SessionContext ctx)
Generated method - Getter of theComment.watchersattribute.- Returns:
- the watchers
-
getWatchers
public java.util.Collection<Principal> getWatchers()
Generated method - Getter of theComment.watchersattribute.- Returns:
- the watchers
-
getWatchersCount
public long getWatchersCount(SessionContext ctx)
-
getWatchersCount
public long getWatchersCount()
-
setWatchers
public void setWatchers(SessionContext ctx, java.util.Collection<Principal> value)
Generated method - Setter of theComment.watchersattribute.- Parameters:
value- the watchers
-
setWatchers
public void setWatchers(java.util.Collection<Principal> value)
Generated method - Setter of theComment.watchersattribute.- Parameters:
value- the watchers
-
addToWatchers
public void addToWatchers(SessionContext ctx, Principal value)
Generated method - Addsvalueto watchers.- Parameters:
value- the item to add to watchers
-
addToWatchers
public void addToWatchers(Principal value)
Generated method - Addsvalueto watchers.- Parameters:
value- the item to add to watchers
-
removeFromWatchers
public void removeFromWatchers(SessionContext ctx, Principal value)
Generated method - Removesvaluefrom watchers.- Parameters:
value- the item to remove from watchers
-
removeFromWatchers
public void removeFromWatchers(Principal value)
Generated method - Removesvaluefrom watchers.- Parameters:
value- the item to remove from watchers
-
-