atg.repository.search.indexing
Class ConfigStatePersister.ConfigState

java.lang.Object
  extended by atg.repository.search.indexing.ConfigStatePersister.ConfigState
Enclosing class:
ConfigStatePersister

public class ConfigStatePersister.ConfigState
extends java.lang.Object

Class which represents the configuration state.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ConfigStatePersister.ConfigState(RepositoryItem pItem)
          Create a config state from the corresponding property value.
 
Method Summary
 int getClaimedGeneration()
          Get the claimed generation.
 java.lang.String getConfigPath()
          Get the configuration path.
 java.lang.String getContentId()
          Possibly empty content ID
 int getGeneration()
          Get the current generation.
 java.sql.Timestamp getLastActivity()
          Get the last activity time.
 java.sql.Timestamp getLastFullIndex()
          Get the last full index time.
 java.sql.Timestamp getLastIncrementalIndex()
          Get the last incremental index.
 int getNextIncrementalGeneration()
          Get the next incremental generation.
 java.lang.String getUniqueServerId()
          Get unique server id...
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ConfigStatePersister.ConfigState

public ConfigStatePersister.ConfigState(RepositoryItem pItem)
Create a config state from the corresponding property value.

Method Detail

getGeneration

public int getGeneration()
Get the current generation.


getClaimedGeneration

public int getClaimedGeneration()
Get the claimed generation.


getConfigPath

public java.lang.String getConfigPath()
Get the configuration path.


getContentId

public java.lang.String getContentId()
Possibly empty content ID


getUniqueServerId

public java.lang.String getUniqueServerId()
Get unique server id... only set if the configuration has been claimed.


getLastIncrementalIndex

public java.sql.Timestamp getLastIncrementalIndex()
Get the last incremental index.


getLastFullIndex

public java.sql.Timestamp getLastFullIndex()
Get the last full index time.


getLastActivity

public java.sql.Timestamp getLastActivity()
Get the last activity time.


getNextIncrementalGeneration

public int getNextIncrementalGeneration()
Get the next incremental generation.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object