org.nuxeo.wss.spi
Class AbstractWSSListItem
java.lang.Object
org.nuxeo.wss.spi.AbstractWSSListItem
- All Implemented Interfaces:
- WSSListItem
- Direct Known Subclasses:
- DummyWSSListItem, NuxeoListItem
public abstract class AbstractWSSListItem
- extends Object
- implements WSSListItem
Methods inherited from interface org.nuxeo.wss.spi.WSSListItem |
checkOut, getAuthor, getCheckoutUser, getCreationDate, getDescription, getEtag, getLastModificator, getModificationDate, getName, getSize, getStream, getSubPath, getType, setDescription, setStream, uncheckOut |
WSS_DATE_FORMAT
public static final SimpleDateFormat WSS_DATE_FORMAT
AbstractWSSListItem
public AbstractWSSListItem()
isFolderish
public boolean isFolderish()
- Specified by:
isFolderish
in interface WSSListItem
setIcon
public void setIcon(String icon)
- Specified by:
setIcon
in interface WSSListItem
getCreatedTS
public String getCreatedTS()
- Specified by:
getCreatedTS
in interface WSSListItem
getModifiedTS
public String getModifiedTS()
- Specified by:
getModifiedTS
in interface WSSListItem
getCheckoutTS
public String getCheckoutTS()
- Specified by:
getCheckoutTS
in interface WSSListItem
getCheckoutExpiryTS
public String getCheckoutExpiryTS()
- Specified by:
getCheckoutExpiryTS
in interface WSSListItem
getIcon
public String getIcon()
- Specified by:
getIcon
in interface WSSListItem
getSizeAsString
public String getSizeAsString()
- Specified by:
getSizeAsString
in interface WSSListItem
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface WSSListItem
getRelativeSubPath
public String getRelativeSubPath(String siteRootPath)
- Specified by:
getRelativeSubPath
in interface WSSListItem
getRelativeFilePath
public String getRelativeFilePath(String siteRootPath)
- Specified by:
getRelativeFilePath
in interface WSSListItem
isSite
public boolean isSite()
- Specified by:
isSite
in interface WSSListItem
isCheckOut
public boolean isCheckOut()
- Specified by:
isCheckOut
in interface WSSListItem
canCheckOut
public boolean canCheckOut(String userName)
- Specified by:
canCheckOut
in interface WSSListItem
canUnCheckOut
public boolean canUnCheckOut(String userName)
- Specified by:
canUnCheckOut
in interface WSSListItem
Copyright © 2011 Nuxeo SAS. All Rights Reserved.