com.centrasite.control.registry.details
Class ConsumersTab.ConsumersFilter

java.lang.Object
  extended by com.centrasite.control.registry.details.ConsumersTab.ConsumersFilter
Enclosing class:
ConsumersTab

public static class ConsumersTab.ConsumersFilter
extends java.lang.Object

Filters consumers of the given asset determined using the passed ConsumerRegistrationUtil instance based on type of the consumer objects. Supports flag for cashing the results.


Constructor Summary
ConsumersTab.ConsumersFilter(com.centrasite.consumerregistration.ConsumerRegistrationUtil consumersManager, javax.xml.registry.infomodel.RegistryObject asset)
           
 
Method Summary
 javax.xml.registry.infomodel.RegistryObject getAsset()
           
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getConsumerApplications()
           
 com.centrasite.consumerregistration.ConsumerRegistrationUtil getConsumersManager()
           
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getConsumerUsersAndGroups()
           
static boolean isApplication(javax.xml.registry.infomodel.Concept objType)
           
 boolean isLazyLoad()
           
static boolean isUserOrGroup(javax.xml.registry.infomodel.Concept objType)
           
 void setLazyLoad(boolean isLazyLoad)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumersTab.ConsumersFilter

public ConsumersTab.ConsumersFilter(com.centrasite.consumerregistration.ConsumerRegistrationUtil consumersManager,
                                    javax.xml.registry.infomodel.RegistryObject asset)
Method Detail

isLazyLoad

public boolean isLazyLoad()
Returns:
the isLazyLoad Returns if the result will be queried from the database or not.

setLazyLoad

public void setLazyLoad(boolean isLazyLoad)
Parameters:
isLazyLoad - to set id the result should be queried from the database or not

getConsumersManager

public com.centrasite.consumerregistration.ConsumerRegistrationUtil getConsumersManager()
Returns:
the consumersManager

getAsset

public javax.xml.registry.infomodel.RegistryObject getAsset()
Returns:
the asset

getConsumerApplications

public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getConsumerApplications()
                                                                                          throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getConsumerUsersAndGroups

public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getConsumerUsersAndGroups()
                                                                                            throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

isUserOrGroup

public static boolean isUserOrGroup(javax.xml.registry.infomodel.Concept objType)
                             throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

isApplication

public static boolean isApplication(javax.xml.registry.infomodel.Concept objType)
                             throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException