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.String
ASSIGNEDTO
Qualifier of theComment.assignedTo
attributestatic java.lang.String
CODE
Qualifier of theComment.code
attributeprotected 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
static java.lang.String
COMMENTTYPE
Qualifier of theComment.commentType
attributeprotected static BidirectionalOneToManyHandler<GeneratedComment>
COMMENTTYPEHANDLER
BidirectionalOneToManyHandler
for handling 1:n COMMENTTYPE's relation attributes from 'one' 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
static java.lang.String
COMPONENT
Qualifier of theComment.component
attributeprotected static BidirectionalOneToManyHandler<GeneratedComment>
COMPONENTHANDLER
BidirectionalOneToManyHandler
for handling 1:n COMPONENT's relation attributes from 'one' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
PRIORITY
Qualifier of theComment.priority
attributestatic java.lang.String
RELATEDITEMS
Qualifier of theComment.relatedItems
attributestatic java.lang.String
REPLIES
Qualifier of theComment.replies
attributeprotected static OneToManyHandler<Reply>
REPLIESHANDLER
OneToManyHandler
for handling 1:n REPLIES's relation attributes from 'many' side.static java.lang.String
WATCHERS
Qualifier of theComment.watchers
attribute-
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 void
addToAssignedTo(SessionContext ctx, User value)
Generated method - Addsvalue
to assignedTo.void
addToAssignedTo(User value)
Generated method - Addsvalue
to assignedTo.void
addToReplies(Reply value)
Generated method - Addsvalue
to replies.void
addToReplies(SessionContext ctx, Reply value)
Generated method - Addsvalue
to replies.void
addToWatchers(Principal value)
Generated method - Addsvalue
to watchers.void
addToWatchers(SessionContext ctx, Principal value)
Generated method - Addsvalue
to watchers.protected Item
createItem(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.assignedTo
attribute.java.util.Collection<User>
getAssignedTo(SessionContext ctx)
Generated method - Getter of theComment.assignedTo
attribute.long
getAssignedToCount()
long
getAssignedToCount(SessionContext ctx)
java.lang.String
getCode()
Generated method - Getter of theComment.code
attribute.java.lang.String
getCode(SessionContext ctx)
Generated method - Getter of theComment.code
attribute.CommentType
getCommentType()
Generated method - Getter of theComment.commentType
attribute.CommentType
getCommentType(SessionContext ctx)
Generated method - Getter of theComment.commentType
attribute.Component
getComponent()
Generated method - Getter of theComment.component
attribute.Component
getComponent(SessionContext ctx)
Generated method - Getter of theComment.component
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.Integer
getPriority()
Generated method - Getter of theComment.priority
attribute.java.lang.Integer
getPriority(SessionContext ctx)
Generated method - Getter of theComment.priority
attribute.int
getPriorityAsPrimitive()
Generated method - Getter of theComment.priority
attribute.int
getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of theComment.priority
attribute.java.util.Collection<Item>
getRelatedItems()
Generated method - Getter of theComment.relatedItems
attribute.abstract java.util.Collection<Item>
getRelatedItems(SessionContext ctx)
Generated method - Getter of theComment.relatedItems
attribute.java.util.List<Reply>
getReplies()
Generated method - Getter of theComment.replies
attribute.java.util.List<Reply>
getReplies(SessionContext ctx)
Generated method - Getter of theComment.replies
attribute.java.util.Collection<Principal>
getWatchers()
Generated method - Getter of theComment.watchers
attribute.java.util.Collection<Principal>
getWatchers(SessionContext ctx)
Generated method - Getter of theComment.watchers
attribute.long
getWatchersCount()
long
getWatchersCount(SessionContext ctx)
boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromAssignedTo(SessionContext ctx, User value)
Generated method - Removesvalue
from assignedTo.void
removeFromAssignedTo(User value)
Generated method - Removesvalue
from assignedTo.void
removeFromReplies(Reply value)
Generated method - Removesvalue
from replies.void
removeFromReplies(SessionContext ctx, Reply value)
Generated method - Removesvalue
from replies.void
removeFromWatchers(Principal value)
Generated method - Removesvalue
from watchers.void
removeFromWatchers(SessionContext ctx, Principal value)
Generated method - Removesvalue
from watchers.void
setAssignedTo(SessionContext ctx, java.util.Collection<User> value)
Generated method - Setter of theComment.assignedTo
attribute.void
setAssignedTo(java.util.Collection<User> value)
Generated method - Setter of theComment.assignedTo
attribute.void
setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theComment.code
attribute.void
setCode(java.lang.String value)
Generated method - Setter of theComment.code
attribute.protected void
setCommentType(CommentType value)
Generated method - Setter of theComment.commentType
attribute.protected void
setCommentType(SessionContext ctx, CommentType value)
Generated method - Setter of theComment.commentType
attribute.protected void
setComponent(Component value)
Generated method - Setter of theComment.component
attribute.protected void
setComponent(SessionContext ctx, Component value)
Generated method - Setter of theComment.component
attribute.void
setPriority(int value)
Generated method - Setter of theComment.priority
attribute.void
setPriority(SessionContext ctx, int value)
Generated method - Setter of theComment.priority
attribute.void
setPriority(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theComment.priority
attribute.void
setPriority(java.lang.Integer value)
Generated method - Setter of theComment.priority
attribute.abstract void
setRelatedItems(SessionContext ctx, java.util.Collection<Item> value)
Generated method - Setter of theComment.relatedItems
attribute.void
setRelatedItems(java.util.Collection<Item> value)
Generated method - Setter of theComment.relatedItems
attribute.void
setReplies(SessionContext ctx, java.util.List<Reply> value)
Generated method - Setter of theComment.replies
attribute.void
setReplies(java.util.List<Reply> value)
Generated method - Setter of theComment.replies
attribute.void
setWatchers(SessionContext ctx, java.util.Collection<Principal> value)
Generated method - Setter of theComment.watchers
attribute.void
setWatchers(java.util.Collection<Principal> value)
Generated method - Setter of theComment.watchers
attribute.-
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.code
attribute- See Also:
- Constant Field Values
-
PRIORITY
public static final java.lang.String PRIORITY
Qualifier of theComment.priority
attribute- See Also:
- Constant Field Values
-
RELATEDITEMS
public static final java.lang.String RELATEDITEMS
Qualifier of theComment.relatedItems
attribute- See Also:
- Constant Field Values
-
REPLIES
public static final java.lang.String REPLIES
Qualifier of theComment.replies
attribute- See Also:
- Constant Field Values
-
ASSIGNEDTO
public static final java.lang.String ASSIGNEDTO
Qualifier of theComment.assignedTo
attribute- 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.watchers
attribute- 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.component
attribute- See Also:
- Constant Field Values
-
COMMENTTYPE
public static final java.lang.String COMMENTTYPE
Qualifier of theComment.commentType
attribute- See Also:
- Constant Field Values
-
REPLIESHANDLER
protected static final OneToManyHandler<Reply> REPLIESHANDLER
OneToManyHandler
for handling 1:n REPLIES's relation attributes from 'many' side.
-
COMPONENTHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedComment> COMPONENTHANDLER
BidirectionalOneToManyHandler
for handling 1:n COMPONENT's relation attributes from 'one' side.
-
COMMENTTYPEHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedComment> COMMENTTYPEHANDLER
BidirectionalOneToManyHandler
for 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:
getDefaultAttributeModes
in classGeneratedAbstractComment
-
getAssignedTo
public java.util.Collection<User> getAssignedTo(SessionContext ctx)
Generated method - Getter of theComment.assignedTo
attribute.- Returns:
- the assignedTo
-
getAssignedTo
public java.util.Collection<User> getAssignedTo()
Generated method - Getter of theComment.assignedTo
attribute.- 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.assignedTo
attribute.- Parameters:
value
- the assignedTo
-
setAssignedTo
public void setAssignedTo(java.util.Collection<User> value)
Generated method - Setter of theComment.assignedTo
attribute.- Parameters:
value
- the assignedTo
-
addToAssignedTo
public void addToAssignedTo(SessionContext ctx, User value)
Generated method - Addsvalue
to assignedTo.- Parameters:
value
- the item to add to assignedTo
-
addToAssignedTo
public void addToAssignedTo(User value)
Generated method - Addsvalue
to assignedTo.- Parameters:
value
- the item to add to assignedTo
-
removeFromAssignedTo
public void removeFromAssignedTo(SessionContext ctx, User value)
Generated method - Removesvalue
from assignedTo.- Parameters:
value
- the item to remove from assignedTo
-
removeFromAssignedTo
public void removeFromAssignedTo(User value)
Generated method - Removesvalue
from assignedTo.- Parameters:
value
- the item to remove from assignedTo
-
getCode
public java.lang.String getCode(SessionContext ctx)
Generated method - Getter of theComment.code
attribute.- 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.code
attribute.- 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.code
attribute.- 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.code
attribute.- 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.commentType
attribute.- Returns:
- the commentType
-
getCommentType
public CommentType getCommentType()
Generated method - Getter of theComment.commentType
attribute.- Returns:
- the commentType
-
setCommentType
protected void setCommentType(SessionContext ctx, CommentType value)
Generated method - Setter of theComment.commentType
attribute.- Parameters:
value
- the commentType
-
setCommentType
protected void setCommentType(CommentType value)
Generated method - Setter of theComment.commentType
attribute.- Parameters:
value
- the commentType
-
getComponent
public Component getComponent(SessionContext ctx)
Generated method - Getter of theComment.component
attribute.- Returns:
- the component
-
getComponent
public Component getComponent()
Generated method - Getter of theComment.component
attribute.- Returns:
- the component
-
setComponent
protected void setComponent(SessionContext ctx, Component value)
Generated method - Setter of theComment.component
attribute.- Parameters:
value
- the component
-
setComponent
protected void setComponent(Component value)
Generated method - Setter of theComment.component
attribute.- Parameters:
value
- the component
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has 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:
createItem
in 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:
isMarkModifiedDisabled
in classItem
-
getPriority
public java.lang.Integer getPriority(SessionContext ctx)
Generated method - Getter of theComment.priority
attribute.- Returns:
- the priority - Priority of a comment
-
getPriority
public java.lang.Integer getPriority()
Generated method - Getter of theComment.priority
attribute.- Returns:
- the priority - Priority of a comment
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of theComment.priority
attribute.- Returns:
- the priority - Priority of a comment
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive()
Generated method - Getter of theComment.priority
attribute.- Returns:
- the priority - Priority of a comment
-
setPriority
public void setPriority(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theComment.priority
attribute.- Parameters:
value
- the priority - Priority of a comment
-
setPriority
public void setPriority(java.lang.Integer value)
Generated method - Setter of theComment.priority
attribute.- Parameters:
value
- the priority - Priority of a comment
-
setPriority
public void setPriority(SessionContext ctx, int value)
Generated method - Setter of theComment.priority
attribute.- Parameters:
value
- the priority - Priority of a comment
-
setPriority
public void setPriority(int value)
Generated method - Setter of theComment.priority
attribute.- Parameters:
value
- the priority - Priority of a comment
-
getRelatedItems
public abstract java.util.Collection<Item> getRelatedItems(SessionContext ctx)
Generated method - Getter of theComment.relatedItems
attribute.- Returns:
- the relatedItems - Related items of this comment
-
getRelatedItems
public java.util.Collection<Item> getRelatedItems()
Generated method - Getter of theComment.relatedItems
attribute.- 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.relatedItems
attribute.- Parameters:
value
- the relatedItems - Related items of this comment
-
setRelatedItems
public void setRelatedItems(java.util.Collection<Item> value)
Generated method - Setter of theComment.relatedItems
attribute.- Parameters:
value
- the relatedItems - Related items of this comment
-
getReplies
public java.util.List<Reply> getReplies(SessionContext ctx)
Generated method - Getter of theComment.replies
attribute.- Returns:
- the replies
-
getReplies
public java.util.List<Reply> getReplies()
Generated method - Getter of theComment.replies
attribute.- Returns:
- the replies
-
setReplies
public void setReplies(SessionContext ctx, java.util.List<Reply> value)
Generated method - Setter of theComment.replies
attribute.- Parameters:
value
- the replies
-
setReplies
public void setReplies(java.util.List<Reply> value)
Generated method - Setter of theComment.replies
attribute.- Parameters:
value
- the replies
-
addToReplies
public void addToReplies(SessionContext ctx, Reply value)
Generated method - Addsvalue
to replies.- Parameters:
value
- the item to add to replies
-
addToReplies
public void addToReplies(Reply value)
Generated method - Addsvalue
to replies.- Parameters:
value
- the item to add to replies
-
removeFromReplies
public void removeFromReplies(SessionContext ctx, Reply value)
Generated method - Removesvalue
from replies.- Parameters:
value
- the item to remove from replies
-
removeFromReplies
public void removeFromReplies(Reply value)
Generated method - Removesvalue
from replies.- Parameters:
value
- the item to remove from replies
-
getWatchers
public java.util.Collection<Principal> getWatchers(SessionContext ctx)
Generated method - Getter of theComment.watchers
attribute.- Returns:
- the watchers
-
getWatchers
public java.util.Collection<Principal> getWatchers()
Generated method - Getter of theComment.watchers
attribute.- 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.watchers
attribute.- Parameters:
value
- the watchers
-
setWatchers
public void setWatchers(java.util.Collection<Principal> value)
Generated method - Setter of theComment.watchers
attribute.- Parameters:
value
- the watchers
-
addToWatchers
public void addToWatchers(SessionContext ctx, Principal value)
Generated method - Addsvalue
to watchers.- Parameters:
value
- the item to add to watchers
-
addToWatchers
public void addToWatchers(Principal value)
Generated method - Addsvalue
to watchers.- Parameters:
value
- the item to add to watchers
-
removeFromWatchers
public void removeFromWatchers(SessionContext ctx, Principal value)
Generated method - Removesvalue
from watchers.- Parameters:
value
- the item to remove from watchers
-
removeFromWatchers
public void removeFromWatchers(Principal value)
Generated method - Removesvalue
from watchers.- Parameters:
value
- the item to remove from watchers
-
-