org.nuxeo.ecm.platform.wss.backend
Class NuxeoListItem
java.lang.Object
org.nuxeo.wss.spi.AbstractWSSListItem
org.nuxeo.ecm.platform.wss.backend.NuxeoListItem
- All Implemented Interfaces:
- WSSListItem
public class NuxeoListItem
- extends AbstractWSSListItem
- implements WSSListItem
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NuxeoListItem
public NuxeoListItem(DocumentModel doc,
java.lang.String corePathPrefix,
java.lang.String urlRoot)
getCreationDate
public java.util.Date getCreationDate()
- Specified by:
getCreationDate
in interface WSSListItem
getModificationDate
public java.util.Date getModificationDate()
- Specified by:
getModificationDate
in interface WSSListItem
checkOut
public void checkOut(java.lang.String userName)
throws WSSException
- Specified by:
checkOut
in interface WSSListItem
- Throws:
WSSException
getCheckoutUser
public java.lang.String getCheckoutUser()
- Specified by:
getCheckoutUser
in interface WSSListItem
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface WSSListItem
getEtag
public java.lang.String getEtag()
- Specified by:
getEtag
in interface WSSListItem
getLastModificator
public java.lang.String getLastModificator()
- Specified by:
getLastModificator
in interface WSSListItem
getName
public java.lang.String getName()
- Specified by:
getName
in interface WSSListItem
getSize
public int getSize()
- Specified by:
getSize
in interface WSSListItem
getStream
public java.io.InputStream getStream()
- Specified by:
getStream
in interface WSSListItem
getSubPath
public java.lang.String getSubPath()
- Specified by:
getSubPath
in interface WSSListItem
getRelativeFilePath
public java.lang.String getRelativeFilePath(java.lang.String siteRootPath)
- Specified by:
getRelativeFilePath
in interface WSSListItem
- Overrides:
getRelativeFilePath
in class AbstractWSSListItem
getType
public java.lang.String getType()
- Specified by:
getType
in interface WSSListItem
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface WSSListItem
setStream
public void setStream(java.io.InputStream is,
java.lang.String fileName)
throws WSSException
- Specified by:
setStream
in interface WSSListItem
- Throws:
WSSException
uncheckOut
public void uncheckOut(java.lang.String userName)
throws WSSException
- Specified by:
uncheckOut
in interface WSSListItem
- Throws:
WSSException
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface WSSListItem
- Overrides:
getDisplayName
in class AbstractWSSListItem
setVirtualName
public void setVirtualName(java.lang.String virtualName)
setVirtualRootNodeName
public void setVirtualRootNodeName(java.lang.String virtualRootNodeName)
getDoc
public DocumentModel getDoc()
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor
in interface WSSListItem
isFolderish
public boolean isFolderish()
- Specified by:
isFolderish
in interface WSSListItem
- Overrides:
isFolderish
in class AbstractWSSListItem
canCheckOut
public boolean canCheckOut(java.lang.String userName)
- Specified by:
canCheckOut
in interface WSSListItem
- Overrides:
canCheckOut
in class AbstractWSSListItem
canUnCheckOut
public boolean canUnCheckOut(java.lang.String userName)
- Specified by:
canUnCheckOut
in interface WSSListItem
- Overrides:
canUnCheckOut
in class AbstractWSSListItem
Copyright © 2010 Nuxeo SAS. All Rights Reserved.