|
||||||||||
| 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 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(String fileName,
WikiPageReference wikiPageReference)
Creates a new typed reference to the specified attachment. |
|
| Method Summary | |
|---|---|
AttachmentReference |
clone()
|
boolean |
equals(Object obj)
|
EntityReference |
getEntityReference()
|
String |
getFileName()
|
WikiPageReference |
getWikiPageReference()
|
int |
hashCode()
|
void |
setFileName(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 String FILE_NAME
| Constructor Detail |
|---|
public AttachmentReference()
public AttachmentReference(EntityReference entityReference)
entityReference - an entity reference
public AttachmentReference(String fileName,
WikiPageReference wikiPageReference)
fileName - the file namewikiPageReference - a reference to the wiki page that holds the attachment| Method Detail |
|---|
public String getFileName()
public void setFileName(String fileName)
fileName - the name of the file that hosts the referenced entitypublic WikiPageReference getWikiPageReference()
public EntityReference getEntityReference()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public AttachmentReference clone()
clone in class ObjectObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||