Package | Description |
---|---|
com.google.enterprise.connector.spi |
Defines the SPI for connector developers who wish to write
plug-ins to the Google Search Appliance.
|
com.google.enterprise.connector.util.filter |
Document
filters act to transform their source Document's
Properties . |
Modifier and Type | Method and Description |
---|---|
static Value |
Value.getBinaryValue(byte[] byteArrayValue)
Creates a value carrying binary data.
|
static Value |
Value.getBinaryValue(java.io.InputStream inputStreamValue)
Creates a value carrying binary data.
|
static Value |
Value.getBinaryValue(InputStreamFactory inputStreamFactory)
Creates a value carrying binary data.
|
static Value |
Value.getBooleanValue(boolean booleanValue)
Creates a value carrying a boolean.
|
static Value |
Value.getBooleanValue(java.lang.String stringValue)
Creates a value carrying a boolean.
|
Value |
SocialUserProfileDocument.getColleagueXml()
Gets colleague list as XML of the form below:
|
static Value |
Value.getDateValue(java.util.Calendar calendarValue)
Creates a value carrying a date.
|
static Value |
Value.getDoubleValue(double doubleValue)
Creates a value carrying an integer.
|
static Value |
Value.getLongValue(long longValue)
Creates a value carrying an integer.
|
Value |
SocialUserProfileDocument.getOrgUrl()
Gets organization URL of the user.
|
Value |
SocialUserProfileDocument.getPictureUrl()
Gets URL of the profile picture.
|
static Value |
Value.getPrincipalValue(Principal principal)
Creates a value carrying a principal.
|
static Value |
Value.getPrincipalValue(java.lang.String name)
Creates a value carrying a principal.
|
static Value |
Value.getSingleValue(Document document,
java.lang.String propertyName)
Convenience function for access to a single named value from a
Document . |
static Value |
Value.getStringValue(java.lang.String stringValue)
Creates a value carrying a String.
|
Value |
SocialUserProfileDocument.getUserContent()
Gets user content which is typically a description of the user in his/her
own words.
|
Value |
SocialUserProfileDocument.getUserKey()
Gets user's unique identity.
|
Value |
SimpleProperty.nextValue() |
Value |
Property.nextValue()
Returns the next
Value in this property, if there is one. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Value> |
SocialUserProfileDocument.getAskmeAbout()
Gets topics user can be asked about.
|
java.util.List<Value> |
SocialUserProfileDocument.getPastProjects()
Gets user's past projects.
|
java.util.List<Value> |
SocialUserProfileDocument.getProperty(java.lang.String name)
Gets a list of values for a property, the list may be null.
|
java.util.List<Value> |
SocialUserProfileDocument.getSkills()
Gets skills of user.
|
Modifier and Type | Method and Description |
---|---|
static SecureDocument |
SecureDocument.createAcl(java.util.Map<java.lang.String,java.util.List<Value>> properties)
Constructs a
SecureDocument representing a stand-alone ACL whose
metadata consists of the supplied Map of properties,
associating property names with their Values . |
static SecureDocument |
SecureDocument.createDocumentWithAcl(java.util.Map<java.lang.String,java.util.List<Value>> properties)
Constructs a
SecureDocument representing a document with
an ACL whose metadata consists of the supplied Map of
properties, associating property names with their Values . |
Constructor and Description |
---|
SimpleProperty(Value value)
Constructs a property with a single value.
|
Constructor and Description |
---|
SimpleDocument(java.util.Map<java.lang.String,java.util.List<Value>> properties)
Constructs a
SimpleDocument whose metadata consists
of the supplied Map of properties, associating
property names with their Values . |
SimpleProperty(java.util.List<Value> values)
Constructs a property with multiple values.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Value> |
AbstractDocumentFilter.getPropertyValues(Document source,
java.lang.String name)
|