wt.workflow.notebook
Class ImportedBookmark

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.workflow.notebook.NotebookComponent
          extended bywt.workflow.notebook.Bookmark
              extended bywt.workflow.notebook.ImportedBookmark
All Implemented Interfaces:
ContentHolder, DisplayIdentification, DomainAdministered, Externalizable, Indexable, NetFactor, ObjectMappable, Ownable, Persistable, RecentlyVisited, Serializable, WTContained

public class ImportedBookmark
extends Bookmark
implements ContentHolder, Externalizable

Use the newImportedBookmark static factory method(s), not the ImportedBookmark 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 long EXTERNALIZATION_VERSION_UID
           
private  boolean hasContents
           
private  Vector httpVector
           
protected static long OLD_FORMAT_VERSION_UID
           
private  HttpContentOperation operation
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
static String SUBJECT_OBJECT_REFERENCE
          Label for the attribute.
static String SUBJECT_VERSION_REFERENCE
          Label for the attribute.
private  ObjectReference subjectObjectReference
           
private  VersionReference subjectVersionReference
           
 
Fields inherited from class wt.workflow.notebook.Bookmark
CREATOR, DESCRIPTION, FOLDER, FOLDER_REFERENCE, MODIFIER, NOTEBOOK, NOTEBOOK_REFERENCE, URL
 
Fields inherited from class wt.workflow.notebook.NotebookComponent
CONTAINER, NAME
 
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, TYPE
 
Fields inherited from interface wt.ownership.Ownable
OWNERSHIP
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
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.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
ImportedBookmark()
           
 
Method Summary
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
 String getConceptualClassname()
          Deprecated.  
 Vector getContentVector()
          Gets the value of the attribute: CONTENT_VECTOR.
 Vector getHttpVector()
          Gets the value of the attribute: HTTP_VECTOR.
 HttpContentOperation getOperation()
          Gets the value of the attribute: OPERATION.
 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(String name, CollaborationContainer parent)
          Supports initialization, following construction of an instance.
 boolean isHasContents()
          Gets the value of the attribute: HAS_CONTENTS.
static ImportedBookmark newImportedBookmark(String name, CollaborationContainer parent)
          

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(ImportedBookmark 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 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 setOperation(HttpContentOperation a_Operation)
          Sets the value of the attribute: OPERATION.
 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 subjectVersionReferenceValidate(VersionReference a_SubjectVersionReference)
           
 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.notebook.Bookmark
getCreator, getDescription, getFolder, getFolderReference, getModifier, getNotebook, getNotebookReference, getParent, getUrl, initialize, newBookmark, newBookmark, readVersion, setCreator, setDescription, setFolder, setFolderReference, setModifier, setNotebook, setNotebookReference, setUrl
 
Methods inherited from class wt.workflow.notebook.NotebookComponent
getContainer, getContainerName, getContainerReference, getDomainRef, getIndexerSet, getName, getOwnership, isInheritedDomain, readVersion, setContainer, setContainerReference, setDomainRef, setIndexerSet, setInheritedDomain, setName, setOwnership
 
Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, initialize, 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

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

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
Constructor Detail

ImportedBookmark

public ImportedBookmark()
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 Bookmark
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 Bookmark
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ImportedBookmark 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 Bookmark
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 Bookmark
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
Overrides:
getConceptualClassname in class Bookmark
Returns:
String

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

newImportedBookmark

public static ImportedBookmark newImportedBookmark(String name,
                                                   CollaborationContainer parent)
                                            throws WTException


Supported API: false

Parameters:
name -
parent -
Returns:
ImportedBookmark
Throws:
WTException

initialize

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

Supported API: false

Parameters:
name -
parent -
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 Bookmark
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 Bookmark
Returns:
int