wt.workflow.forum
Class DiscussionPosting

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.workflow.forum.Discussion
          extended bywt.workflow.forum.DiscussionPosting
All Implemented Interfaces:
CollaborationContainer, ContentHolder, DisplayIdentification, DomainAdministered, EventListener, Externalizable, Indexable, NetFactor, Notifiable, ObjectMappable, ObjectSubscriptionListener, Ownable, Persistable, RecentlyVisited, Serializable, WTContained

public class DiscussionPosting
extends Discussion
implements ContentHolder, Externalizable

DiscussionPosting represents the actual conversations on a given topic. Postings can be nested, that is, a posting can be replied to.

Use the newDiscussionPosting static factory method(s), not the DiscussionPosting constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Vector contentVector
           
static String DISCUSSION_TOPIC
          Label for the attribute.
static String DISCUSSION_TOPIC_REFERENCE
          Label for the attribute.
static long EXTERNALIZATION_VERSION_UID
           
private static String FORUM_NOTIFICATION_TEMPLATE
           
private  boolean hasContents
           
private  Vector httpVector
           
private  String message
           
static String MESSAGE
          Label for the attribute.
private static int MESSAGE_UPPER_LIMIT
           
protected static long OLD_FORMAT_VERSION_UID
           
private  HttpContentOperation operation
           
static String PARENT_POSTING
          Label for the attribute.
static String PARENT_POSTING_REFERENCE
          Label for the attribute.
private  ObjectReference parentPostingReference
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  String subject
           
static String SUBJECT
          Label for the attribute.
static String SUBJECT_OBJECT_REFERENCE
          Label for the attribute.
private static int SUBJECT_UPPER_LIMIT
           
static String SUBJECT_VERSION_REFERENCE
          Label for the attribute.
private  ObjectReference subjectObjectReference
           
private  VersionReference subjectVersionReference
           
private  ObjectReference theDiscussionTopicReference
           
static String TYPE
           
private static boolean VERBOSE
           
 
Fields inherited from class wt.workflow.forum.Discussion
CONTAINER, DEFINITION
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.content.ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO
 
Fields inherited from interface wt.ownership.Ownable
OWNERSHIP
 
Fields inherited from interface wt.workflow.collaboration.CollaborationContainer
DEFINITION_REFERENCE
 
Fields inherited from interface wt.notify.Notifiable
EVENT_SET
 
Fields inherited from interface wt.inf.container.WTContained
CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE
 
Fields inherited from interface wt.index.Indexable
INDEXER_SET
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
DiscussionPosting()
           
 
Method Summary
 void addAttachment(Bookmark bookmark)
          

Supported API: false
 void addAttachment(String file, String file_path, String override_name)
          

Supported API: false
private  void collectSubpostings(Vector parentsVec, Vector searchVec, Vector allMyChildren)
           
 void deleteAttachments()
          

Supported API: false
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
 Enumeration getAttachments()
          

Supported API: false
 Vector getChildren()
          Returns all objects that have the container as their parent object.
 Vector getChildren(boolean attachments)
          Returns all objects that have the container as their parent object.
 String getConceptualClassname()
          Deprecated.  
 Vector getContentVector()
          Gets the value of the attribute: CONTENT_VECTOR.
 DiscussionTopic getDiscussionTopic()
          Gets the object for the association that plays role: DISCUSSION_TOPIC.
 ObjectReference getDiscussionTopicReference()
          Gets the value of the attribute: DISCUSSION_TOPIC_REFERENCE.
 Vector getHttpVector()
          Gets the value of the attribute: HTTP_VECTOR.
 String getMessage()
          Gets the value of the attribute: MESSAGE.
 Vector getOnlyImmediateChildren()
          Returns all objects that have the container as their parent object.
 HttpContentOperation getOperation()
          Gets the value of the attribute: OPERATION.
 CollaborationContainer getParent()
          Returns the object if any that acts as the container of this object.
 DiscussionPosting getParentPosting()
          Gets the object for the association that plays role: PARENT_POSTING.
 ObjectReference getParentPostingReference()
          Gets the value of the attribute: PARENT_POSTING_REFERENCE.
 Enumeration getPostings()
          Retrieves all the postings that are children of this posting.
 String getSubject()
          Gets the value of the attribute: SUBJECT.
 ObjectReference getSubjectObjectReference()
          Gets the value of the attribute: SUBJECT_OBJECT_REFERENCE.
 VersionReference getSubjectVersionReference()
          Gets the value of the attribute: SUBJECT_VERSION_REFERENCE.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
