|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.content.HttpContentOperation
This is an implementation class that represents a single upload or download and holds the status within it. It is created by a call to the prepareForUpload or prepareForDownload methods in the ContentService. This class and it's methods should not be used.
Use the newHttpContentOperation
static factory method(s),
not the HttpContentOperation
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
ContentHelper
,
ContentService
,
HttpOperationType
,
HttpOperationStatus
,
Serialized FormField Summary | |
static String |
CANCEL_METHOD
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
static String |
DOWNLOAD_METHOD
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
static String |
HTML_UPLOAD_METHOD
Deprecated. |
private String |
HTTP_CLASS
Deprecated. |
static String |
HTTP_OP_ITEM_QUERY_KEY
Deprecated. |
static String |
HTTP_OP_QUERY_KEY
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
private HttpOperationType |
operation
Deprecated. |
static String |
OPERATION
Deprecated. |
static String |
OPERATION_STATUS
Deprecated. |
private static int |
OPERATION_STATUS_UPPER_LIMIT
Deprecated. |
private static int |
OPERATION_UPPER_LIMIT
Deprecated. |
private HttpOperationStatus |
operationStatus
Deprecated. |
private Ownership |
ownership
Deprecated. |
private static String |
RESOURCE
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
static String |
STATUS_V
Deprecated. |
private Vector |
statusV
Deprecated. |
static String |
UPLOAD_METHOD
Deprecated. |
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
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 | |
HttpContentOperation()
Deprecated. |
Method Summary | |
boolean |
equals(Object obj)
Deprecated. |
String |
getConceptualClassname()
Deprecated. |
URL |
getDownloadURL(HttpOperationItem opItem)
Deprecated. |
URL |
getGenerateUploadHtmlURL()
Deprecated. |
HttpOperationType |
getOperation()
Deprecated. |
HttpOperationStatus |
getOperationStatus()
Deprecated. |
Ownership |
getOwnership()
Deprecated. |
Vector |
getStatusV()
Deprecated. |
URL |
getUploadURL()
Deprecated. |
int |
hashCode()
Deprecated. |
protected void |
initialize()
Deprecated. Supported API: false |
static HttpContentOperation |
newHttpContentOperation()
Deprecated. |
private void |
operationStatusValidate(HttpOperationStatus a_OperationStatus)
Deprecated. |
private void |
operationValidate(HttpOperationType a_Operation)
Deprecated. |
void |
readExternal(ObjectInput input)
Deprecated. |
void |
readExternal(PersistentRetrieveIfc input)
Deprecated. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(HttpContentOperation thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. |
void |
setOperation(HttpOperationType a_Operation)
Deprecated. |
void |
setOperationStatus(HttpOperationStatus a_OperationStatus)
Deprecated. |
void |
setOwnership(Ownership a_Ownership)
Deprecated. |
void |
setStatusV(Vector a_StatusV)
Deprecated. |
void |
writeExternal(ObjectOutput output)
Deprecated. |
void |
writeExternal(PersistentStoreIfc output)
Deprecated. |
Methods inherited from class wt.fc.Item |
getDomainRef, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
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 |
private static final String RESOURCE
private static final String CLASSNAME
public static final String STATUS_V
private Vector statusV
public static final String OPERATION_STATUS
private static int OPERATION_STATUS_UPPER_LIMIT
private HttpOperationStatus operationStatus
public static final String OPERATION
private static int OPERATION_UPPER_LIMIT
private HttpOperationType operation
private Ownership ownership
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String HTTP_OP_QUERY_KEY
public static final String HTTP_OP_ITEM_QUERY_KEY
public static final String UPLOAD_METHOD
public static final String CANCEL_METHOD
public static final String DOWNLOAD_METHOD
public static final String HTML_UPLOAD_METHOD
private String HTTP_CLASS
Constructor Detail |
public HttpContentOperation()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(HttpContentOperation thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Item
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Item
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public Vector getStatusV()
public void setStatusV(Vector a_StatusV) throws WTPropertyVetoException
a_StatusV
-
WTPropertyVetoException
public HttpOperationStatus getOperationStatus()
public void setOperationStatus(HttpOperationStatus a_OperationStatus) throws WTPropertyVetoException
a_OperationStatus
-
WTPropertyVetoException
private void operationStatusValidate(HttpOperationStatus a_OperationStatus) throws WTPropertyVetoException
a_OperationStatus
-
WTPropertyVetoException
public HttpOperationType getOperation()
public void setOperation(HttpOperationType a_Operation) throws WTPropertyVetoException
a_Operation
-
WTPropertyVetoException
private void operationValidate(HttpOperationType a_Operation) throws WTPropertyVetoException
a_Operation
-
WTPropertyVetoException
public URL getUploadURL() throws WTException
WTException
public URL getGenerateUploadHtmlURL() throws WTException
WTException
public URL getDownloadURL(HttpOperationItem opItem) throws WTException
opItem
-
WTException
public static HttpContentOperation newHttpContentOperation() throws WTException
WTException
public Ownership getOwnership()
getOwnership
in interface Ownable
public void setOwnership(Ownership a_Ownership)
setOwnership
in interface Ownable
a_Ownership
- public boolean equals(Object obj)
ObjectIdentifier
s.
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
equals
in class Item
obj
-
public int hashCode()
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
hashCode
in class Item
protected void initialize() throws WTException
Item
initialize
in class Item
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |