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, setIconequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanCheckOut, canUnCheckOut, getCheckoutExpiryTS, getCheckoutTS, getCreatedTS, getDisplayName, getIcon, getModifiedTS, getRelativeFilePath, getRelativeSubPath, getSizeAsString, isCheckOut, isFolderish, isSite, setIconpublic DummyWSSListItem(String name, String description, InputStream is)
public DummyWSSListItem(String name, String description, String basePath, InputStream is)
public String getSubPath()
getSubPath in interface WSSListItempublic void setSubPath(String subPath)
public String getDescription()
getDescription in interface WSSListItempublic void setDescription(String description)
setDescription in interface WSSListItempublic InputStream getStream()
getStream in interface WSSListItempublic void setStream(InputStream stream, String fileName) throws WSSException
setStream in interface WSSListItemWSSExceptionpublic String getName()
getName in interface WSSListItempublic void setName(String name)
public String getEtag()
getEtag in interface WSSListItempublic String getType()
getType in interface WSSListItempublic int getSize()
getSize in interface WSSListItempublic void setSize(int size)
public void setType(String type)
public Date getCreationDate()
getCreationDate in interface WSSListItempublic Date getModificationDate()
getModificationDate in interface WSSListItempublic void setBinaryResourcePath(String binaryResourcePath)
public String getLastModificator()
getLastModificator in interface WSSListItempublic void checkOut(String userName) throws WSSException
checkOut in interface WSSListItemWSSExceptionpublic void uncheckOut(String userName) throws WSSException
uncheckOut in interface WSSListItemWSSExceptionpublic String getCheckoutUser()
getCheckoutUser in interface WSSListItempublic void markAsSite()
public String getAuthor()
getAuthor in interface WSSListItemCopyright © 2011 Nuxeo SA. All Rights Reserved.