org.equanda.test.dm.server
Class HideIfSelectorBean

java.lang.Object
  extended by org.equanda.test.dm.server.HideIfSelectorBean
All Implemented Interfaces:
Serializable, EquandaSelector<Uoid,HideIf,HideIfEJB>, ExceptionCodes, HideIfConstants, HideIfSelectorEJB

public class HideIfSelectorBean
extends Object
implements HideIfSelectorEJB, ExceptionCodes, Serializable, HideIfConstants

HideIfSelector A table for the Selenium testcases for hide if Should be visible, but some items of it should be hidden

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.equanda.persistence.ExceptionCodes
CME_DATA_HAS_BEEN_ALREADY_CHANGED, ECV_CANNOT_ADD_NULL_TO_MULTIPLE_FIELD, ECV_COMPARE_CONSTRAINT_NOT_SATISFIED, ECV_COMPARE_TYPE_CONSTRAINT_NOT_SATISFIED, ECV_CONSTRAINT_VIOLATION, ECV_COULD_NOT_TEST_CHOICES_USING_CLASS, ECV_DOWNCAST_CREATE_ERROR, ECV_DOWNCAST_FAILED_CANNOT_DOWNCAST_ROOT, ECV_DOWNCAST_SELECTOR_ERROR, ECV_FAILED_TO_CREATE_INCLUDED_VALUE, ECV_FAILED_TO_UPDATE_VALUE, ECV_FIELD_IS_REQUIRED, ECV_FIELD_IS_UNIQUE, ECV_IMMUTABLE_IF_OTHER_FIELD_IS_SET, ECV_INCLUDE_VALUE_HAS_WRONG_TYPE, ECV_INTERNAL_ERROR_ON_CREATE_INCLUDED_VALUE, ECV_INVALID_TABLE_TYPE, ECV_OTHERSIDE_EMBEDDED_FIELD_IMMUTABLE_ONCE_SET, ECV_VALUE_IS_NOT_ONE_OF_THE_CHOICES, UONA_OPERATION_NOT_ALLOWED, UPE_AUTO_FIELD_PROBLEM, UPE_CANNOT_CREATE_LAZYCOLLECTION, UPE_CANNOT_CREATE_SESSION_FACADE, UPE_CANNOT_INIT_BEAN, UPE_CASCADE_KEEP, UPE_FAILED_PROXY_REMOVE, UPE_FAILED_TO_UPDATE_VALUE, UPE_NULL_UOID_INVALID, UPE_OBJECT_NOT_FOUND, UPE_PERSISTENCE_EXCEPTION, UPE_TRYING_TO_UPDATE_OBJECT_WITH_UOID_NULL, UPE_UOID_NOT_FOUND
 
Fields inherited from interface org.equanda.test.dm.client.constants.HideIfConstants
TYPE_HideIf
 
Constructor Summary
HideIfSelectorBean()
           
 
Method Summary
 void ActionHide(Uoid uoid)
           
 void ActionHideIf(Uoid uoid)
           
 void ActionShow(Uoid uoid)
           
 HideIf equandaCreate(String type)
           
 HideIf equandaRefresh(Uoid uoid, long version)
           
 long equandaRunCountQuery(EquandaQuery query)
           
 List<HideIf> equandaRunQuery(EquandaQuery query)
           
 List<HideIfEJB> equandaRunQueryEJB(EquandaQuery query)
           
 List<Uoid> equandaRunQueryId(EquandaQuery query)
           
 long equandaRunUpdateQuery(EquandaQuery query)
           
 HideIf equandaUpdate(HideIf proxy)
           
 String getEquandaName()
           
 void remove()
           
 void removeEntityBean(Uoid uoid)
           
 List<HideIf> selectEquanda(EquandaQuery query)
           
 List<HideIf> selectEquandaAll()
           
 List<HideIfEJB> selectEquandaAllEJB()
           
 List<HideIfEJB> selectEquandaEJB(EquandaQuery query)
           
 HideIf selectEquandaSingle(EquandaQuery query)
           
 HideIfEJB selectEquandaSingleEJB(EquandaQuery query)
           
 HideIf selectId(Uoid uoid)
           
 HideIfEJB selectIdEJB(Uoid uoid)
           
 HideIf[] selectMultipleId(Uoid[] arr)
           
 List<HideIf> selectSelectHide()
           
 List<HideIfEJB> selectSelectHideEJB()
           
 List<HideIf> selectSelectHideIf()
           
 List<HideIfEJB> selectSelectHideIfEJB()
           
 List<HideIf> selectSelectShow()
           
 List<HideIfEJB> selectSelectShowEJB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HideIfSelectorBean

public HideIfSelectorBean()
Method Detail

getEquandaName

