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
NuxeoListItem
public NuxeoListItem(DocumentModel doc,
String corePathPrefix,
String urlRoot)
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interface WSSListItem
getModificationDate
public Date getModificationDate()
- Specified by:
getModificationDate
in interface WSSListItem
checkOut
public void checkOut(String userName)
throws WSSException
- Specified by:
checkOut
in interface WSSListItem
- Throws:
WSSException
getCheckoutUser
public String getCheckoutUser()
- Specified by:
getCheckoutUser
in interface WSSListItem
getDescription
public String getDescription()
- Specified by:
getDescription
in interface WSSListItem
getEtag
public String getEtag()
- Specified by:
getEtag
in interface WSSListItem
getLastModificator
public String getLastModificator()
- Specified by:
getLastModificator
in interface WSSListItem
getName
public String getName()
- Specified by:
getName
in interface WSSListItem
getSize
public int getSize()
- Specified by:
getSize
in interface WSSListItem
getStream
public InputStream getStream()
- Specified by:
getStream
in interface WSSListItem
getSubPath
public String getSubPath()
- Specified by:
getSubPath
in interface WSSListItem
getRelativeFilePath
public String getRelativeFilePath(String siteRootPath)
- Specified by:
getRelativeFilePath
in interface WSSListItem
- Overrides:
getRelativeFilePath
in class AbstractWSSListItem
getType
public String getType()
- Specified by:
getType
in interface WSSListItem
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface WSSListItem
setStream
public void setStream(InputStream is,
String fileName)
throws WSSException
- Specified by:
setStream
in interface WSSListItem
- Throws:
WSSException
uncheckOut
public void uncheckOut(String userName)
throws WSSException
- Specified by:
uncheckOut
in interface WSSListItem
- Throws:
WSSException
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface WSSListItem
- Overrides:
getDisplayName
in class AbstractWSSListItem
setVirtualName
public void setVirtualName(String virtualName)
setVirtualRootNodeName
public void setVirtualRootNodeName(String virtualRootNodeName)
getDoc
public DocumentModel getDoc()
getAuthor
public 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(String userName)
- Specified by:
canCheckOut
in interface WSSListItem
- Overrides:
canCheckOut
in class AbstractWSSListItem
canUnCheckOut
public boolean canUnCheckOut(String userName)
- Specified by:
canUnCheckOut
in interface WSSListItem
- Overrides:
canUnCheckOut
in class AbstractWSSListItem
Copyright © 2011 Nuxeo SAS. All Rights Reserved.