com.atlassian.bonnie.search
Class MockSearchableAttachment

java.lang.Object
  extended bycom.atlassian.bonnie.search.MockSearchableObject
      extended bycom.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


Constructor Summary
MockSearchableAttachment()
           
 
Method Summary
 java.lang.String getComment()
           
 java.io.InputStream getContentsAsStream()
           
 java.lang.String getContentType()
           
 java.lang.String getDownloadPath()
           
 java.lang.String getFileName()
           
 java.lang.String getNiceFileSize()
           
 java.lang.String getNiceType()
           
 void setComment(java.lang.String comment)
           
 void setContentType(java.lang.String contentType)
           
 void setDownloadPath(java.lang.String downloadPath)
           
 void setFileName(java.lang.String fileName)
           
 void setNiceFileSize(java.lang.String niceFileSize)
           
 void setNiceType(java.lang.String niceType)
           
 
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
 

Constructor Detail

MockSearchableAttachment

public MockSearchableAttachment()
Method Detail

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.