- GenericDocument - Class in com.google.enterprise.connector.util.diffing
-
- GenericDocument() - Constructor for class com.google.enterprise.connector.util.diffing.GenericDocument
-
Constructs a document with no properties.
- getAllAttributes(Element, String) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Get the attribute values of a given name/value pair for
the first XML org.w3c.dom.Element
of given name.
- getAllElementsByTagName(Element, String) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Get a list of all child text Elements of given name directly
under a given org.w3c.dom.Element
.
- getAskmeAbout() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets topics user can be asked about.
- getAuthenticationManager() - Method in interface com.google.enterprise.connector.spi.Session
-
- getAuthenticationManager() - Method in class com.google.enterprise.connector.util.diffing.DiffingConnector
-
- getAuthorizationManager() - Method in interface com.google.enterprise.connector.spi.Session
-
- getAuthorizationManager() - Method in class com.google.enterprise.connector.util.diffing.DiffingConnector
-
- getBinaryValue(InputStream) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying binary data.
- getBinaryValue(InputStreamFactory) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying binary data.
- getBinaryValue(byte[]) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying binary data.
- getBooleanValue(boolean) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a boolean.
- getBooleanValue(String) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a boolean.
- getCaseSensitivityType() - Method in class com.google.enterprise.connector.spi.Principal
-
Gets how cases are handled for the principal.
- getCdata(Element) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Extracts the first CDATA child from the given org.w3c.dom.Element
.
- getCheckpointAndChangeQueue() - Method in interface com.google.enterprise.connector.util.diffing.DocumentSnapshotRepositoryMonitorManager
-
- getCheckpointAndChangeQueue() - Method in class com.google.enterprise.connector.util.diffing.DocumentSnapshotRepositoryMonitorManagerImpl
-
- getCheckpointAndChangeQueue() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getChecksum(InputStream) - Method in class com.google.enterprise.connector.util.Base64ChecksumGenerator
-
Returns a Base64 encoded representation of the message digest
checksum of the input stream.
- getChecksum(InputStream) - Method in class com.google.enterprise.connector.util.BasicChecksumGenerator
-
Returns a hexadecimal string representation of the message digest
checksum of the input stream.
- getChecksum(String) - Method in class com.google.enterprise.connector.util.BasicChecksumGenerator
-
Returns a hexadecimal string representation of the message digest
checksum of the input string.
- getChecksum(InputStream) - Method in interface com.google.enterprise.connector.util.ChecksumGenerator
-
Return a checksum of the bytes read from the supplied input stream.
- getChecksum(String) - Method in interface com.google.enterprise.connector.util.ChecksumGenerator
-
Return a checksum of the bytes of the supplied input string.
- getCleanCount() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getColleagues() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets list of colleagues.
- getColleagueXml() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets colleague list as XML of the form below:
- getConfigData() - Method in class com.google.enterprise.connector.spi.ConfigureResponse
-
Gets the config data.
- getConfigForm(Locale) - Method in interface com.google.enterprise.connector.spi.ConnectorType
-
Get initial configuration form snippet.
- getConfigForm(Locale) - Method in class com.google.enterprise.connector.spi.SimpleConnectorType
-
- getConnection() - Method in class com.google.enterprise.connector.util.database.DatabaseConnectionPool
-
Returns a Connection
from the connection pool.
- getConnectionPool() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
- getContent(String) - Method in interface com.google.enterprise.connector.spi.Retriever
-
Return an InputStream
that may be used to access content for the
document identified by docid
.
- getData() - Method in class com.google.enterprise.connector.spi.AuthenticationResponse
-
Get the client data.
- getDatabaseResourceBundle() - Method in interface com.google.enterprise.connector.spi.LocalDatabase
-
Gets a
DatabaseResourceBundle
through which the connector
implementor can get database-specific resources, such as SQL.
- getDatabaseType() - Method in interface com.google.enterprise.connector.spi.LocalDatabase
-
- getDatabaseType() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
- getDataSource() - Method in interface com.google.enterprise.connector.spi.LocalDatabase
-
Gets a DataSource
which the connector implementer can use for any
purpose.
- getDataSource() - Method in class com.google.enterprise.connector.util.database.DatabaseConnectionPool
-
Returns the JDBC DataSource
that owns these Connections
.
- getDataSource() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
Return the underlying DataSource
for the database instance.
- getDateValue(Calendar) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a date.
- getDelayBetweenTwoScansInMillis() - Method in interface com.google.enterprise.connector.util.diffing.ChangeQueue.QueuePropertyFetcher
-
Gets the delay to add between two scans.
- getDescription() - Method in interface com.google.enterprise.connector.spi.LocalDatabase
-
Returns a String giving a description of the database.
- getDescription() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
Return a description string for this database.
- getDocid() - Method in class com.google.enterprise.connector.spi.AuthorizationResponse
-
Gets the docid.
- getDocTableName() - Method in interface com.google.enterprise.connector.spi.LocalDocumentStore
-
Deprecated.
Returns the table name of the underlying implementation table.
- getDocument() - Method in class com.google.enterprise.connector.util.diffing.DeleteDocumentHandle
-
- getDocument() - Method in interface com.google.enterprise.connector.util.diffing.DocumentHandle
-
Returns the non-
null
Document
for applying this change
to the Google Search Appliance.
- getDocumentId() - Method in class com.google.enterprise.connector.util.diffing.DeleteDocumentHandle
-
- getDocumentId() - Method in interface com.google.enterprise.connector.util.diffing.DocumentHandle
-
Returns the Document's id.
- getDocumentId() - Method in interface com.google.enterprise.connector.util.diffing.DocumentSnapshot
-
Returns the unique ID for the document.
- getDocumentIterator() - Method in interface com.google.enterprise.connector.spi.LocalDocumentStore
-
Deprecated.
Returns an iterator of all documents in the store created by this
connector instance, in sorted order by docid.
- getDocumentIterator(String) - Method in interface com.google.enterprise.connector.spi.LocalDocumentStore
-
Deprecated.
Returns an iterator of all documents in the store created by this
connector instance whose docids are >
the specified docid,
in sorted order by docid.
- getDomain() - Method in interface com.google.enterprise.connector.spi.AuthenticationIdentity
-
Gets the domain.
- getDomain() - Method in class com.google.enterprise.connector.spi.SimpleAuthenticationIdentity
-
- getDoubleValue(double) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying an integer.
- getEmail() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets emailId of colleague.
- getFileDescriptor() - Method in class com.google.enterprise.connector.util.diffing.SnapshotWriter
-
- getFirstAttribute(Element, String, String) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Get the attribute value of a given attribute name for
the first XML org.w3c.dom.Element
of given name.
- getFirstElementByTagName(Element, String) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Get text data of first XML org.w3c.dom.Element
of given name.
- getFormSnippet() - Method in class com.google.enterprise.connector.spi.ConfigureResponse
-
Gets the form snippet.
- getGroup() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets work group of colleague.
- getGroups() - Method in class com.google.enterprise.connector.spi.AuthenticationResponse
-
Gets the groups to which the user belongs.
- getGuaranteeCount() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getIdentity() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets identity of colleague.
- getInputStream() - Method in class com.google.enterprise.connector.util.FileInputStreamFactory
-
- getInputStream() - Method in interface com.google.enterprise.connector.util.InputStreamFactory
-
Returns an InputStream.
- getInputStream() - Method in class com.google.enterprise.connector.util.UrlInputStreamFactory
-
- getJson() - Method in class com.google.enterprise.connector.util.diffing.MonitorCheckpoint
-
- getLister() - Method in interface com.google.enterprise.connector.spi.ListerAware
-
Return a
Lister
that may be used to supply documents for indexing.
- getLocalDatabase() - Method in interface com.google.enterprise.connector.spi.ConnectorPersistentStore
-
Gets a
LocalDatabase
through which the connector can create and
alter private data.
- getLocalDocumentStore() - Method in interface com.google.enterprise.connector.spi.ConnectorPersistentStore
-
- getLongValue(long) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying an integer.
- getMajorNumber() - Method in class com.google.enterprise.connector.util.diffing.DiffingConnectorCheckpoint
-
- getMaxTableNameLength() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
Returns the maximum table name length for this database vendor.
- getMessage() - Method in class com.google.enterprise.connector.spi.ConfigureResponse
-
Gets the message.
- getMessage() - Method in exception com.google.enterprise.connector.spi.DocumentAcceptorException
-
Returns the detail message, including messages from nested exceptions
if any.
- getMessage() - Method in exception com.google.enterprise.connector.spi.RepositoryException
-
Returns the detail message, including messages from nested exceptions
if any.
- getMetaData(String) - Method in interface com.google.enterprise.connector.spi.Retriever
-
Return a
Document
instance populated with meta-data for the
document identified by
docid
.
- getMimeType(String, byte[]) - Method in class com.google.enterprise.connector.util.MimeTypeDetector
-
Returns the MIME type for the document with the provided filename and/or
content.
- getMimeType(String, InputStreamFactory) - Method in class com.google.enterprise.connector.util.MimeTypeDetector
-
Returns the MIME type for the document with the provided filename or
content read from an InputStream
.
- getMinorNumber() - Method in class com.google.enterprise.connector.util.diffing.DiffingConnectorCheckpoint
-
- getMonitorName() - Method in class com.google.enterprise.connector.util.diffing.MonitorCheckpoint
-
- getName() - Method in class com.google.enterprise.connector.spi.Principal
-
Gets the principal name.
- getName() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets name of colleague.
- getName() - Method in interface com.google.enterprise.connector.util.diffing.SnapshotRepository
-
- getNamespace() - Method in class com.google.enterprise.connector.spi.Principal
-
Gets the principal namespace.
- getNextChange() - Method in class com.google.enterprise.connector.util.diffing.ChangeQueue
-
Gets the next available change from the ChangeQueue.
- getNextChange() - Method in interface com.google.enterprise.connector.util.diffing.ChangeSource
-
- getOffset1() - Method in class com.google.enterprise.connector.util.diffing.MonitorCheckpoint
-
- getOffset2() - Method in class com.google.enterprise.connector.util.diffing.MonitorCheckpoint
-
- getOldestSnapsotToKeep() - Method in class com.google.enterprise.connector.util.diffing.SnapshotStore
-
- getOptionalElementByTagName(Element, String) - Static method in class com.google.enterprise.connector.util.XmlParseUtil
-
Get text data of an optional XML org.w3c.dom.Element
of given name.
- getOrgUrl() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets organization URL of the user.
- getOutput() - Method in class com.google.enterprise.connector.util.diffing.SnapshotWriter
-
- getPassword() - Method in interface com.google.enterprise.connector.spi.AuthenticationIdentity
-
Gets the password.
- getPassword() - Method in class com.google.enterprise.connector.spi.SimpleAuthenticationIdentity
-
- getPastProjects() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets user's past projects.
- getPath() - Method in class com.google.enterprise.connector.util.diffing.SnapshotReader
-
- getPath() - Method in class com.google.enterprise.connector.util.diffing.SnapshotWriter
-
- getPictureUrl() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets URL of the profile picture.
- getPopulatedConfigForm(Map<String, String>, Locale) - Method in interface com.google.enterprise.connector.spi.ConnectorType
-
Get populated configuration form snippet.
- getPopulatedConfigForm(Map<String, String>, Locale) - Method in class com.google.enterprise.connector.spi.SimpleConnectorType
-
- getPrincipalType() - Method in class com.google.enterprise.connector.spi.Principal
-
Gets the principal type.
- getPrincipalValue(String) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a principal.
- getPrincipalValue(Principal) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a principal.
- getProductName() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
Return a sanitzed version of the vendor product name.
- getProperty(String) - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets a list of values for a property, the list may be null.
- getPropertyNames() - Method in interface com.google.enterprise.connector.spi.Document
-
Gets the set of names of all
Properties
in this
Document
.
- getPropertyNames() - Method in class com.google.enterprise.connector.spi.SecureDocument
-
Gets the set of names of all
Properties
in this
Document
.
- getPropertyNames() - Method in class com.google.enterprise.connector.spi.SimpleDocument
-
- getPropertyNames() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets the set of names of all
Properties
in this
Document
.
- getPropertyNames() - Method in class com.google.enterprise.connector.util.diffing.GenericDocument
-
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.AbstractDocumentFilter
-
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.AddPropertyFilter
-
Gets the set of names of all
Properties
in the
Document
, including any new Properties that might be
added.
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.CopyPropertyFilter
-
Gets the set of names of all
Properties
in the
Document
, including any new Properties that might be
produced by copying other Properties.
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.DeletePropertyFilter
-
Gets the set of names of all
Properties
in the
Document
, removing the names of deleted Properties from
the Set returned by the
source
Document
.
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.MovePropertyFilter
-
Gets the set of names of all
Properties
in the
Document
, substituting original names of renamed Properties
with the new name.
- getPropertyNames(Document) - Method in class com.google.enterprise.connector.util.filter.SkipDocumentFilter
-
- getPropertyValues(Document, String) - Method in class com.google.enterprise.connector.util.filter.AbstractDocumentFilter
-
Return a mutable list of all the existing
Values
of the named
Property
.
- getPublic() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets whether profile is public.
- getQueueSize() - Method in interface com.google.enterprise.connector.util.diffing.ChangeQueue.QueuePropertyFetcher
-
Gets the queue size.
- getRecordCount() - Method in class com.google.enterprise.connector.util.diffing.SnapshotWriter
-
- getRecordNumber() - Method in class com.google.enterprise.connector.util.diffing.SnapshotReader
-
- getResource(String) - Method in class com.google.enterprise.connector.util.database.testing.TestResourceClassLoader
-
- getResource(String) - Method in class com.google.enterprise.connector.util.database.testing.TestResourceClassLoader
-
- getResourceBundle(String, String, ClassLoader) - Method in class com.google.enterprise.connector.util.database.DatabaseResourceBundleManager
-
Gets a resource bundle using the specified baseName
, and the
specified resourceBundleExtension
.
- getResourceBundleExtension() - Method in class com.google.enterprise.connector.util.database.JdbcDatabase
-
Returns the
DatabaseResourceBundle
extension that may be added
to a
ResourceBundle baseName
to build the name of the resource
that is specific to the database implementation identified by this
JdbcDatabase
instance.
- getRetriever() - Method in interface com.google.enterprise.connector.spi.RetrieverAware
-
Return a
Retriever
that may be used to access content for
specific documents.
- getRetryDelay() - Method in interface com.google.enterprise.connector.spi.TraversalSchedule
-
Returns the number of seconds to delay after finding no new content.
- getSingleValue(Document, String) - Static method in class com.google.enterprise.connector.spi.Value
-
Convenience function for access to a single named value from a
Document
.
- getSingleValueString(Document, String) - Static method in class com.google.enterprise.connector.spi.Value
-
Convenience function for access to a single string value from a
Document
.
- getSkills() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets skills of user.
- getSnapshotNumber() - Method in class com.google.enterprise.connector.util.diffing.MonitorCheckpoint
-
- getSnapshotNumber() - Method in class com.google.enterprise.connector.util.diffing.SnapshotReader
-
- getStartCount() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getStatus() - Method in class com.google.enterprise.connector.spi.AuthorizationResponse
-
Gets the status.
- getStatusCode() - Method in exception com.google.enterprise.connector.util.UrlValidatorException
-
Gets the HTTP status code.
- getStopCount() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getString(String) - Method in interface com.google.enterprise.connector.spi.DatabaseResourceBundle
-
Gets a resource that is specific to the active database implementation.
- getString(String) - Method in class com.google.enterprise.connector.util.database.DatabasePropertyResourceBundle
-
Gets a string for the given key from this resource bundle or one of
its parents.
- getStringArray(String) - Method in interface com.google.enterprise.connector.spi.DatabaseResourceBundle
-
- getStringArray(String) - Method in class com.google.enterprise.connector.util.database.DatabasePropertyResourceBundle
-
Gets an array of Strings for the given key
from this resource
bundle or one of its parents.
- getStringValue(String) - Static method in class com.google.enterprise.connector.spi.Value
-
Creates a value carrying a String.
- getThreadCount() - Method in interface com.google.enterprise.connector.util.diffing.DocumentSnapshotRepositoryMonitorManager
-
- getThreadCount() - Method in class com.google.enterprise.connector.util.diffing.DocumentSnapshotRepositoryMonitorManagerImpl
-
- getThreadCount() - Method in class com.google.enterprise.connector.util.diffing.testing.FakeDocumentSnapshotRepositoryMonitorManager
-
- getTimeMillis() - Method in interface com.google.enterprise.connector.util.Clock
-
Return the current time, in milliseconds.
- getTimeMillis() - Method in class com.google.enterprise.connector.util.SystemClock
-
- getTimeMillis() - Method in class com.google.enterprise.connector.util.testing.AdjustableClock
-
Return the current time, in milliseconds.
- getTimeoutMillis() - Method in interface com.google.enterprise.connector.spi.HasTimeout
-
Deprecated.
Gets the connector's preferred timeout.
- getTitle() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets title of colleague.
- getTraversalContext() - Method in class com.google.enterprise.connector.util.diffing.TraversalContextManager
-
- getTraversalManager() - Method in interface com.google.enterprise.connector.spi.Session
-
- getTraversalManager() - Method in class com.google.enterprise.connector.util.diffing.DiffingConnector
-
- getTraversalRate() - Method in interface com.google.enterprise.connector.spi.TraversalSchedule
-
Returns the target traversal rate in documents per minute.
- getUpdate(DocumentSnapshot) - Method in interface com.google.enterprise.connector.util.diffing.DocumentSnapshot
-
Returns a
DocumentHandle
for updating the referenced
document on the GSA or
null
if the document on the GSA
does not need updating.
- getUrl() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument.ColleagueData
-
Gets URL of colleague.
- getUserContent() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets user content which is typically a description of the user in his/her
own words.
- getUserKey() - Method in class com.google.enterprise.connector.spi.SocialUserProfileDocument
-
Gets user's unique identity.
- getUsername() - Method in interface com.google.enterprise.connector.spi.AuthenticationIdentity
-
Gets the username.
- getUsername() - Method in class com.google.enterprise.connector.spi.SimpleAuthenticationIdentity
-
- gotChangedDocument(String) - Method in interface com.google.enterprise.connector.util.diffing.ChangeQueue.CrawlActivityLogger
-
To record that crawling thread just received a document for
which either the content or the meta data or both have changed since the
last scan.
- gotChangedDocument(String) - Method in class com.google.enterprise.connector.util.diffing.ChangeQueue.DefaultCrawlActivityLogger
-
- gotDeletedDocument(String) - Method in interface com.google.enterprise.connector.util.diffing.ChangeQueue.CrawlActivityLogger
-
To record that crawling thread just found out that the
previously existing document got deleted and is no longer present.
- gotDeletedDocument(String) - Method in class com.google.enterprise.connector.util.diffing.ChangeQueue.DefaultCrawlActivityLogger
-
- gotNewDocument(String) - Method in interface com.google.enterprise.connector.util.diffing.ChangeQueue.CrawlActivityLogger
-
To record that crawling thread just received a new document
which was not present in the last scan.
- gotNewDocument(String) - Method in class com.google.enterprise.connector.util.diffing.ChangeQueue.DefaultCrawlActivityLogger
-
- GROUP_ROLES_PROPNAME_PREFIX - Static variable in class com.google.enterprise.connector.spi.SpiConstants
-