|
||||||||||
| 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,
String fileName)
Deprecated. |
|
AttachmentName(String wiki,
String space,
String page,
String fileName)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Deprecated. |
DocumentName |
getDocumentName()
Deprecated. |
String |
getFileName()
Deprecated. |
int |
hashCode()
Deprecated. |
void |
setDocumentName(DocumentName documentName)
Deprecated. |
void |
setFileName(String fileName)
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentName(DocumentName documentName,
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(String wiki,
String space,
String page,
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(String fileName)
fileName - the file name of the attachment in the document's page.public String getFileName()
public String toString()
toString in class ObjectObject.toString()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||