Package org.alfresco.rest.model
Class RestCommentModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestCommentModel
- All Implemented Interfaces:
IModelAssertion<RestCommentModel>,IRestModel<RestCommentModel>,org.alfresco.utility.model.Model
public class RestCommentModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestCommentModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand()getId()booleanbooleanonModel()voidRestPersonModel(RestPersonModel createdBy) voidsetCanDelete(boolean canDelete) voidsetCanEdit(boolean canEdit) voidsetContent(String content) voidsetCreatedAt(String createdAt) voidvoidvoidsetModifiedAt(String modifiedAt) voidsetModifiedBy(RestPersonModel modifiedBy) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RestCommentModel
public RestCommentModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestCommentModel>
-
getCreatedAt
-
setCreatedAt
-
getEdited
-
setEdited
-
getContent
-
setContent
-
getCreatedBy
-
RestPersonModel
-
getModifiedAt
-
setModifiedAt
-
isCanEdit
public boolean isCanEdit() -
setCanEdit
public void setCanEdit(boolean canEdit) -
getModifiedBy
-
setModifiedBy
-
isCanDelete
public boolean isCanDelete() -
setCanDelete
public void setCanDelete(boolean canDelete) -
getId
-
setId
-
and
- Specified by:
andin interfaceIModelAssertion<RestCommentModel>
-
assertThat
- Specified by:
assertThatin interfaceIModelAssertion<RestCommentModel>
-