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 TypeMethodDescriptiongetId()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, 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
-
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
-