com.atlassian.bonnie.search
Class MockSearchableAttachment
java.lang.Object
com.atlassian.bonnie.search.MockSearchableObject
com.atlassian.bonnie.search.MockSearchableAttachment
- All Implemented Interfaces:
- com.atlassian.bonnie.Searchable, com.atlassian.bonnie.search.SearchableAttachment
- public class MockSearchableAttachment
- extends MockSearchableObject
- implements com.atlassian.bonnie.search.SearchableAttachment
| Methods inherited from class com.atlassian.bonnie.search.MockSearchableObject |
getDescription, getId, getKeyword1, getKeyword2, getSearchableDependants, getTitle, isIndexable, setDescription, setId, setIndexable, setKeyword1, setKeyword2, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bonnie.Searchable |
getId, getSearchableDependants, isIndexable |
MockSearchableAttachment
public MockSearchableAttachment()
getNiceType
public java.lang.String getNiceType()
- Specified by:
getNiceType in interface com.atlassian.bonnie.search.SearchableAttachment
setNiceType
public void setNiceType(java.lang.String niceType)
getNiceFileSize
public java.lang.String getNiceFileSize()
- Specified by:
getNiceFileSize in interface com.atlassian.bonnie.search.SearchableAttachment
setNiceFileSize
public void setNiceFileSize(java.lang.String niceFileSize)
getDownloadPath
public java.lang.String getDownloadPath()
- Specified by:
getDownloadPath in interface com.atlassian.bonnie.search.SearchableAttachment
setDownloadPath
public void setDownloadPath(java.lang.String downloadPath)
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface com.atlassian.bonnie.search.SearchableAttachment
setContentType
public void setContentType(java.lang.String contentType)
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName in interface com.atlassian.bonnie.search.SearchableAttachment
setFileName
public void setFileName(java.lang.String fileName)
getContentsAsStream
public java.io.InputStream getContentsAsStream()
throws java.io.IOException
- Specified by:
getContentsAsStream in interface com.atlassian.bonnie.search.SearchableAttachment
- Throws:
java.io.IOException
getComment
public java.lang.String getComment()
- Specified by:
getComment in interface com.atlassian.bonnie.search.SearchableAttachment
setComment
public void setComment(java.lang.String comment)
Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.