protected  void initialize()
          Initializes objects created by new-factory methods.
protected  void initialize(String sub, String msg, Discussion parent)
          Supports initialization, following construction of an instance.
 boolean isHasContents()
          Gets the value of the attribute: HAS_CONTENTS.
private  void messageValidate(String a_Message)
           
static DiscussionPosting newDiscussionPosting(String sub, String msg, Discussion parent)
          Creates a new DiscussionPosting and sets the subject and message to the given Strings respectively and sets the parent to the given Discussion.
private  void parentPostingReferenceValidate(ObjectReference a_ParentPostingReference)
           
 ObjectSubscription populateSubscription(ObjectSubscription subscription)
          

Supported API: false
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void readExternal(PersistentRetrieveIfc input)
          Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(DiscussionPosting thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setContentVector(Vector a_ContentVector)
          Sets the value of the attribute: CONTENT_VECTOR.
 void setDiscussionTopic(DiscussionTopic a_DiscussionTopic)
          Sets the object for the association that plays role: DISCUSSION_TOPIC.
 void setDiscussionTopicReference(ObjectReference a_DiscussionTopicReference)
          Sets the value of the attribute: DISCUSSION_TOPIC_REFERENCE.
 void setHasContents(boolean a_HasContents)
          Sets the value of the attribute: HAS_CONTENTS.
 void setHttpVector(Vector a_HttpVector)
          Sets the value of the attribute: HTTP_VECTOR.
 void setMessage(String a_Message)
          Sets the value of the attribute: MESSAGE.
 void setOperation(HttpContentOperation a_Operation)
          Sets the value of the attribute: OPERATION.
 void setParentPosting(DiscussionPosting a_ParentPosting)
          Sets the object for the association that plays role: PARENT_POSTING.
 void setParentPostingReference(ObjectReference a_ParentPostingReference)
          Sets the value of the attribute: PARENT_POSTING_REFERENCE.
 void setSubject(String a_Subject)
          Sets the value of the attribute: SUBJECT.
 void setSubjectObjectReference(ObjectReference a_SubjectObjectReference)
          Sets the value of the attribute: SUBJECT_OBJECT_REFERENCE.
 void setSubjectVersionReference(VersionReference a_SubjectVersionReference)
          Sets the value of the attribute: SUBJECT_VERSION_REFERENCE.
private  void subjectObjectReferenceValidate(ObjectReference a_SubjectObjectReference)
           
private  void subjectValidate(String a_Subject)
           
private  void subjectVersionReferenceValidate(VersionReference a_SubjectVersionReference)
           
private  void theDiscussionTopicReferenceValidate(ObjectReference a_DiscussionTopicReference)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 void writeExternal(PersistentStoreIfc output)
          Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.
 
Methods inherited from class wt.workflow.forum.Discussion
addUserSubscription, getContainer, getContainerName, getContainerReference, getDefinition, getDefinitionReference, getDomainRef, getEventSet, getIndexerSet, getOwnership, isInheritedDomain, notifyObjectEvent, readVersion, setContainer, setContainerReference, setDefinition, setDefinitionReference, setDomainRef, setEventSet, setIndexerSet, setInheritedDomain, setOwnership
 
Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

MESSAGE

public static final String MESSAGE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

MESSAGE_UPPER_LIMIT

private static int MESSAGE_UPPER_LIMIT

message

private String message

SUBJECT

public static final String SUBJECT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

SUBJECT_UPPER_LIMIT

private static int SUBJECT_UPPER_LIMIT

subject

private String subject

SUBJECT_OBJECT_REFERENCE

public static final String SUBJECT_OBJECT_REFERENCE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

subjectObjectReference

private ObjectReference subjectObjectReference

SUBJECT_VERSION_REFERENCE

public static final String SUBJECT_VERSION_REFERENCE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

subjectVersionReference

private VersionReference subjectVersionReference

DISCUSSION_TOPIC

public static final String DISCUSSION_TOPIC
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

DISCUSSION_TOPIC_REFERENCE

public static final String DISCUSSION_TOPIC_REFERENCE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

theDiscussionTopicReference

private ObjectReference theDiscussionTopicReference

PARENT_POSTING

public static final String PARENT_POSTING
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

PARENT_POSTING_REFERENCE

public static final String PARENT_POSTING_REFERENCE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

parentPostingReference

private ObjectReference parentPostingReference

contentVector

private Vector contentVector

hasContents

private boolean hasContents

operation

private HttpContentOperation operation

httpVector

private Vector httpVector

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE

FORUM_NOTIFICATION_TEMPLATE

private static final String FORUM_NOTIFICATION_TEMPLATE
See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

DiscussionPosting

public DiscussionPosting()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class Discussion
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class Discussion
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(DiscussionPosting thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Overrides:
writeExternal in class Discussion
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Overrides:
readExternal in class Discussion
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getMessage

public String getMessage()
Gets the value of the attribute: MESSAGE.

Supported API: false

Returns:
String

setMessage

public void setMessage(String a_Message)
                throws WTPropertyVetoException
Sets the value of the attribute: MESSAGE.

Supported API: false

Parameters:
a_Message -
Throws:
WTPropertyVetoException

messageValidate

private void messageValidate(String a_Message)
                      throws WTPropertyVetoException
Parameters:
a_Message -
Throws:
WTPropertyVetoException

getSubject

public String getSubject()
Gets the value of the attribute: SUBJECT.

Supported API: false

Returns:
String

setSubject

public void setSubject(String a_Subject)
                throws WTPropertyVetoException
Sets the value of the attribute: SUBJECT.

Supported API: false

Parameters:
a_Subject -
Throws:
WTPropertyVetoException

subjectValidate

private void subjectValidate(String a_Subject)
                      throws WTPropertyVetoException
Parameters:
a_Subject -
Throws:
WTPropertyVetoException

getSubjectObjectReference

public ObjectReference getSubjectObjectReference()
Gets the value of the attribute: SUBJECT_OBJECT_REFERENCE.

Supported API: false

Returns:
ObjectReference

setSubjectObjectReference

public void setSubjectObjectReference(ObjectReference a_SubjectObjectReference)
                               throws WTPropertyVetoException
Sets the value of the attribute: SUBJECT_OBJECT_REFERENCE.

Supported API: false

Parameters:
a_SubjectObjectReference -
Throws:
WTPropertyVetoException

subjectObjectReferenceValidate

private void subjectObjectReferenceValidate(ObjectReference a_SubjectObjectReference)
                                     throws WTPropertyVetoException
Parameters:
a_SubjectObjectReference -
Throws:
WTPropertyVetoException

getSubjectVersionReference

public VersionReference getSubjectVersionReference()
Gets the value of the attribute: SUBJECT_VERSION_REFERENCE.

Supported API: false

Returns:
VersionReference

setSubjectVersionReference

public void setSubjectVersionReference(VersionReference a_SubjectVersionReference)
                                throws WTPropertyVetoException
Sets the value of the attribute: SUBJECT_VERSION_REFERENCE.

Supported API: false

Parameters:
a_SubjectVersionReference -
Throws:
WTPropertyVetoException

subjectVersionReferenceValidate

private void subjectVersionReferenceValidate(VersionReference a_SubjectVersionReference)
                                      throws WTPropertyVetoException
Parameters:
a_SubjectVersionReference -
Throws:
WTPropertyVetoException

getDiscussionTopic

public DiscussionTopic getDiscussionTopic()
Gets the object for the association that plays role: DISCUSSION_TOPIC.

Supported API: false

Returns:
DiscussionTopic

setDiscussionTopic

public void setDiscussionTopic(DiscussionTopic a_DiscussionTopic)
                        throws WTPropertyVetoException,
                               WTException
Sets the object for the association that plays role: DISCUSSION_TOPIC.

Supported API: false

Parameters:
a_DiscussionTopic -
Throws:
WTPropertyVetoException
WTException

getDiscussionTopicReference

public ObjectReference getDiscussionTopicReference()
Gets the value of the attribute: DISCUSSION_TOPIC_REFERENCE.

Supported API: false

Returns:
ObjectReference

setDiscussionTopicReference

public void setDiscussionTopicReference(ObjectReference a_DiscussionTopicReference)
                                 throws WTPropertyVetoException
Sets the value of the attribute: DISCUSSION_TOPIC_REFERENCE.

Supported API: false

Parameters:
a_DiscussionTopicReference -
Throws:
WTPropertyVetoException

theDiscussionTopicReferenceValidate

private void theDiscussionTopicReferenceValidate(ObjectReference a_DiscussionTopicReference)
                                          throws WTPropertyVetoException
Parameters:
a_DiscussionTopicReference -
Throws:
WTPropertyVetoException

getParentPosting

public DiscussionPosting getParentPosting()
Gets the object for the association that plays role: PARENT_POSTING.

Supported API: false

Returns:
DiscussionPosting

setParentPosting

public void setParentPosting(DiscussionPosting a_ParentPosting)
                      throws WTPropertyVetoException,
                             WTException
Sets the object for the association that plays role: PARENT_POSTING.

Supported API: false

Parameters:
a_ParentPosting -
Throws:
WTPropertyVetoException
WTException

getParentPostingReference

public ObjectReference getParentPostingReference()
Gets the value of the attribute: PARENT_POSTING_REFERENCE.

Supported API: false

Returns:
ObjectReference

setParentPostingReference

public void setParentPostingReference(ObjectReference a_ParentPostingReference)
                               throws WTPropertyVetoException
Sets the value of the attribute: PARENT_POSTING_REFERENCE.

Supported API: false

Parameters:
a_ParentPostingReference -
Throws:
WTPropertyVetoException

parentPostingReferenceValidate

private void parentPostingReferenceValidate(ObjectReference a_ParentPostingReference)
                                     throws WTPropertyVetoException
Parameters:
a_ParentPostingReference -
Throws:
WTPropertyVetoException

getPostings

public Enumeration getPostings()
                        throws WTException
Retrieves all the postings that are children of this posting.

Supported API: false

Returns:
Enumeration
Throws:
WTException

newDiscussionPosting

public static DiscussionPosting newDiscussionPosting(String sub,
                                                     String msg,
                                                     Discussion parent)
                                              throws WTException
Creates a new DiscussionPosting and sets the subject and message to the given Strings respectively and sets the parent to the given Discussion.

Supported API: false

Parameters:
sub - Subject of the DiscussionPosting
msg - The body of the DiscussionPosting.
parent - The parent discussion.
Returns:
DiscussionPosting
Throws:
WTException

initialize

protected void initialize(String sub,
                          String msg,
                          Discussion parent)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Parameters:
sub - Subject of the DiscussionPosting
msg - The body of the DiscussionPosting.
parent - The parent discussion.
Throws:
WTException

getAttachments

public Enumeration getAttachments()
                           throws WTException


Supported API: false

Returns:
Enumeration
Throws:
WTException

getParent

public CollaborationContainer getParent()
                                 throws WTException
Returns the object if any that acts as the container of this object.

Supported API: false

Specified by:
getParent in interface CollaborationContainer
Overrides:
getParent in class Discussion
Returns:
CollaborationContainer
Throws:
WTException

populateSubscription

public ObjectSubscription populateSubscription(ObjectSubscription subscription)
                                        throws WTException


Supported API: false

Specified by:
populateSubscription in interface CollaborationContainer
Overrides:
populateSubscription in class Discussion
Parameters:
subscription -
Returns:
ObjectSubscription
Throws:
WTException

addAttachment

public void addAttachment(Bookmark bookmark)
                   throws WTException


Supported API: false

Parameters:
bookmark -
Throws:
WTException

addAttachment

public void addAttachment(String file,
                          String file_path,
                          String override_name)
                   throws WTException


Supported API: false

Parameters:
file -
file_path -
override_name -
Throws:
WTException

getChildren

public Vector getChildren()
                   throws WTException
Returns all objects that have the container as their parent object.

Supported API: false

Specified by:
getChildren in interface CollaborationContainer
Returns:
Vector
Throws:
WTException

deleteAttachments

public void deleteAttachments()
                       throws WTException


Supported API: false

Throws:
WTException

getOnlyImmediateChildren

public Vector getOnlyImmediateChildren()
                                throws WTException
Returns all objects that have the container as their parent object.

Supported API: false

Specified by:
getOnlyImmediateChildren in class Discussion
Returns:
Vector
Throws:
WTException

getChildren

public Vector getChildren(boolean attachments)
                   throws WTException
Returns all objects that have the container as their parent object.

Supported API: false

Specified by:
getChildren in class Discussion
Parameters:
attachments -
Returns:
Vector
Throws:
WTException

getContentVector

public Vector getContentVector()
Gets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getContentVector in interface ContentHolder
Returns:
Vector

setContentVector

public void setContentVector(Vector a_ContentVector)
                      throws WTPropertyVetoException
Sets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setContentVector in interface ContentHolder
Parameters:
a_ContentVector -
Throws:
WTPropertyVetoException

isHasContents

public boolean isHasContents()
Gets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
isHasContents in interface ContentHolder
Returns:
boolean

setHasContents

public void setHasContents(boolean a_HasContents)
                    throws WTPropertyVetoException
Sets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
setHasContents in interface ContentHolder
Parameters:
a_HasContents -
Throws:
WTPropertyVetoException

getOperation

public HttpContentOperation getOperation()
Gets the value of the attribute: OPERATION.

Supported API: false

Specified by:
getOperation in interface ContentHolder
Returns:
HttpContentOperation

setOperation

public void setOperation(HttpContentOperation a_Operation)
                  throws WTPropertyVetoException
Sets the value of the attribute: OPERATION.

Supported API: false

Specified by:
setOperation in interface ContentHolder
Parameters:
a_Operation -
Throws:
WTPropertyVetoException

getHttpVector

public Vector getHttpVector()
Gets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getHttpVector in interface ContentHolder
Returns:
Vector

setHttpVector

public void setHttpVector(Vector a_HttpVector)
                   throws WTPropertyVetoException
Sets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setHttpVector in interface ContentHolder
Parameters:
a_HttpVector -
Throws:
WTPropertyVetoException

equals

public boolean equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers. Changed or stale copies are still considered equal by this method. Delegates to PersistenceHelper.equals(Persistable,Object).

Warning: Certain core Windchill operations may depend upon equals being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
equals in class Discussion
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
Returns a hash code for this object based upon its ObjectIdentifier. Delegates to PersistenceHelper.hashCode(Persistable).

Warning: Certain core Windchill operations may depend upon hashCode being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
hashCode in class Discussion
Returns:
int

collectSubpostings

private void collectSubpostings(Vector parentsVec,
                                Vector searchVec,
                                Vector allMyChildren)
                         throws WTException
Throws:
WTException

initialize

protected void initialize()
                   throws WTException
Description copied from class: WTObject
Initializes objects created by new-factory methods.

Supported API: false

Overrides:
initialize in class WTObject
Throws:
WTException