|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.bridge.AttachmentName
AttachmentReference instead since 2.2M1
@Deprecated public class AttachmentName
Represents an Attachment name (document name and file name). An attachment is always attached to a document.
| Constructor Summary | |
|---|---|
AttachmentName(DocumentName documentName,
java.lang.String fileName)
Deprecated. |
|
AttachmentName(java.lang.String wiki,
java.lang.String space,
java.lang.String page,
java.lang.String fileName)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated. |
DocumentName |
getDocumentName()
Deprecated. |
java.lang.String |
getFileName()
Deprecated. |
int |
hashCode()
Deprecated. |
void |
setDocumentName(DocumentName documentName)
Deprecated. |
void |
setFileName(java.lang.String fileName)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentName(DocumentName documentName,
java.lang.String fileName)
documentName - the attachment's document (ie the document to which the filename is attached to)fileName - the name of the file attached to the document
public AttachmentName(java.lang.String wiki,
java.lang.String space,
java.lang.String page,
java.lang.String fileName)
wiki - the wiki to which the attachment's document belongs to (eg "xwiki")space - the space to which the attachment's document belongs to (eg "Main")page - the page to which the attachment's document belongs to (eg "WebHome")fileName - the name of the file attached to the document| Method Detail |
|---|
public void setDocumentName(DocumentName documentName)
documentName - the name of the document to which the attachment filename is attached topublic DocumentName getDocumentName()
public void setFileName(java.lang.String fileName)
fileName - the file name of the attachment in the document's page.public java.lang.String getFileName()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||