Package org.alfresco.rest.model
Class RestFolderModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestFolderModel
- All Implemented Interfaces:
IModelAssertion<RestFolderModel>,IRestModel<RestFolderModel>,org.alfresco.utility.model.Model
public class RestFolderModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestFolderModel>
Handles single Folder JSON responses
Example:
"createdAt": "2016-10-03T08:15:08.722+0000",
"createdBy": "admin",
"modifiedAt": "2016-10-03T08:15:08.722+0000",
"name": "Folder-EJJXzPAauf",
"guid": "fd84a762-7fea-4ed8-b9cd-7622ab966ac4",
"modifiedBy": "admin",
"id": "fd84a762-7fea-4ed8-b9cd-7622ab966ac4"
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGuid()getId()booleanbooleangetName()getPath()onModel()voidsetCreatedAt(String createdAt) voidsetCreatedBy(String createdBy) voidsetCreatedByUser(RestByUserModel createdByUser) voidvoidvoidsetIsFile(boolean isFile) voidsetIsFolder(boolean isFolder) voidsetModifiedAt(String modifiedAt) voidsetModifiedBy(String modifiedBy) voidsetModifiedByUser(RestByUserModel modifiedByUser) voidvoidsetParentId(String parentId) voidsetPath(RestPathModel path) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Field Details
-
createdAt
-
createdBy
-
modifiedAt
-
name
-
guid
-
modifiedBy
-
id
-
-
Constructor Details
-
RestFolderModel
public RestFolderModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestFolderModel>
-
getCreatedAt
-
setCreatedAt
-
getCreatedBy
-
setCreatedBy
-
getModifiedBy
-
setModifiedBy
-
getModifiedAt
-
setModifiedAt
-
getGuid
-
setGuid
-
getId
-
setId
-
getName
-
setName
-
getIsFolder
public boolean getIsFolder() -
setIsFolder
public void setIsFolder(boolean isFolder) -
getIsFile
public boolean getIsFile() -
setIsFile
public void setIsFile(boolean isFile) -
getCreatedByUser
-
setCreatedByUser
-
getModifiedByUser
-
setModifiedByUser
-
getParentId
-
setParentId
-
getPath
-
setPath
-