Class SearchFieldNames
- java.lang.Object
-
- com.atlassian.confluence.search.v2.SearchFieldNames
-
public class SearchFieldNames extends Object
A helper class that contains the known set of core available Strings.
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_LAST_MODIFIER_IDConstant to represent the value for an anonymous last modifier in the index.static StringATTACHMENT_DOWNLOAD_PATHstatic StringATTACHMENT_FILE_EXTENSIONstatic StringATTACHMENT_FILE_NAMEstatic StringATTACHMENT_FILE_NAME_UNTOKENIZEDstatic StringATTACHMENT_FILE_SIZEstatic StringATTACHMENT_MIME_TYPEstatic StringATTACHMENT_NICE_FILE_SIZEstatic StringATTACHMENT_NICE_TYPEStores a general type for multiple MIME types; multiple MIME types may map to one description, e.g.static StringATTACHMENT_OWNER_CONTENT_TYPEStores the fully qualified class name of the content that owns the attachmentstatic StringATTACHMENT_OWNER_IDstatic StringATTACHMENT_OWNER_REAL_TITLEstatic StringATTACHMENT_OWNER_TYPEstatic StringATTACHMENT_OWNER_URL_PATHstatic StringATTACHMENT_OWNER_USERNAMEstatic StringATTACHMENT_VERSION_COMMENTstatic StringCLASS_NAMEstatic StringCONTAINER_CONTENT_TYPEstatic StringCONTENTstatic StringCONTENT_NAME_UNSTEMMEDstatic StringCONTENT_NAME_UNTOKENIZEDAn untokenized version of the title of a piece of content to enable sorting on itstatic StringCONTENT_PERMISSION_SETSstatic StringCONTENT_PLUGIN_KEYstatic StringCONTENT_STATUSstatic StringCONTENT_VERSIONstatic StringCREATION_DATEstatic StringCREATORstatic StringDOCUMENT_TYPERepresents the document type.static StringEXACT_TITLEstatic StringHANDLEstatic StringHOME_PAGEstatic StringIN_SPACEstatic StringINHERITED_LABELThe same as LABEL, but for labels inherited from a containing object (i.e.static StringINHERITED_LABEL_TEXTThe same as LABEL_TEXT, but for labels inherited from a containing object (i.e.static StringIS_DEACTIVATED_USER"true" if the User is deactivated/disabled, else "false".static StringIS_EXTERNALLY_DELETED_USER"true" if the User has been removed from the system via an External Directory, else "false".static StringIS_LICENSED_USER"true" if the User has a license to use the system, else "false".static StringIS_SHADOWED_USER"true" if the User is a shadowed user.static StringLABELAssigned multiple fields of namespaced labelsstatic StringLABEL_TEXTThis field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content.static StringLAST_MODIFICATION_DATEstatic StringLAST_MODIFIERstatic StringLAST_MODIFIERSstatic StringLAST_UPDATE_DESCRIPTIONstatic StringLATEST_VERSION_IDstatic StringMACRO_NAMEstatic StringMACRO_STORAGE_VERSIONstatic StringMENTIONstatic StringPAGE_DISPLAY_TITLEstatic StringPAGE_URL_PATHstatic StringPARENT_TITLE_UNSTEMMEDstatic StringPERSONAL_INFORMATION_EMAILstatic StringPERSONAL_INFORMATION_FULL_NAMEstatic StringPERSONAL_INFORMATION_FULL_NAME_UNTOKENIZEDstatic StringPERSONAL_INFORMATION_HAS_PERSONAL_SPACEstatic StringPERSONAL_INFORMATION_USERNAMEstatic StringPROFILE_PICTURE_URLRelative URL of the user's profile picture, as returned byProfilePictureInfo.getUriReference().static StringRETENTION_POLICYstatic StringRETENTION_POLICY_DELETE_TRASHstatic StringRETENTION_POLICY_DELETE_VERSIONstatic StringSPACE_DESCRIPTION_EMAILstatic StringSPACE_DESCRIPTION_USER_FULLNAMEstatic StringSPACE_DESCRIPTION_USER_FULLNAME_SORTABLEstatic StringSPACE_DESCRIPTION_USER_NAMEstatic StringSPACE_KEYSpace key (a constant for the field name we use in our *.lucene.xml mappings)static StringSPACE_NAMEstatic StringSPACE_TYPEstatic StringTITLEstatic StringTYPEstatic StringURL_PATHstatic StringUSER_FULLNAMEThe display name of the user.static StringUSER_KEYThe user key as returned byConfluenceUser.getKey().static StringUSER_NAMEThe username as returned byEntity.getName().static StringVERSION
-
Constructor Summary
Constructors Constructor Description SearchFieldNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>withDefaultValues()Creates a set of Strings suitable for passing tosearchManager.search(ISearch, Set<String>)that includes the handle field and the content version field, these fields whilst optional are required to use the convertToEntities method of SearchManager.
-
-
-
Field Detail
-
ANONYMOUS_LAST_MODIFIER_ID
public static final String ANONYMOUS_LAST_MODIFIER_ID
Constant to represent the value for an anonymous last modifier in the index. We want to record anonymous users, so we can remove change documents by them (also because you cannot use lucene to search for documents that don't have a field).- See Also:
- Constant Field Values
-
ATTACHMENT_DOWNLOAD_PATH
public static final String ATTACHMENT_DOWNLOAD_PATH
- See Also:
- Constant Field Values
-
ATTACHMENT_FILE_EXTENSION
public static final String ATTACHMENT_FILE_EXTENSION
- See Also:
- Constant Field Values
-
ATTACHMENT_FILE_NAME
public static final String ATTACHMENT_FILE_NAME
- See Also:
- Constant Field Values
-
ATTACHMENT_FILE_NAME_UNTOKENIZED
public static final String ATTACHMENT_FILE_NAME_UNTOKENIZED
- See Also:
- Constant Field Values
-
ATTACHMENT_FILE_SIZE
public static final String ATTACHMENT_FILE_SIZE
- See Also:
- Constant Field Values
-
ATTACHMENT_MIME_TYPE
public static final String ATTACHMENT_MIME_TYPE
- See Also:
- Constant Field Values
-
ATTACHMENT_NICE_FILE_SIZE
public static final String ATTACHMENT_NICE_FILE_SIZE
- See Also:
- Constant Field Values
-
ATTACHMENT_NICE_TYPE
public static final String ATTACHMENT_NICE_TYPE
Stores a general type for multiple MIME types; multiple MIME types may map to one description, e.g. "Image".- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_CONTENT_TYPE
public static final String ATTACHMENT_OWNER_CONTENT_TYPE
Stores the fully qualified class name of the content that owns the attachment- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_ID
public static final String ATTACHMENT_OWNER_ID
- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_REAL_TITLE
public static final String ATTACHMENT_OWNER_REAL_TITLE
- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_TYPE
public static final String ATTACHMENT_OWNER_TYPE
- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_URL_PATH
public static final String ATTACHMENT_OWNER_URL_PATH
- See Also:
- Constant Field Values
-
ATTACHMENT_OWNER_USERNAME
public static final String ATTACHMENT_OWNER_USERNAME
- See Also:
- Constant Field Values
-
ATTACHMENT_VERSION_COMMENT
public static final String ATTACHMENT_VERSION_COMMENT
- See Also:
- Constant Field Values
-
CLASS_NAME
public static final String CLASS_NAME
- See Also:
- Constant Field Values
-
CONTAINER_CONTENT_TYPE
public static final String CONTAINER_CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONTENT
public static final String CONTENT
- See Also:
- Constant Field Values
-
CONTENT_NAME_UNSTEMMED
public static final String CONTENT_NAME_UNSTEMMED
- See Also:
- Constant Field Values
-
CONTENT_NAME_UNTOKENIZED
public static final String CONTENT_NAME_UNTOKENIZED
An untokenized version of the title of a piece of content to enable sorting on it- See Also:
- Constant Field Values
-
CONTENT_PERMISSION_SETS
public static final String CONTENT_PERMISSION_SETS
- See Also:
- Constant Field Values
-
CONTENT_PLUGIN_KEY
public static final String CONTENT_PLUGIN_KEY
- See Also:
- Constant Field Values
-
CONTENT_STATUS
public static final String CONTENT_STATUS
- See Also:
- Constant Field Values
-
CONTENT_VERSION
public static final String CONTENT_VERSION
- See Also:
- Constant Field Values
-
CREATION_DATE
public static final String CREATION_DATE
- See Also:
- Constant Field Values
-
CREATOR
public static final String CREATOR
- See Also:
- Constant Field Values
-
DOCUMENT_TYPE
public static final String DOCUMENT_TYPE
Represents the document type.- See Also:
SearchResultType, Constant Field Values
-
HANDLE
public static final String HANDLE
- See Also:
- Constant Field Values
-
HOME_PAGE
public static final String HOME_PAGE
- See Also:
- Constant Field Values
-
INHERITED_LABEL
public static final String INHERITED_LABEL
The same as LABEL, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on).- See Also:
- Constant Field Values
-
INHERITED_LABEL_TEXT
public static final String INHERITED_LABEL_TEXT
The same as LABEL_TEXT, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on).- See Also:
- Constant Field Values
-
IN_SPACE
public static final String IN_SPACE
- See Also:
- Constant Field Values
-
IS_DEACTIVATED_USER
public static final String IS_DEACTIVATED_USER
"true" if the User is deactivated/disabled, else "false".- See Also:
- Constant Field Values
-
IS_EXTERNALLY_DELETED_USER
public static final String IS_EXTERNALLY_DELETED_USER
"true" if the User has been removed from the system via an External Directory, else "false".- See Also:
- Constant Field Values
-
IS_LICENSED_USER
public static final String IS_LICENSED_USER
"true" if the User has a license to use the system, else "false".- See Also:
- Constant Field Values
-
IS_SHADOWED_USER
public static final String IS_SHADOWED_USER
"true" if the User is a shadowed user. The shadowed users come from multiple user directories. The primary user is the active user.- See Also:
- Constant Field Values
-
LABEL
public static final String LABEL
Assigned multiple fields of namespaced labels- See Also:
- Constant Field Values
-
LABEL_TEXT
public static final String LABEL_TEXT
This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content.- See Also:
- Constant Field Values
-
LAST_MODIFICATION_DATE
public static final String LAST_MODIFICATION_DATE
- See Also:
- Constant Field Values
-
LAST_MODIFIER
public static final String LAST_MODIFIER
- See Also:
- Constant Field Values
-
LAST_MODIFIERS
public static final String LAST_MODIFIERS
- See Also:
- Constant Field Values
-
LAST_UPDATE_DESCRIPTION
public static final String LAST_UPDATE_DESCRIPTION
- See Also:
- Constant Field Values
-
LATEST_VERSION_ID
public static final String LATEST_VERSION_ID
- See Also:
- Constant Field Values
-
MENTION
public static final String MENTION
- See Also:
- Constant Field Values
-
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
-
MACRO_STORAGE_VERSION
public static final String MACRO_STORAGE_VERSION
- See Also:
- Constant Field Values
-
PAGE_DISPLAY_TITLE
public static final String PAGE_DISPLAY_TITLE
- See Also:
- Constant Field Values
-
PAGE_URL_PATH
public static final String PAGE_URL_PATH
- See Also:
- Constant Field Values
-
PARENT_TITLE_UNSTEMMED
public static final String PARENT_TITLE_UNSTEMMED
- See Also:
- Constant Field Values
-
PERSONAL_INFORMATION_EMAIL
public static final String PERSONAL_INFORMATION_EMAIL
- See Also:
- Constant Field Values
-
PERSONAL_INFORMATION_FULL_NAME
public static final String PERSONAL_INFORMATION_FULL_NAME
- See Also:
- Constant Field Values
-
PERSONAL_INFORMATION_FULL_NAME_UNTOKENIZED
public static final String PERSONAL_INFORMATION_FULL_NAME_UNTOKENIZED
- See Also:
- Constant Field Values
-
PERSONAL_INFORMATION_HAS_PERSONAL_SPACE
public static final String PERSONAL_INFORMATION_HAS_PERSONAL_SPACE
- See Also:
- Constant Field Values
-
PERSONAL_INFORMATION_USERNAME
public static final String PERSONAL_INFORMATION_USERNAME
- See Also:
- Constant Field Values
-
PROFILE_PICTURE_URL
public static final String PROFILE_PICTURE_URL
Relative URL of the user's profile picture, as returned byProfilePictureInfo.getUriReference().- See Also:
- Constant Field Values
-
RETENTION_POLICY
public static final String RETENTION_POLICY
- See Also:
- Constant Field Values
-
RETENTION_POLICY_DELETE_TRASH
public static final String RETENTION_POLICY_DELETE_TRASH
- See Also:
- Constant Field Values
-
RETENTION_POLICY_DELETE_VERSION
public static final String RETENTION_POLICY_DELETE_VERSION
- See Also:
- Constant Field Values
-
SPACE_DESCRIPTION_EMAIL
public static final String SPACE_DESCRIPTION_EMAIL
- See Also:
- Constant Field Values
-
SPACE_DESCRIPTION_USER_FULLNAME
public static final String SPACE_DESCRIPTION_USER_FULLNAME
- See Also:
- Constant Field Values
-
SPACE_DESCRIPTION_USER_FULLNAME_SORTABLE
public static final String SPACE_DESCRIPTION_USER_FULLNAME_SORTABLE
- See Also:
- Constant Field Values
-
SPACE_DESCRIPTION_USER_NAME
public static final String SPACE_DESCRIPTION_USER_NAME
- See Also:
- Constant Field Values
-
SPACE_KEY
public static final String SPACE_KEY
Space key (a constant for the field name we use in our *.lucene.xml mappings)- See Also:
- Constant Field Values
-
SPACE_NAME
public static final String SPACE_NAME
- See Also:
- Constant Field Values
-
SPACE_TYPE
public static final String SPACE_TYPE
- See Also:
- Constant Field Values
-
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
-
EXACT_TITLE
public static final String EXACT_TITLE
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
URL_PATH
public static final String URL_PATH
- See Also:
- Constant Field Values
-
USER_KEY
public static final String USER_KEY
The user key as returned byConfluenceUser.getKey().- See Also:
- Constant Field Values
-
USER_NAME
public static final String USER_NAME
The username as returned byEntity.getName(). @see PersonalInformation.lucene.xml- See Also:
- Constant Field Values
-
USER_FULLNAME
public static final String USER_FULLNAME
The display name of the user. @see PersonalInformation.lucene.xml- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
withDefaultValues
public static Set<String> withDefaultValues()
Creates a set of Strings suitable for passing tosearchManager.search(ISearch, Set<String>)that includes the handle field and the content version field, these fields whilst optional are required to use the convertToEntities method of SearchManager.- Since:
- 7.0.1
-
-