org.equanda.test.dm.server
Class VehicleSelectorBean
java.lang.Object
org.equanda.test.dm.server.VehicleSelectorBean
- All Implemented Interfaces:
- Serializable, EquandaSelector<Uoid,Vehicle,VehicleEJB>, ExceptionCodes, VehicleConstants, VehicleSelectorEJB
public class VehicleSelectorBean
- extends Object
- implements VehicleSelectorEJB, ExceptionCodes, Serializable, VehicleConstants
VehicleSelector
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleSelectorBean
public VehicleSelectorBean()
getEquandaName
public String getEquandaName()
- Specified by:
getEquandaName
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
equandaCreate
@PermitAll
public Vehicle equandaCreate(String type)
- Specified by:
equandaCreate
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
selectId
@PermitAll
public Vehicle selectId(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
selectId
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectIdEJB
@PermitAll
public VehicleEJB selectIdEJB(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
selectIdEJB
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectMultipleId
public Vehicle[] selectMultipleId(Uoid[] arr)
throws EquandaPersistenceException
- Specified by:
selectMultipleId
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectEquanda
public List<Vehicle> selectEquanda(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquanda
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectEquandaEJB
public List<VehicleEJB> selectEquandaEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaEJB
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRunQueryId
public List<Uoid> equandaRunQueryId(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQueryId
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRunQueryEJB
public List<VehicleEJB> equandaRunQueryEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQueryEJB
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRunQuery
public List<Vehicle> equandaRunQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQuery
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRunCountQuery
public long equandaRunCountQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunCountQuery
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRunUpdateQuery
public long equandaRunUpdateQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunUpdateQuery
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectEquandaSingle
public Vehicle selectEquandaSingle(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaSingle
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectEquandaSingleEJB
public VehicleEJB selectEquandaSingleEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaSingleEJB
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
selectNameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectNameEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectNameEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectName
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectName(String name)
throws EquandaPersistenceException
- Specified by:
selectName
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectMultiOrderEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectMultiOrderEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectMultiOrderEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectMultiOrder
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectMultiOrder(String name)
throws EquandaPersistenceException
- Specified by:
selectMultiOrder
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectMultiOrderDescEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectMultiOrderDescEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectMultiOrderDescEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectMultiOrderDesc
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectMultiOrderDesc(String name)
throws EquandaPersistenceException
- Specified by:
selectMultiOrderDesc
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectNonameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectNonameEJB()
throws EquandaPersistenceException
- Specified by:
selectNonameEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectNoname
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectNoname()
throws EquandaPersistenceException
- Specified by:
selectNoname
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectNameStartingWithEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public VehicleEJB selectNameStartingWithEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectNameStartingWithEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectNameStartingWith
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle selectNameStartingWith(String name)
throws EquandaPersistenceException
- Specified by:
selectNameStartingWith
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColourSingleEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public VehicleEJB selectColourSingleEJB(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColourSingleEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColourSingle
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle selectColourSingle(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColourSingle
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColour_AscendingNameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectColour_AscendingNameEJB(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColour_AscendingNameEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColour_AscendingName
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectColour_AscendingName(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColour_AscendingName
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColour_DescendingNameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectColour_DescendingNameEJB(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColour_DescendingNameEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColour_DescendingName
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectColour_DescendingName(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColour_DescendingName
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectTestNotParameterEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectTestNotParameterEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectTestNotParameterEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectTestNotParameter
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectTestNotParameter(String name)
throws EquandaPersistenceException
- Specified by:
selectTestNotParameter
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectTestNotParameterSingleEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public VehicleEJB selectTestNotParameterSingleEJB(String name)
throws EquandaPersistenceException
- Specified by:
selectTestNotParameterSingleEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectTestNotParameterSingle
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle selectTestNotParameterSingle(String name)
throws EquandaPersistenceException
- Specified by:
selectTestNotParameterSingle
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColourCodeEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectColourCodeEJB(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColourCodeEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectColourCode
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectColourCode(int colourCode)
throws EquandaPersistenceException
- Specified by:
selectColourCode
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectSpeedEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public VehicleEJB selectSpeedEJB(int speed)
throws EquandaPersistenceException
- Specified by:
selectSpeedEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectSpeed
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle selectSpeed(int speed)
throws EquandaPersistenceException
- Specified by:
selectSpeed
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectEquandaAllEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<VehicleEJB> selectEquandaAllEJB()
throws EquandaPersistenceException
- Specified by:
selectEquandaAllEJB
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
selectEquandaAll
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Vehicle> selectEquandaAll()
throws EquandaPersistenceException
- Specified by:
selectEquandaAll
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
equandaUpdate
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle equandaUpdate(Vehicle proxy)
throws EquandaPersistenceException
- Specified by:
equandaUpdate
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
equandaRefresh
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public Vehicle equandaRefresh(Uoid uoid,
long version)
throws EquandaPersistenceException
- Specified by:
equandaRefresh
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Throws:
EquandaPersistenceException
removeEntityBean
@RolesAllowed(value="LocalUser")
public void removeEntityBean(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
removeEntityBean
in interface VehicleSelectorEJB
- Throws:
EquandaPersistenceException
remove
@PermitAll
public void remove()
- Specified by:
remove
in interface EquandaSelector<Uoid,Vehicle,VehicleEJB>
- Specified by:
remove
in interface VehicleSelectorEJB
Copyright © 2007-2008. All Rights Reserved.