public String getEquandaName()
Specified by:
getEquandaName in interface EquandaSelector<Uoid,HideIf,HideIfEJB>

equandaCreate

@PermitAll
public HideIf equandaCreate(String type)
Specified by:
equandaCreate in interface EquandaSelector<Uoid,HideIf,HideIfEJB>

selectId

@PermitAll
public HideIf selectId(Uoid uoid)
                throws EquandaPersistenceException
Specified by:
selectId in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectIdEJB

@PermitAll
public HideIfEJB selectIdEJB(Uoid uoid)
                      throws EquandaPersistenceException
Specified by:
selectIdEJB in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectMultipleId

public HideIf[] selectMultipleId(Uoid[] arr)
                          throws EquandaPersistenceException
Specified by:
selectMultipleId in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectEquanda

public List<HideIf> selectEquanda(EquandaQuery query)
                           throws EquandaPersistenceException
Specified by:
selectEquanda in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectEquandaEJB

public List<HideIfEJB> selectEquandaEJB(EquandaQuery query)
                                 throws EquandaPersistenceException
Specified by:
selectEquandaEJB in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRunQueryId

public List<Uoid> equandaRunQueryId(EquandaQuery query)
                             throws EquandaPersistenceException
Specified by:
equandaRunQueryId in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRunQueryEJB

public List<HideIfEJB> equandaRunQueryEJB(EquandaQuery query)
                                   throws EquandaPersistenceException
Specified by:
equandaRunQueryEJB in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRunQuery

public List<HideIf> equandaRunQuery(EquandaQuery query)
                             throws EquandaPersistenceException
Specified by:
equandaRunQuery in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRunCountQuery

public long equandaRunCountQuery(EquandaQuery query)
                          throws EquandaPersistenceException
Specified by:
equandaRunCountQuery in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRunUpdateQuery

public long equandaRunUpdateQuery(EquandaQuery query)
                           throws EquandaPersistenceException
Specified by:
equandaRunUpdateQuery in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectEquandaSingle

public HideIf selectEquandaSingle(EquandaQuery query)
                           throws EquandaPersistenceException
Specified by:
selectEquandaSingle in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectEquandaSingleEJB

public HideIfEJB selectEquandaSingleEJB(EquandaQuery query)
                                 throws EquandaPersistenceException
Specified by:
selectEquandaSingleEJB in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

selectSelectShowEJB

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIfEJB> selectSelectShowEJB()
                                    throws EquandaPersistenceException
Specified by:
selectSelectShowEJB in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectSelectShow

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIf> selectSelectShow()
                              throws EquandaPersistenceException
Specified by:
selectSelectShow in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectSelectHideIfEJB

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIfEJB> selectSelectHideIfEJB()
                                      throws EquandaPersistenceException
Specified by:
selectSelectHideIfEJB in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectSelectHideIf

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIf> selectSelectHideIf()
                                throws EquandaPersistenceException
Specified by:
selectSelectHideIf in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectSelectHideEJB

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIfEJB> selectSelectHideEJB()
                                    throws EquandaPersistenceException
Specified by:
selectSelectHideEJB in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectSelectHide

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIf> selectSelectHide()
                              throws EquandaPersistenceException
Specified by:
selectSelectHide in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectEquandaAllEJB

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIfEJB> selectEquandaAllEJB()
                                    throws EquandaPersistenceException
Specified by:
selectEquandaAllEJB in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

selectEquandaAll

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<HideIf> selectEquandaAll()
                              throws EquandaPersistenceException
Specified by:
selectEquandaAll in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

equandaUpdate

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public HideIf equandaUpdate(HideIf proxy)
                     throws EquandaPersistenceException
Specified by:
equandaUpdate in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

equandaRefresh

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public HideIf equandaRefresh(Uoid uoid,
                                          long version)
                      throws EquandaPersistenceException
Specified by:
equandaRefresh in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Throws:
EquandaPersistenceException

ActionShow

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void ActionShow(Uoid uoid)
                throws EquandaPersistenceException
Specified by:
ActionShow in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

ActionHideIf

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void ActionHideIf(Uoid uoid)
                  throws EquandaPersistenceException
Specified by:
ActionHideIf in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

ActionHide

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void ActionHide(Uoid uoid)
                throws EquandaPersistenceException
Specified by:
ActionHide in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

removeEntityBean

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void removeEntityBean(Uoid uoid)
                      throws EquandaPersistenceException
Specified by:
removeEntityBean in interface HideIfSelectorEJB
Throws:
EquandaPersistenceException

remove

@PermitAll
public void remove()
Specified by:
remove in interface EquandaSelector<Uoid,HideIf,HideIfEJB>
Specified by:
remove in interface HideIfSelectorEJB


Copyright © 2007-2008. All Rights Reserved.