public class NuxeoListItem extends AbstractWSSListItem implements WSSListItem
Constructor and Description |
---|
NuxeoListItem(DocumentModel doc,
String corePathPrefix,
String urlRoot) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCheckOut(String userName) |
boolean |
canUnCheckOut(String userName) |
void |
checkOut(String userName) |
String |
getAuthor() |
String |
getCheckoutUser() |
Date |
getCreationDate() |
String |
getDescription() |
String |
getDisplayName() |
DocumentModel |
getDoc() |
String |
getEtag() |
String |
getLastModificator() |
Date |
getModificationDate() |
String |
getName() |
String |
getRelativeFilePath(String siteRootPath) |
int |
getSize() |
InputStream |
getStream() |
String |
getSubPath() |
String |
getType() |
boolean |
isFolderish() |
void |
setDescription(String description) |
void |
setStream(InputStream is,
String fileName) |
void |
setVirtualName(String virtualName) |
void |
setVirtualRootNodeName(String virtualRootNodeName) |
void |
uncheckOut(String userName) |
getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getIcon, getModifiedTS, getRelativeSubPath, getSizeAsString, isCheckOut, isSite, setIcon
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getIcon, getModifiedTS, getRelativeSubPath, getSizeAsString, isCheckOut, isSite, setIcon
public NuxeoListItem(DocumentModel doc, String corePathPrefix, String urlRoot)
public Date getCreationDate()
getCreationDate
in interface WSSListItem
public Date getModificationDate()
getModificationDate
in interface WSSListItem
public void checkOut(String userName) throws WSSException
checkOut
in interface WSSListItem
WSSException
public String getCheckoutUser()
getCheckoutUser
in interface WSSListItem
public String getDescription()
getDescription
in interface WSSListItem
public String getEtag()
getEtag
in interface WSSListItem
public String getLastModificator()
getLastModificator
in interface WSSListItem
public String getName()
getName
in interface WSSListItem
public int getSize()
getSize
in interface WSSListItem
public InputStream getStream()
getStream
in interface WSSListItem
public String getSubPath()
getSubPath
in interface WSSListItem
public String getRelativeFilePath(String siteRootPath)
getRelativeFilePath
in interface WSSListItem
getRelativeFilePath
in class AbstractWSSListItem
public String getType()
getType
in interface WSSListItem
public void setDescription(String description)
setDescription
in interface WSSListItem
public void setStream(InputStream is, String fileName) throws WSSException
setStream
in interface WSSListItem
WSSException
public void uncheckOut(String userName) throws WSSException
uncheckOut
in interface WSSListItem
WSSException
public String getDisplayName()
getDisplayName
in interface WSSListItem
getDisplayName
in class AbstractWSSListItem
public void setVirtualName(String virtualName)
public void setVirtualRootNodeName(String virtualRootNodeName)
public DocumentModel getDoc()
public String getAuthor()
getAuthor
in interface WSSListItem
public boolean isFolderish()
isFolderish
in interface WSSListItem
isFolderish
in class AbstractWSSListItem
public boolean canCheckOut(String userName)
canCheckOut
in interface WSSListItem
canCheckOut
in class AbstractWSSListItem
public boolean canUnCheckOut(String userName)
canUnCheckOut
in interface WSSListItem
canUnCheckOut
in class AbstractWSSListItem
Copyright © 2014 Nuxeo SA. All rights reserved.