Class StorageJsonPropertyManager


  • public class StorageJsonPropertyManager
    extends Object
    Manages the actual loading and storing of content and space properties stored in CustomContentEntityObjects.
    Since:
    5.6
    • Method Detail

      • updateStorageFromApi

        public CustomContentEntityObject updateStorageFromApi​(JsonContentProperty apiContentProperty,
                                                              CustomContentEntityObject storageJsonProperty)
        Updates a JsonProperty CustomContentEntityObject to be a ContentProperty. ContentProperty has a Container and an Optional Space.
        Parameters:
        apiContentProperty - JsonSpaceProperty to create the CustomContentEntityObject from
        storageJsonProperty - a CustomContentEntityObject that is being updated to be a SpaceProperty
        Returns:
        A CustomContentEntityObject that is a content property
      • updateStorageFromApi

        public CustomContentEntityObject updateStorageFromApi​(JsonSpaceProperty property,
                                                              CustomContentEntityObject storageJsonProperty)
        Updates a JsonProperty CustomContentEntityObject to be a SpaceProperty. SpaceProperty has a space and a null Container.
        Parameters:
        property - JsonSpaceProperty to create the CustomContentEntityObject from
        storageJsonProperty - a CustomContentEntityObject that is being updated to be a SpaceProperty
        Returns:
        A CustomContentEntityObject that is a space property