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, setIconequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getIcon, getModifiedTS, getRelativeSubPath, getSizeAsString, isCheckOut, isSite, setIconpublic NuxeoListItem(DocumentModel doc, String corePathPrefix, String urlRoot)
public Date getCreationDate()
getCreationDate in interface WSSListItempublic Date getModificationDate()
getModificationDate in interface WSSListItempublic void checkOut(String userName) throws WSSException
checkOut in interface WSSListItemWSSExceptionpublic String getCheckoutUser()
getCheckoutUser in interface WSSListItempublic String getDescription()
getDescription in interface WSSListItempublic String getEtag()
getEtag in interface WSSListItempublic String getLastModificator()
getLastModificator in interface WSSListItempublic String getName()
getName in interface WSSListItempublic int getSize()
getSize in interface WSSListItempublic InputStream getStream()
getStream in interface WSSListItempublic String getSubPath()
getSubPath in interface WSSListItempublic String getRelativeFilePath(String siteRootPath)
getRelativeFilePath in interface WSSListItemgetRelativeFilePath in class AbstractWSSListItempublic String getType()
getType in interface WSSListItempublic void setDescription(String description)
setDescription in interface WSSListItempublic void setStream(InputStream is, String fileName) throws WSSException
setStream in interface WSSListItemWSSExceptionpublic void uncheckOut(String userName) throws WSSException
uncheckOut in interface WSSListItemWSSExceptionpublic String getDisplayName()
getDisplayName in interface WSSListItemgetDisplayName in class AbstractWSSListItempublic void setVirtualName(String virtualName)
public void setVirtualRootNodeName(String virtualRootNodeName)
public DocumentModel getDoc()
public String getAuthor()
getAuthor in interface WSSListItempublic boolean isFolderish()
isFolderish in interface WSSListItemisFolderish in class AbstractWSSListItempublic boolean canCheckOut(String userName)
canCheckOut in interface WSSListItemcanCheckOut in class AbstractWSSListItempublic boolean canUnCheckOut(String userName)
canUnCheckOut in interface WSSListItemcanUnCheckOut in class AbstractWSSListItemCopyright © 2014 Nuxeo SA. All rights reserved.