|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.ext.ntdef.NTHierarchyNode
org.chromattic.ext.ntdef.NTFile
org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl
public abstract class AttachmentImpl
Created by The eXo Platform SAS May, 2010
| Constructor Summary | |
|---|---|
AttachmentImpl()
|
|
| Method Summary | |
|---|---|
int |
compareTo(AttachmentImpl o)
|
Calendar |
getCreatedDate()
Date of the creation |
abstract String |
getCreator()
Creator of the last version of the attachment |
String |
getDownloadURL()
URL to download the attachment |
abstract String |
getFileType()
|
String |
getFullTitle()
|
String |
getJCRContentPath()
|
abstract String |
getName()
|
abstract PageImpl |
getParentPage()
|
abstract String |
getPath()
|
HashMap<String,String[]> |
getPermission()
|
String |
getText()
Get the text representation of the content item |
abstract String |
getTitle()
|
Calendar |
getUpdatedDate()
Date of last update of this attachment |
long |
getWeightInBytes()
Get the weight of the attachment in bytes |
abstract String |
getWorkspace()
|
boolean |
hasPermission(PermissionType permissionType)
|
abstract void |
remove()
|
abstract void |
setCreator(String creator)
|
abstract void |
setFileType(String fileType)
|
abstract void |
setName(String name)
|
void |
setPermission(HashMap<String,String[]> permissions)
|
void |
setText(String text)
|
abstract void |
setTitle(String title)
|
| Methods inherited from class org.chromattic.ext.ntdef.NTFile |
|---|
createResource, getContent, getContentResource, getLastModified, setContent, setContentResource |
| Methods inherited from class org.chromattic.ext.ntdef.NTHierarchyNode |
|---|
getCreated, getParent, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentImpl()
| Method Detail |
|---|
public abstract String getName()
getName in class org.chromattic.ext.ntdef.NTHierarchyNodepublic abstract void setName(String name)
public abstract String getPath()
public String getJCRContentPath()
public abstract String getWorkspace()
public abstract String getTitle()
getTitle in interface Attachmentpublic abstract void setTitle(String title)
setTitle in interface Attachmentpublic abstract String getFileType()
public abstract void setFileType(String fileType)
public abstract String getCreator()
Attachment
getCreator in interface Attachmentpublic abstract void setCreator(String creator)
public Calendar getCreatedDate()
Attachment
getCreatedDate in interface Attachmentpublic long getWeightInBytes()
Attachment
getWeightInBytes in interface Attachmentpublic Calendar getUpdatedDate()
Attachment
getUpdatedDate in interface Attachmentpublic String getDownloadURL()
Attachment
getDownloadURL in interface Attachmentpublic String getFullTitle()
public abstract PageImpl getParentPage()
public abstract void remove()
public String getText()
Attachment
getText in interface Attachmentpublic void setText(String text)
setText in interface Attachment
public boolean hasPermission(PermissionType permissionType)
throws Exception
hasPermission in interface AttachmentException
public HashMap<String,String[]> getPermission()
throws Exception
getPermission in interface AttachmentException
public void setPermission(HashMap<String,String[]> permissions)
throws Exception
setPermission in interface AttachmentExceptionpublic int compareTo(AttachmentImpl o)
compareTo in interface Comparable<AttachmentImpl>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||