public abstract class AttachmentImpl extends org.chromattic.ext.ntdef.NTFile implements Attachment, Comparable<AttachmentImpl>
| Constructor and Description |
|---|
AttachmentImpl() |
createResource, getContent, getContentResource, getLastModified, setContent, setContentResourcepublic 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()
AttachmentgetCreator in interface Attachmentpublic abstract void setCreator(String creator)
public Calendar getCreatedDate()
AttachmentgetCreatedDate in interface Attachmentpublic long getWeightInBytes()
AttachmentgetWeightInBytes in interface Attachmentpublic Calendar getUpdatedDate()
AttachmentgetUpdatedDate in interface Attachmentpublic String getDownloadURL()
AttachmentgetDownloadURL in interface Attachmentpublic String getFullTitle()
public abstract PageImpl getParentPage()
public abstract void remove()
public String getText()
AttachmentgetText in interface Attachmentpublic void setText(String text)
setText in interface Attachmentpublic boolean hasPermission(PermissionType permissionType) throws Exception
hasPermission in interface AttachmentExceptionpublic HashMap<String,String[]> getPermission() throws Exception
getPermission in interface AttachmentExceptionpublic void setPermission(HashMap<String,String[]> permissions) throws Exception
setPermission in interface AttachmentExceptionpublic int compareTo(AttachmentImpl o)
compareTo in interface Comparable<AttachmentImpl>public abstract VersionableMixin getVersionableMixinByChromattic()
protected abstract void setVersionableMixinByChromattic(VersionableMixin mix)
protected abstract VersionableMixin createVersionableMixin()
public VersionableMixin getVersionableMixin()
public void makeVersionable()
public void restore(String versionName, boolean removeExisting) throws Exception
Exceptionpublic org.chromattic.api.ChromatticSession getChromatticSession()
public abstract PageDescriptionMixin getPageDescriptionMixinByChromattic()
protected abstract void setPageDescriptionMixinByChromattic(PageDescriptionMixin mix)
protected abstract PageDescriptionMixin createPageDescriptionMixin()
public PageDescriptionMixin getPageDescriptionMixin()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.