Package org.opencms.ade.publish
Class CmsPublish.ResourcesAndRelated
- java.lang.Object
-
- org.opencms.ade.publish.CmsPublish.ResourcesAndRelated
-
- Enclosing class:
- CmsPublish
public class CmsPublish.ResourcesAndRelated extends java.lang.Object
Just for passing around resources and their related together but not mixed up.
-
-
Constructor Summary
Constructors Constructor Description ResourcesAndRelated()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(CmsResource resource)
Checks if the given resource is present in at least one of the sets.java.util.Set<CmsResource>
getRelatedResources()
Returns the related resources.java.util.Set<CmsResource>
getResources()
Returns the resources.
-
-
-
Constructor Detail
-
ResourcesAndRelated
public ResourcesAndRelated()
Constructor.
-
-
Method Detail
-
contains
public boolean contains(CmsResource resource)
Checks if the given resource is present in at least one of the sets.- Parameters:
resource
- the resource to test- Returns:
true
if the given resource is present in at least one of the sets
-
getRelatedResources
public java.util.Set<CmsResource> getRelatedResources()
Returns the related resources.- Returns:
- the related resources
-
getResources
public java.util.Set<CmsResource> getResources()
Returns the resources.- Returns:
- the resources
-
-