public class DummyWSSListItem extends AbstractWSSListItem implements WSSListItem
Constructor and Description |
---|
DummyWSSListItem(String name,
String description,
InputStream is) |
DummyWSSListItem(String name,
String description,
String basePath,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
checkOut(String userName) |
String |
getAuthor() |
String |
getCheckoutUser() |
Date |
getCreationDate() |
String |
getDescription() |
String |
getEtag() |
String |
getLastModificator() |
Date |
getModificationDate() |
String |
getName() |
int |
getSize() |
InputStream |
getStream() |
String |
getSubPath() |
String |
getType() |
void |
markAsSite() |
void |
setBinaryResourcePath(String binaryResourcePath) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setSize(int size) |
void |
setStream(InputStream stream,
String fileName) |
void |
setSubPath(String subPath) |
void |
setType(String type) |
void |
uncheckOut(String userName) |
canCheckOut, canUnCheckOut, getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getDisplayName, getIcon, getModifiedTS, getRelativeFilePath, getRelativeSubPath, getSizeAsString, isCheckOut, isFolderish, isSite, setIcon
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canCheckOut, canUnCheckOut, getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getDisplayName, getIcon, getModifiedTS, getRelativeFilePath, getRelativeSubPath, getSizeAsString, isCheckOut, isFolderish, isSite, setIcon
public DummyWSSListItem(String name, String description, InputStream is)
public DummyWSSListItem(String name, String description, String basePath, InputStream is)
public String getSubPath()
getSubPath
in interface WSSListItem
public void setSubPath(String subPath)
public String getDescription()
getDescription
in interface WSSListItem
public void setDescription(String description)
setDescription
in interface WSSListItem
public InputStream getStream()
getStream
in interface WSSListItem
public void setStream(InputStream stream, String fileName) throws WSSException
setStream
in interface WSSListItem
WSSException
public String getName()
getName
in interface WSSListItem
public void setName(String name)
public String getEtag()
getEtag
in interface WSSListItem
public String getType()
getType
in interface WSSListItem
public int getSize()
getSize
in interface WSSListItem
public void setSize(int size)
public void setType(String type)
public Date getCreationDate()
getCreationDate
in interface WSSListItem
public Date getModificationDate()
getModificationDate
in interface WSSListItem
public void setBinaryResourcePath(String binaryResourcePath)
public String getLastModificator()
getLastModificator
in interface WSSListItem
public void checkOut(String userName) throws WSSException
checkOut
in interface WSSListItem
WSSException
public void uncheckOut(String userName) throws WSSException
uncheckOut
in interface WSSListItem
WSSException
public String getCheckoutUser()
getCheckoutUser
in interface WSSListItem
public void markAsSite()
public String getAuthor()
getAuthor
in interface WSSListItem
Copyright © 2015 Nuxeo SA. All rights reserved.