Class RestSiteModel

  • All Implemented Interfaces:
    IModelAssertion<RestSiteModel>, IRestModel<RestSiteModel>, org.alfresco.utility.model.Model

    public class RestSiteModel
    extends org.alfresco.utility.model.SiteModel
    implements IRestModel<RestSiteModel>
    Handles single Site JSON responses Example: "visibility": "PUBLIC", "guid": "79e140e1-5039-4efa-acaf-c22b5ba7c947", "description": "Description1470255221170", "id": "0-C2291-1470255221170", "title": "0-C2291-1470255221170"
    • Field Summary

      • Fields inherited from class org.alfresco.utility.model.SiteModel

        description, guid, id, title, visibility
    • Constructor Summary

      Constructors 
      Constructor Description
      RestSiteModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ModelAssertion<RestSiteModel> and()  
      ModelAssertion<RestSiteModel> assertThat()
      DSL for assertion on this rest model
      java.lang.String getPreset()  
      java.lang.String getRole()  
      RestSiteModel onModel()  
      void setPreset​(java.lang.String preset)  
      void setRole​(java.lang.String role)  
      • Methods inherited from class org.alfresco.utility.model.SiteModel

        getDescription, getGuid, getGuidWithoutVersion, getId, getRandomSiteModel, getTitle, getVisibility, setDescription, setGuid, setId, setTitle, setVisibility
      • Methods inherited from class org.alfresco.utility.model.TestModel

        setRandomValuesForAllFields, toInfo, toJson, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait