Package org.alfresco.search.model
Class Node
- java.lang.Object
-
- org.alfresco.search.model.Node
-
@Validated public class Node extends Object
Node
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeaddAllowableOperationsItem(String allowableOperationsItem)NodeaddAspectNamesItem(String aspectNamesItem)NodeallowableOperations(List<String> allowableOperations)NodeaspectNames(List<String> aspectNames)Nodecontent(ContentInfo content)NodecreatedAt(OffsetDateTime createdAt)NodecreatedByUser(UserInfo createdByUser)booleanequals(Object o)List<String>getAllowableOperations()Get allowableOperationsList<String>getAspectNames()Get aspectNames@Valid ContentInfogetContent()Get content@NotNull @Valid OffsetDateTimegetCreatedAt()Get createdAt@NotNull @Valid UserInfogetCreatedByUser()Get createdByUser@NotNull StringgetId()Get id@NotNull @Valid OffsetDateTimegetModifiedAt()Get modifiedAt@NotNull @Valid UserInfogetModifiedByUser()Get modifiedByUser@NotNull @Pattern(regexp="^(?!(.*[\\\"\\*\\\\\\>\\<\\?/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))") StringgetName()The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |.@NotNull StringgetNodeType()Get nodeTypeStringgetParentId()Get parentId@Valid PathInfogetPath()Get pathObjectgetProperties()Get propertiesinthashCode()Nodeid(String id)NodeisFile(Boolean isFile)NodeisFolder(Boolean isFolder)@NotNull BooleanisIsFile()Get isFile@NotNull BooleanisIsFolder()Get isFolderBooleanisIsLink()Get isLinkBooleanisIsLocked()Get isLockedNodeisLink(Boolean isLink)NodeisLocked(Boolean isLocked)NodemodifiedAt(OffsetDateTime modifiedAt)NodemodifiedByUser(UserInfo modifiedByUser)Nodename(String name)NodenodeType(String nodeType)NodeparentId(String parentId)Nodepath(PathInfo path)Nodeproperties(Object properties)voidsetAllowableOperations(List<String> allowableOperations)voidsetAspectNames(List<String> aspectNames)voidsetContent(ContentInfo content)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCreatedByUser(UserInfo createdByUser)voidsetId(String id)voidsetIsFile(Boolean isFile)voidsetIsFolder(Boolean isFolder)voidsetIsLink(Boolean isLink)voidsetIsLocked(Boolean isLocked)voidsetModifiedAt(OffsetDateTime modifiedAt)voidsetModifiedByUser(UserInfo modifiedByUser)voidsetName(String name)voidsetNodeType(String nodeType)voidsetParentId(String parentId)voidsetPath(PathInfo path)voidsetProperties(Object properties)StringtoString()
-
-
-
Method Detail
-
getId
@NotNull public @NotNull String getId()
Get id- Returns:
- id
-
setId
public void setId(String id)
-
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)
-
getNodeType
@NotNull public @NotNull String getNodeType()
Get nodeType- Returns:
- nodeType
-
setNodeType
public void setNodeType(String nodeType)
-
isIsFolder
@NotNull public @NotNull Boolean isIsFolder()
Get isFolder- Returns:
- isFolder
-
setIsFolder
public void setIsFolder(Boolean isFolder)
-
isIsFile
@NotNull public @NotNull Boolean isIsFile()
Get isFile- Returns:
- isFile
-
setIsFile
public void setIsFile(Boolean isFile)
-
isIsLocked
public Boolean isIsLocked()
Get isLocked- Returns:
- isLocked
-
setIsLocked
public void setIsLocked(Boolean isLocked)
-
modifiedAt
public Node modifiedAt(OffsetDateTime modifiedAt)
-
getModifiedAt
@NotNull @Valid public @NotNull @Valid OffsetDateTime getModifiedAt()
Get modifiedAt- Returns:
- modifiedAt
-
setModifiedAt
public void setModifiedAt(OffsetDateTime modifiedAt)
-
getModifiedByUser
@NotNull @Valid public @NotNull @Valid UserInfo getModifiedByUser()
Get modifiedByUser- Returns:
- modifiedByUser
-
setModifiedByUser
public void setModifiedByUser(UserInfo modifiedByUser)
-
createdAt
public Node createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@NotNull @Valid public @NotNull @Valid OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
getCreatedByUser
@NotNull @Valid public @NotNull @Valid UserInfo getCreatedByUser()
Get createdByUser- Returns:
- createdByUser
-
setCreatedByUser
public void setCreatedByUser(UserInfo createdByUser)
-
getParentId
public String getParentId()
Get parentId- Returns:
- parentId
-
setParentId
public void setParentId(String parentId)
-
isIsLink
public Boolean isIsLink()
Get isLink- Returns:
- isLink
-
setIsLink
public void setIsLink(Boolean isLink)
-
content
public Node content(ContentInfo content)
-
getContent
@Valid public @Valid ContentInfo getContent()
Get content- Returns:
- content
-
setContent
public void setContent(ContentInfo content)
-
getProperties
public Object getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(Object properties)
-
getAllowableOperations
public List<String> getAllowableOperations()
Get allowableOperations- Returns:
- allowableOperations
-
getPath
@Valid public @Valid PathInfo getPath()
Get path- Returns:
- path
-
setPath
public void setPath(PathInfo path)
-
-