Class CmsRelationTargetListBean

java.lang.Object
org.opencms.ade.containerpage.CmsRelationTargetListBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsRelationTargetListBean extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Helper bean used to collect a list of resources (usually relation targets) and keep track of whether any of them have the "changed" state.

  • Constructor Details

  • Method Details

    • add

      public void add(CmsResource resource)
      Adds a new resource.

      Parameters:
      resource - the resource to add
    • getResources

      Gets the list of resources which have been added.

      Returns:
      the list of added resource
    • isChanged

      public boolean isChanged()
      Returns true if any of the added resources have been changed.

      Returns:
      true if any of the resources have been changed