|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.content.ContentItem
wt.content.ApplicationData
public class ApplicationData
Handles the file system information for the content data. This class is aggregated into classes implementing the ContentHolder interface.
Use the newApplicationData static factory method(s), not
the ApplicationData 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: true
Extendable: false
| Field Summary | |
|---|---|
static String |
FILE_NAME
Label for the attribute; The fileName of this piece of content. |
static String |
UPLOADED_FROM_PATH
Label for the attribute; The path where this piece of content was uploaded from Supported API: true |
| Fields inherited from class wt.content.ContentItem |
|---|
ROLE |
| Method Summary | |
|---|---|
String |
getFileName()
Gets the value of the attribute: FILE_NAME. |
String |
getUploadedFromPath()
Gets the value of the attribute: UPLOADED_FROM_PATH. |
URL |
getViewContentURL(ContentHolder holder)
Generates a URL that can be used in a AppletContext.showDocument( ) call from an applet. |
protected void |
initialize(ContentHolder holder)
Supports initialization, following construction of an instance. |
static ApplicationData |
newApplicationData(ContentHolder holder)
Instatiates a new ApplicationData object based on a ContentHolder Supported API: true |
void |
setFileName(String a_FileName)
Sets the value of the attribute: FILE_NAME. |
void |
setUploadedFromPath(String a_UploadedFromPath)
Sets the value of the attribute: UPLOADED_FROM_PATH. |
| Methods inherited from class wt.content.ContentItem |
|---|
getRole, setRole |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String UPLOADED_FROM_PATH
public static final String FILE_NAME
| Method Detail |
|---|
public String getUploadedFromPath()
public void setUploadedFromPath(String a_UploadedFromPath)
throws WTPropertyVetoException
a_UploadedFromPath -
WTPropertyVetoExceptionpublic String getFileName()
public void setFileName(String a_FileName)
throws WTPropertyVetoException
a_FileName -
WTPropertyVetoException
public static ApplicationData newApplicationData(ContentHolder holder)
throws WTException
holder -
WTException
protected void initialize(ContentHolder holder)
throws WTException
holder -
WTException
public URL getViewContentURL(ContentHolder holder)
throws WTException
holder -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||