|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.search.indexEngine.model.IndexEntryPK
public final class IndexEntryPK
An IndexEntryPK uniquely identify an entry in the web'activ index. An IndexEntryPK is set at the index entry creation time : when a web'activ's component adds a new element or document. This IndexEntryPK will be return later when the document matchs a query. A web'activ document is uniquely identified by :
Constructor Summary | |
---|---|
IndexEntryPK(String componentId,
String objectType,
String objectId)
|
|
IndexEntryPK(String space,
String component,
String objectType,
String objectId)
Deprecated. - parameter space is no more used |
Method Summary | |
---|---|
static IndexEntryPK |
create(String s)
Create a new IndexEntry from s. |
boolean |
equals(Object o)
To be equal two IndexEntryPK must have the same four parts (space, component, type, id). |
String |
getComponent()
Return the name of the component's instance which handles the object. |
String |
getObjectId()
Return the object id. |
String |
getObjectType()
Return the type of the indexed document. |
String |
getSpace()
Deprecated. - to use this method is forbidden |
int |
hashCode()
Returns the hash code of the String representation. |
String |
toString()
Returns a string which can be used later to recontruct the key with the create method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexEntryPK(String space, String component, String objectType, String objectId)
public IndexEntryPK(String componentId, String objectType, String objectId)
Method Detail |
---|
public String getSpace()
public String getComponent()
public String getObjectType()
public String getObjectId()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public static IndexEntryPK create(String s)
create(s).toString().equals(s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |