public abstract class AttachmentImpl extends org.chromattic.ext.ntdef.NTFile implements 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()
public abstract void setTitle(String title)
public abstract String getFileType()
public abstract void setFileType(String fileType)
public abstract String getCreator()
public abstract void setCreator(String creator)
public Calendar getCreatedDate()
public long getWeightInBytes()
public Calendar getUpdatedDate()
public String getDownloadURL()
public String getFullTitle()
public abstract PageImpl getParentPage()
public abstract void remove()
public String getText()
public void setText(String text)
public boolean hasPermission(PermissionType permissionType)
public HashMap<String,String[]> getPermission() throws WikiException
WikiExceptionpublic void setPermission(HashMap<String,String[]> permissions) throws WikiException
WikiExceptionpublic 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 NTVersion checkin() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void checkout()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void restore(String versionName, boolean removeExisting) throws WikiException
WikiExceptionpublic org.chromattic.api.ChromatticSession getChromatticSession()
public javax.jcr.Node getJCRNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic abstract PageDescriptionMixin getPageDescriptionMixinByChromattic()
protected abstract void setPageDescriptionMixinByChromattic(PageDescriptionMixin mix)
protected abstract PageDescriptionMixin createPageDescriptionMixin()
public PageDescriptionMixin getPageDescriptionMixin()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.