|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.model.domino.wrapped.DominoDocument.AttachmentValueHolder
public static class DominoDocument.AttachmentValueHolder
Stores information about an attachment to a field and the operation performed on that attachment.
Field Summary | |
---|---|
static int |
STATE_ADDED
|
static int |
STATE_INDOCUMENT
|
static int |
STATE_NOTINDOCUMENT
|
static int |
STATE_REMOVED
|
Constructor Summary | |
---|---|
DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context,
DominoDocument doc,
DominoRichTextItem item,
lotus.domino.EmbeddedObject obj,
java.lang.String displayName,
java.lang.String embeddedObjectKey)
Construct a value holder that points to an existing object in the database. |
|
DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context,
com.ibm.xsp.persistence.PersistedContent pc,
DominoDocument doc,
DominoRichTextItem item,
java.lang.String source,
long fileSize)
Construct a value holder that points to an existing MIME object in the database. |
|
DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context,
com.ibm.xsp.persistence.PersistedContent pc,
UIFileuploadEx.UploadedFile uploadedFile)
Construct a value holder that points to an object within the persistence service. |
|
DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context,
com.ibm.xsp.persistence.PersistedContent pc,
UIInputRichText.EmbeddedImage embeddedImage)
Construct a value holder that points to an object within the persistence service. |
Method Summary | |
---|---|
java.lang.String |
getAttName()
|
java.lang.String |
getCID()
|
long |
getCreated()
Returns the time that the file was created. |
java.lang.String |
getDbKey()
|
java.lang.String |
getHref()
Returns the context-relative url to retrieve the file. |
long |
getLastModified()
Returns the time that the file was last modified. |
long |
getLength()
Returns the length of the file. |
java.lang.String |
getName()
Returns the name of the file. |
java.lang.String |
getPersistentName()
|
int |
getState()
|
java.lang.String |
getType()
Returns the type of the file. |
void |
setCID(java.lang.String cid)
|
void |
setPersistentName(com.ibm.xsp.persistence.PersistedContent pc)
|
void |
setState(int state)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STATE_INDOCUMENT
public static final int STATE_ADDED
public static final int STATE_REMOVED
public static final int STATE_NOTINDOCUMENT
Constructor Detail |
---|
public DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context, com.ibm.xsp.persistence.PersistedContent pc, UIFileuploadEx.UploadedFile uploadedFile) throws lotus.domino.NotesException
lotus.domino.NotesException
public DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context, com.ibm.xsp.persistence.PersistedContent pc, UIInputRichText.EmbeddedImage embeddedImage) throws lotus.domino.NotesException
lotus.domino.NotesException
public DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context, DominoDocument doc, DominoRichTextItem item, lotus.domino.EmbeddedObject obj, java.lang.String displayName, java.lang.String embeddedObjectKey) throws lotus.domino.NotesException
lotus.domino.NotesException
public DominoDocument.AttachmentValueHolder(javax.faces.context.FacesContext context, com.ibm.xsp.persistence.PersistedContent pc, DominoDocument doc, DominoRichTextItem item, java.lang.String source, long fileSize) throws lotus.domino.NotesException
lotus.domino.NotesException
Method Detail |
---|
public java.lang.String getCID()
public void setCID(java.lang.String cid)
public java.lang.String getPersistentName()
public java.lang.String getAttName()
public int getState()
public void setState(int state)
public void setPersistentName(com.ibm.xsp.persistence.PersistedContent pc)
public java.lang.String getDbKey()
public java.lang.String getName()
FileRowData
getName
in interface FileRowData
public java.lang.String getHref()
FileRowData
getHref
in interface FileRowData
public long getLastModified()
FileRowData
getLastModified
in interface FileRowData
long
value representing the time the file was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970)public long getCreated()
FileRowData
getCreated
in interface FileRowData
long
value representing the time the file was
created, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970)public long getLength()
FileRowData
getLength
in interface FileRowData
public java.lang.String getType()
FileRowData
getType
in interface FileRowData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |