org.equanda.test.dm.server
Class ChoicesSelectorBean
java.lang.Object
   org.equanda.test.dm.server.ChoicesSelectorBean
org.equanda.test.dm.server.ChoicesSelectorBean
- All Implemented Interfaces: 
- Serializable, EquandaSelector<Uoid,Choices,ChoicesEJB>, ExceptionCodes, ChoicesSelectorEJB, ChoicesConstants
- public class ChoicesSelectorBean 
- extends Object- implements ChoicesSelectorEJB, ExceptionCodes, Serializable, ChoicesConstants
ChoicesSelector
- See Also:
- Serialized Form
 
| 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.ChoicesConstants | 
| COUNTRY_AUS, COUNTRY_NZ, COUNTRY_USA, MONITOR_SIZE_BIG, MONITOR_SIZE_MEDIUM, MONITOR_SIZE_SMALL, SEASON_AUTOMN, SEASON_SPRING, SEASON_SUMMER, SEASON_WINTER, TYPE_Choices, WEIGHT_BIG, WEIGHT_SMALL | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ChoicesSelectorBean
public ChoicesSelectorBean()
getEquandaName
public String getEquandaName()
- 
- Specified by:
- getEquandaNamein interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
 
equandaCreate
@PermitAll
public Choices equandaCreate(String type)
- 
- Specified by:
- equandaCreatein interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
 
selectId
@PermitAll
public Choices selectId(Uoid uoid)
                 throws EquandaPersistenceException
- 
- Specified by:
- selectIdin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectIdEJB
@PermitAll
public ChoicesEJB selectIdEJB(Uoid uoid)
                       throws EquandaPersistenceException
- 
- Specified by:
- selectIdEJBin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectMultipleId
public Choices[] selectMultipleId(Uoid[] arr)
                           throws EquandaPersistenceException
- 
- Specified by:
- selectMultipleIdin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquanda
public List<Choices> selectEquanda(EquandaQuery query)
                            throws EquandaPersistenceException
- 
- Specified by:
- selectEquandain interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquandaEJB
public List<ChoicesEJB> selectEquandaEJB(EquandaQuery query)
                                  throws EquandaPersistenceException
- 
- Specified by:
- selectEquandaEJBin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRunQueryId
public List<Uoid> equandaRunQueryId(EquandaQuery query)
                             throws EquandaPersistenceException
- 
- Specified by:
- equandaRunQueryIdin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRunQueryEJB
public List<ChoicesEJB> equandaRunQueryEJB(EquandaQuery query)
                                    throws EquandaPersistenceException
- 
- Specified by:
- equandaRunQueryEJBin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRunQuery
public List<Choices> equandaRunQuery(EquandaQuery query)
                              throws EquandaPersistenceException
- 
- Specified by:
- equandaRunQueryin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRunCountQuery
public long equandaRunCountQuery(EquandaQuery query)
                          throws EquandaPersistenceException
- 
- Specified by:
- equandaRunCountQueryin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRunUpdateQuery
public long equandaRunUpdateQuery(EquandaQuery query)
                           throws EquandaPersistenceException
- 
- Specified by:
- equandaRunUpdateQueryin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquandaSingle
public Choices selectEquandaSingle(EquandaQuery query)
                            throws EquandaPersistenceException
- 
- Specified by:
- selectEquandaSinglein interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquandaSingleEJB
public ChoicesEJB selectEquandaSingleEJB(EquandaQuery query)
                                  throws EquandaPersistenceException
- 
- Specified by:
- selectEquandaSingleEJBin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquandaAllEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<ChoicesEJB> selectEquandaAllEJB()
                                     throws EquandaPersistenceException
- 
- Specified by:
- selectEquandaAllEJBin interface- ChoicesSelectorEJB
 
- 
- Throws:
- EquandaPersistenceException
 
selectEquandaAll
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Choices> selectEquandaAll()
                               throws EquandaPersistenceException
- 
- Specified by:
- selectEquandaAllin interface- ChoicesSelectorEJB
 
- 
- Throws:
- EquandaPersistenceException
 
equandaUpdate
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Choices equandaUpdate(Choices proxy)
                      throws EquandaPersistenceException
- 
- Specified by:
- equandaUpdatein interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
equandaRefresh
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Choices equandaRefresh(Uoid uoid,
                                           long version)
                       throws EquandaPersistenceException
- 
- Specified by:
- equandaRefreshin interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
 
- 
- Throws:
- EquandaPersistenceException
 
removeEntityBean
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void removeEntityBean(Uoid uoid)
                      throws EquandaPersistenceException
- 
- Specified by:
- removeEntityBeanin interface- ChoicesSelectorEJB
 
- 
- Throws:
- EquandaPersistenceException
 
remove
@PermitAll
public void remove()
- 
- Specified by:
- removein interface- EquandaSelector<Uoid,Choices,ChoicesEJB>
- Specified by:
- removein interface- ChoicesSelectorEJB
 
- 
 
getEquandaCountries
public Collection<String> getEquandaCountries(Uoid uoid)
                                       throws EquandaPersistenceException
- 
- Specified by:
- getEquandaCountriesin interface- ChoicesSelectorEJB
 
- 
- Throws:
- EquandaPersistenceException
 
Copyright © 2007-2008. All Rights Reserved.