|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.wiki.AttachmentReference
public class AttachmentReference
An attachment reference.
| Field Summary | |
|---|---|
static java.lang.String |
FILE_NAME
The component that stores the name of the file that hosts the referenced entity. |
| Constructor Summary | |
|---|---|
AttachmentReference()
Default constructor. |
|
AttachmentReference(EntityReference entityReference)
Creates a typed attachment reference. |
|
AttachmentReference(java.lang.String fileName,
WikiPageReference wikiPageReference)
Creates a new typed reference to the specified attachment. |
|
| Method Summary | |
|---|---|
AttachmentReference |
clone()
|
boolean |
equals(java.lang.Object obj)
|
EntityReference |
getEntityReference()
|
java.lang.String |
getFileName()
|
WikiPageReference |
getWikiPageReference()
|
int |
hashCode()
|
void |
setFileName(java.lang.String fileName)
Sets the name of the file that hosts the referenced entity. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FILE_NAME
| Constructor Detail |
|---|
public AttachmentReference()
public AttachmentReference(EntityReference entityReference)
entityReference - an entity reference
public AttachmentReference(java.lang.String fileName,
WikiPageReference wikiPageReference)
fileName - the file namewikiPageReference - a reference to the wiki page that holds the attachment| Method Detail |
|---|
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - the name of the file that hosts the referenced entitypublic WikiPageReference getWikiPageReference()
public EntityReference getEntityReference()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(Object)public AttachmentReference clone()
clone in class java.lang.ObjectObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||