Interface I_CmsCRUDApp<T>

Type Parameters:
T - the type of element.
All Known Implementing Classes:
CmsJobManagerApp, CmsLogFileApp, CmsSearchindexApp, CmsSiteManager

public interface I_CmsCRUDApp<T>
Interface for apps which perform CRUD operations on any kind of element like CmsSites or CmsScheduledJobs.
  • Method Details

    • createElement

      void createElement(T element)
      Creates the element of type T in the system.

      Parameters:
      element - to be saved
    • defaultAction

      void defaultAction(String elementId)
      Performs a default action.
      Parameters:
      elementId - id of element
    • deleteElements

      void deleteElements(List<String> elementId)
      Delete the given List of elements.

      Parameters:
      elementId - of elements to be deleted
    • getAllElements

      Get all Elements.

      Returns:
      a list of all elements
    • getElement

      T getElement(String elementId)
      Reads out an element.

      Parameters:
      elementId - of the object
      Returns:
      the object of type T
    • writeElement

      void writeElement(T element)
      Writes a changed element to the system which already exists.

      Parameters:
      element - to be saved