Package lumis.search
Class SearchContentAttachment
- java.lang.Object
-
- lumis.search.SearchContentAttachment
-
- All Implemented Interfaces:
Serializable
,Cloneable
@Deprecated @StableMinor(version="14.2", sinceVersion="4.2.2") public class SearchContentAttachment extends Object implements Serializable, Cloneable
Deprecated.Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.Attachment to aSearchContent
object. Contains the information about a single attachment.- Since:
- 4.2.2
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchContentAttachment()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SearchContentAttachment
clone()
Deprecated.Clones thisSearchContentAttachment
instance.byte[]
getContent()
Deprecated.Returns the content data for this attachment.String
getContentType()
Deprecated.Returns the MIME content type for this attachment.String
getName()
Deprecated.Returns the name for this attachment.String
getUrl()
Deprecated.Returns the URL for this attachment.void
setContent(byte[] content)
Deprecated.Sets the content data for this attachment.void
setContentType(String contentType)
Deprecated.Sets the MIME content type for this attachment.void
setName(String name)
Deprecated.Sets the name for this attachment.void
setUrl(String url)
Deprecated.Sets the URL for this attachment.
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.Returns the name for this attachment.- Returns:
- the name.
- Since:
- 4.2.2
-
setName
public void setName(String name)
Deprecated.Sets the name for this attachment.- Parameters:
name
- the name.- Since:
- 4.2.2
-
getContentType
public String getContentType()
Deprecated.Returns the MIME content type for this attachment.- Returns:
- the MIME content type.
- Since:
- 4.2.2
-
setContentType
public void setContentType(String contentType)
Deprecated.Sets the MIME content type for this attachment.- Parameters:
contentType
- the MIME content type.- Since:
- 4.2.2
-
getContent
public byte[] getContent()
Deprecated.Returns the content data for this attachment.- Returns:
- the content data for this attachment.
- Since:
- 4.2.2
-
setContent
public void setContent(byte[] content)
Deprecated.Sets the content data for this attachment.- Parameters:
content
- the content data.- Since:
- 4.2.2
-
getUrl
public String getUrl()
Deprecated.Returns the URL for this attachment.- Returns:
- url the URL or
null
if no URL was specified for this attachment. - Since:
- 4.2.2
-
setUrl
public void setUrl(String url)
Deprecated.Sets the URL for this attachment.- Parameters:
url
- the URL.- Since:
- 4.2.2
-
clone
public SearchContentAttachment clone()
Deprecated.Clones thisSearchContentAttachment
instance.
-
-