Package org.alfresco.search.model
Class ResultNode
- java.lang.Object
-
- org.alfresco.search.model.ResultNode
-
@Validated public class ResultNode extends Object
ResultNode
-
-
Constructor Summary
Constructors Constructor Description ResultNode()
-
Method Summary
-
-
-
Method Detail
-
id
public ResultNode id(String id)
-
getId
@NotNull public @NotNull String getId()
Get id- Returns:
- id
-
setId
public void setId(String id)
-
name
public ResultNode name(String name)
-
getName
@NotNull @Pattern(regexp="^(?!(.*[\\\"\\*\\\\\\>\\<\\?/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))") public @NotNull @Pattern(regexp="^(?!(.*[\\\"\\*\\\\\\>\\<\\?/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))") String getName()
The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name.- Returns:
- name
-
setName
public void setName(String name)
-
nodeType
public ResultNode nodeType(String nodeType)
-
getNodeType
@NotNull public @NotNull String getNodeType()
Get nodeType- Returns:
- nodeType
-
setNodeType
public void setNodeType(String nodeType)
-
isFolder
public ResultNode isFolder(Boolean isFolder)
-
isIsFolder
@NotNull public @NotNull Boolean isIsFolder()
Get isFolder- Returns:
- isFolder
-
setIsFolder
public void setIsFolder(Boolean isFolder)
-
isFile
public ResultNode isFile(Boolean isFile)
-
isIsFile
@NotNull public @NotNull Boolean isIsFile()
Get isFile- Returns:
- isFile
-
setIsFile
public void setIsFile(Boolean isFile)
-
isLocked
public ResultNode isLocked(Boolean isLocked)
-
isIsLocked
public Boolean isIsLocked()
Get isLocked- Returns:
- isLocked
-
setIsLocked
public void setIsLocked(Boolean isLocked)
-
modifiedAt
public ResultNode modifiedAt(OffsetDateTime modifiedAt)
-
getModifiedAt
@NotNull @Valid public @NotNull @Valid OffsetDateTime getModifiedAt()
Get modifiedAt- Returns:
- modifiedAt
-
setModifiedAt
public void setModifiedAt(OffsetDateTime modifiedAt)
-
modifiedByUser
public ResultNode modifiedByUser(UserInfo modifiedByUser)
-
getModifiedByUser
@NotNull @Valid public @NotNull @Valid UserInfo getModifiedByUser()
Get modifiedByUser- Returns:
- modifiedByUser
-
setModifiedByUser
public void setModifiedByUser(UserInfo modifiedByUser)
-
createdAt
public ResultNode createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@NotNull @Valid public @NotNull @Valid OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
createdByUser
public ResultNode createdByUser(UserInfo createdByUser)
-
getCreatedByUser
@NotNull @Valid public @NotNull @Valid UserInfo getCreatedByUser()
Get createdByUser- Returns:
- createdByUser
-
setCreatedByUser
public void setCreatedByUser(UserInfo createdByUser)
-
parentId
public ResultNode parentId(String parentId)
-
getParentId
public String getParentId()
Get parentId- Returns:
- parentId
-
setParentId
public void setParentId(String parentId)
-
isLink
public ResultNode isLink(Boolean isLink)
-
isIsLink
public Boolean isIsLink()
Get isLink- Returns:
- isLink
-
setIsLink
public void setIsLink(Boolean isLink)
-
content
public ResultNode content(ContentInfo content)
-
getContent
@Valid public @Valid ContentInfo getContent()
Get content- Returns:
- content
-
setContent
public void setContent(ContentInfo content)
-
aspectNames
public ResultNode aspectNames(List<String> aspectNames)
-
addAspectNamesItem
public ResultNode addAspectNamesItem(String aspectNamesItem)
-
properties
public ResultNode properties(Object properties)
-
getProperties
public Object getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(Object properties)
-
allowableOperations
public ResultNode allowableOperations(List<String> allowableOperations)
-
addAllowableOperationsItem
public ResultNode addAllowableOperationsItem(String allowableOperationsItem)
-
getAllowableOperations
public List<String> getAllowableOperations()
Get allowableOperations- Returns:
- allowableOperations
-
path
public ResultNode path(PathInfo path)
-
getPath
@Valid public @Valid PathInfo getPath()
Get path- Returns:
- path
-
setPath
public void setPath(PathInfo path)
-
search
public ResultNode search(SearchEntry search)
-
getSearch
@Valid public @Valid SearchEntry getSearch()
Get search- Returns:
- search
-
setSearch
public void setSearch(SearchEntry search)
-
archivedByUser
public ResultNode archivedByUser(UserInfo archivedByUser)
-
getArchivedByUser
@Valid public @Valid UserInfo getArchivedByUser()
Get archivedByUser- Returns:
- archivedByUser
-
setArchivedByUser
public void setArchivedByUser(UserInfo archivedByUser)
-
archivedAt
public ResultNode archivedAt(OffsetDateTime archivedAt)
-
getArchivedAt
@Valid public @Valid OffsetDateTime getArchivedAt()
Get archivedAt- Returns:
- archivedAt
-
setArchivedAt
public void setArchivedAt(OffsetDateTime archivedAt)
-
versionLabel
public ResultNode versionLabel(String versionLabel)
-
getVersionLabel
public String getVersionLabel()
Get versionLabel- Returns:
- versionLabel
-
setVersionLabel
public void setVersionLabel(String versionLabel)
-
versionComment
public ResultNode versionComment(String versionComment)
-
getVersionComment
public String getVersionComment()
Get versionComment- Returns:
- versionComment
-
setVersionComment
public void setVersionComment(String versionComment)
-
-