public interface ItemAgent
Agent that handles item-related operations within Multisite Management.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Identifier for the ItemAgent.
  • Method Summary

    Modifier and Type
    Method
    Description
    getTransportOperation(@NotNull de.espirit.firstspirit.access.store.IDProvider idProvider)
    Creates a new TransportOperation for the given IDProvider.
    boolean
    isModified(@NotNull de.espirit.firstspirit.access.store.IDProvider idProvider, @NotNull de.espirit.firstspirit.access.project.Project targetProject, @NotNull de.espirit.firstspirit.access.Language language)
    Checks if the given IDProvider was modified compared to the specified original project and its bundle deployment information.
  • Field Details

  • Method Details

    • isModified

      boolean isModified(@NotNull @NotNull de.espirit.firstspirit.access.store.IDProvider idProvider, @NotNull @NotNull de.espirit.firstspirit.access.project.Project targetProject, @NotNull @NotNull de.espirit.firstspirit.access.Language language)
      Checks if the given IDProvider was modified compared to the specified original project and its bundle deployment information.

      Will return false if the given IDProvider has not been deployed by any bundle in the specified Project or if it does not exist.

      Parameters:
      idProvider - the IDProvider to check.
      targetProject - the Project to check against.
      language - the Language context for the operation.
      Returns:
      true if the element has been modified; false otherwise.
    • getTransportOperation

      @NotNull @NotNull TransportOperation getTransportOperation(@NotNull @NotNull de.espirit.firstspirit.access.store.IDProvider idProvider)
      Creates a new TransportOperation for the given IDProvider.
      Parameters:
      idProvider - the IDProvider on which the TransportOperation is based.
      Returns:
      a new TransportOperation.