org.nuxeo.wss.spi.dummy
Class DummyWSSListItem
java.lang.Object
org.nuxeo.wss.spi.AbstractWSSListItem
org.nuxeo.wss.spi.dummy.DummyWSSListItem
- All Implemented Interfaces:
- WSSListItem
public class DummyWSSListItem
- extends AbstractWSSListItem
- implements WSSListItem
Methods inherited from class org.nuxeo.wss.spi.AbstractWSSListItem |
canCheckOut, canUnCheckOut, getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getDisplayName, getIcon, getModifiedTS, getRelativeFilePath, getRelativeSubPath, getSizeAsString, isCheckOut, isFolderish, isSite, setIcon |
Methods inherited from interface org.nuxeo.wss.spi.WSSListItem |
canCheckOut, canUnCheckOut, getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getDisplayName, getIcon, getModifiedTS, getRelativeFilePath, getRelativeSubPath, getSizeAsString, isCheckOut, isFolderish, isSite, setIcon |
DummyWSSListItem
public DummyWSSListItem(String name,
String description,
InputStream is)
DummyWSSListItem
public DummyWSSListItem(String name,
String description,
String basePath,
InputStream is)
getSubPath
public String getSubPath()
- Specified by:
getSubPath
in interface WSSListItem
setSubPath
public void setSubPath(String subPath)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface WSSListItem
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface WSSListItem
getStream
public InputStream getStream()
- Specified by:
getStream
in interface WSSListItem
setStream
public void setStream(InputStream stream,
String fileName)
throws WSSException
- Specified by:
setStream
in interface WSSListItem
- Throws:
WSSException
getName
public String getName()
- Specified by:
getName
in interface WSSListItem
setName
public void setName(String name)
getEtag
public String getEtag()
- Specified by:
getEtag
in interface WSSListItem
getType
public String getType()
- Specified by:
getType
in interface WSSListItem
getSize
public int getSize()
- Specified by:
getSize
in interface WSSListItem
setSize
public void setSize(int size)
setType
public void setType(String type)
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interface WSSListItem
getModificationDate
public Date getModificationDate()
- Specified by:
getModificationDate
in interface WSSListItem
setBinaryResourcePath
public void setBinaryResourcePath(String binaryResourcePath)
getLastModificator
public String getLastModificator()
- Specified by:
getLastModificator
in interface WSSListItem
checkOut
public void checkOut(String userName)
throws WSSException
- Specified by:
checkOut
in interface WSSListItem
- Throws:
WSSException
uncheckOut
public void uncheckOut(String userName)
throws WSSException
- Specified by:
uncheckOut
in interface WSSListItem
- Throws:
WSSException
getCheckoutUser
public String getCheckoutUser()
- Specified by:
getCheckoutUser
in interface WSSListItem
markAsSite
public void markAsSite()
getAuthor
public String getAuthor()
- Specified by:
getAuthor
in interface WSSListItem
Copyright © 2011 Nuxeo SAS. All Rights Reserved.