Package org.alfresco.search.model
Class Node
java.lang.Object
org.alfresco.search.model.Node
- Direct Known Subclasses:
ResultNode
Node
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllowableOperationsItem(String allowableOperationsItem) addAspectNamesItem(String aspectNamesItem) allowableOperations(List<String> allowableOperations) aspectNames(List<String> aspectNames) content(ContentInfo content) createdAt(OffsetDateTime createdAt) createdByUser(UserInfo createdByUser) booleanGet allowableOperationsGet aspectNames@Valid ContentInfoGet content@NotNull @Valid OffsetDateTimeGet createdAt@NotNull @Valid UserInfoGet createdByUser@NotNull StringgetId()Get id@NotNull @Valid OffsetDateTimeGet modifiedAt@NotNull @Valid UserInfoGet modifiedByUser@NotNull @Pattern(regexp="^(?!(.*[\\\"\\*\\\\\\>\\<\\?/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))") StringgetName()The name must not contain spaces or the following special characters: * \" `<` `>` \\ / ?@NotNull StringGet nodeTypeGet parentId@Valid PathInfogetPath()Get pathGet propertiesinthashCode()isFavorite(Boolean isFavorite) Get isFavorite@NotNull BooleanisIsFile()Get isFile@NotNull BooleanGet isFolderisIsLink()Get isLinkGet isLockedmodifiedAt(OffsetDateTime modifiedAt) modifiedByUser(UserInfo modifiedByUser) properties(Object properties) voidsetAllowableOperations(List<String> allowableOperations) voidsetAspectNames(List<String> aspectNames) voidsetContent(ContentInfo content) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedByUser(UserInfo createdByUser) voidvoidsetIsFavorite(Boolean isFavorite) voidvoidsetIsFolder(Boolean isFolder) voidvoidsetIsLocked(Boolean isLocked) voidsetModifiedAt(OffsetDateTime modifiedAt) voidsetModifiedByUser(UserInfo modifiedByUser) voidvoidsetNodeType(String nodeType) voidsetParentId(String parentId) voidvoidsetProperties(Object properties) toString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
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
-
nodeType
-
getNodeType
Get nodeType- Returns:
- nodeType
-
setNodeType
-
isFolder
-
isIsFolder
Get isFolder- Returns:
- isFolder
-
setIsFolder
-
isFile
-
isIsFile
Get isFile- Returns:
- isFile
-
setIsFile
-
isLocked
-
isIsLocked
Get isLocked- Returns:
- isLocked
-
setIsLocked
-
modifiedAt
-
getModifiedAt
Get modifiedAt- Returns:
- modifiedAt
-
setModifiedAt
-
modifiedByUser
-
getModifiedByUser
Get modifiedByUser- Returns:
- modifiedByUser
-
setModifiedByUser
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
createdByUser
-
getCreatedByUser
Get createdByUser- Returns:
- createdByUser
-
setCreatedByUser
-
parentId
-
getParentId
Get parentId- Returns:
- parentId
-
setParentId
-
isLink
-
isIsLink
Get isLink- Returns:
- isLink
-
setIsLink
-
content
-
getContent
Get content- Returns:
- content
-
setContent
-
aspectNames
-
addAspectNamesItem
-
getAspectNames
Get aspectNames- Returns:
- aspectNames
-
setAspectNames
-
properties
-
getProperties
Get properties- Returns:
- properties
-
setProperties
-
allowableOperations
-
addAllowableOperationsItem
-
getAllowableOperations
Get allowableOperations- Returns:
- allowableOperations
-
setAllowableOperations
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
isFavorite
-
isIsFavorite
Get isFavorite- Returns:
- isFavorite
-
setIsFavorite
-
equals
-
hashCode
public int hashCode() -
toString
-