public class GCUBEProfileResource extends BaseDAIXResource
DAIXResource.MalformedResourceException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROOT_COLLECTION_NAME |
static java.lang.String |
TYPE |
Constructor and Description |
---|
GCUBEProfileResource() |
Modifier and Type | Method and Description |
---|---|
void |
deserializeFromIndexing(java.lang.String content)
Deserializes the content retrieved from the XML storage
|
java.lang.String |
getCollectionName() |
java.lang.String |
serializeForIndexing()
Creates a serialization of the resource to be indexed
|
void |
setCollectionName(java.lang.String collectionName) |
void |
setResourceType(java.lang.String type) |
equals, getContent, getResourceName, getResourceURI, hashCode, setContent, setContent, setResourceName, setResourceURI, toString, toStringFromElement
public static final java.lang.String TYPE
public static java.lang.String ROOT_COLLECTION_NAME
public java.lang.String getCollectionName() throws DAIXResource.MalformedResourceException
getCollectionName
in interface DAIXResource
getCollectionName
in class BaseDAIXResource
DAIXResource.MalformedResourceException
public void setCollectionName(java.lang.String collectionName)
setCollectionName
in interface DAIXResource
setCollectionName
in class BaseDAIXResource
collectionName
- the name of the collection including the resourcepublic void setResourceType(java.lang.String type)
type
- the resource type (if not set, it's extracted from the content, if any)public void deserializeFromIndexing(java.lang.String content) throws DAIXResource.MalformedResourceException
deserializeFromIndexing
in interface DAIXResource
deserializeFromIndexing
in class BaseDAIXResource
content
- the contentDAIXResource.MalformedResourceException
public java.lang.String serializeForIndexing()
serializeForIndexing
in interface DAIXResource
serializeForIndexing
in class BaseDAIXResource