org.equanda.test.dm.server
Class CocoonManSelectorBean
java.lang.Object
org.equanda.test.dm.server.CocoonManSelectorBean
- All Implemented Interfaces:
- Serializable, EquandaSelector<Uoid,CocoonMan,CocoonManEJB>, ExceptionCodes, CocoonManSelectorEJB, CocoonManConstants
public class CocoonManSelectorBean
- extends Object
- implements CocoonManSelectorEJB, ExceptionCodes, Serializable, CocoonManConstants
CocoonManSelector
- 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 |
|
Method Summary |
CocoonMan |
equandaCreate(String type)
|
CocoonMan |
equandaRefresh(Uoid uoid,
long version)
|
long |
equandaRunCountQuery(EquandaQuery query)
|
List<CocoonMan> |
equandaRunQuery(EquandaQuery query)
|
List<CocoonManEJB> |
equandaRunQueryEJB(EquandaQuery query)
|
List<Uoid> |
equandaRunQueryId(EquandaQuery query)
|
long |
equandaRunUpdateQuery(EquandaQuery query)
|
CocoonMan |
equandaUpdate(CocoonMan proxy)
|
Car |
getEquandaCar(Uoid uoid)
an ajax select link |
Collection<Date> |
getEquandaDatesToRemember(Uoid uoid)
|
Car |
getEquandaHiddenCar(Uoid uoid)
|
LazyInst |
getEquandaLazyInst(Uoid uoid)
a combobox link |
Collection<Car> |
getEquandaManyCars(Uoid uoid)
|
String |
getEquandaName()
|
Passport |
getEquandaPassport(Uoid uoid)
a button select link |
Collection<String> |
getEquandaPreviousJobs(Uoid uoid)
|
void |
remove()
|
void |
removeEntityBean(Uoid uoid)
|
List<CocoonMan> |
selectAll()
|
List<CocoonManEJB> |
selectAllEJB()
|
List<CocoonMan> |
selectEquanda(EquandaQuery query)
|
List<CocoonMan> |
selectEquandaAll()
|
List<CocoonManEJB> |
selectEquandaAllEJB()
|
List<CocoonManEJB> |
selectEquandaEJB(EquandaQuery query)
|
CocoonMan |
selectEquandaSingle(EquandaQuery query)
|
CocoonManEJB |
selectEquandaSingleEJB(EquandaQuery query)
|
CocoonMan |
selectId(Uoid uoid)
|
CocoonManEJB |
selectIdEJB(Uoid uoid)
|
CocoonMan[] |
selectMultipleId(Uoid[] arr)
|
List<CocoonMan> |
selectPersonByBirthdate(Date dateOfBirth)
|
List<CocoonManEJB> |
selectPersonByBirthdateEJB(Date dateOfBirth)
|
List<CocoonMan> |
selectPersonByHeight(double height)
|
List<CocoonManEJB> |
selectPersonByHeightEJB(double height)
|
List<CocoonMan> |
selectPersonByLastName(String lastName)
|
List<CocoonManEJB> |
selectPersonByLastNameEJB(String lastName)
|
List<CocoonMan> |
selectPersonByName(String firstName,
String lastName)
|
List<CocoonManEJB> |
selectPersonByNameEJB(String firstName,
String lastName)
|
List<CocoonMan> |
selectPersonByStatus(boolean employed)
|
List<CocoonManEJB> |
selectPersonByStatusEJB(boolean employed)
|
List<CocoonMan> |
selectPersonByTimestamp(Timestamp sometime)
|
List<CocoonManEJB> |
selectPersonByTimestampEJB(Timestamp sometime)
|
List<CocoonMan> |
selectSelectionsWithSuggests(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
|
List<CocoonManEJB> |
selectSelectionsWithSuggestsEJB(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
|
List<CocoonMan> |
selectSelectionsWithValueListSuggests(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
|
List<CocoonManEJB> |
selectSelectionsWithValueListSuggestsEJB(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
|
List<CocoonMan> |
selectSelectWithLimit(boolean employed,
int equandaLimit)
|
List<CocoonManEJB> |
selectSelectWithLimitEJB(boolean employed,
int equandaLimit)
|
void |
TestAction(Uoid uoid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CocoonManSelectorBean
public CocoonManSelectorBean()
getEquandaName
public String getEquandaName()
- Specified by:
getEquandaName in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
equandaCreate
@PermitAll
public CocoonMan equandaCreate(String type)
- Specified by:
equandaCreate in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
selectId
@PermitAll
public CocoonMan selectId(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
selectId in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectIdEJB
@PermitAll
public CocoonManEJB selectIdEJB(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
selectIdEJB in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectMultipleId
public CocoonMan[] selectMultipleId(Uoid[] arr)
throws EquandaPersistenceException
- Specified by:
selectMultipleId in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectEquanda
public List<CocoonMan> selectEquanda(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquanda in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectEquandaEJB
public List<CocoonManEJB> selectEquandaEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaEJB in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRunQueryId
public List<Uoid> equandaRunQueryId(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQueryId in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRunQueryEJB
public List<CocoonManEJB> equandaRunQueryEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQueryEJB in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRunQuery
public List<CocoonMan> equandaRunQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunQuery in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRunCountQuery
public long equandaRunCountQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunCountQuery in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRunUpdateQuery
public long equandaRunUpdateQuery(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
equandaRunUpdateQuery in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectEquandaSingle
public CocoonMan selectEquandaSingle(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaSingle in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectEquandaSingleEJB
public CocoonManEJB selectEquandaSingleEJB(EquandaQuery query)
throws EquandaPersistenceException
- Specified by:
selectEquandaSingleEJB in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
selectPersonByNameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByNameEJB(String firstName,
String lastName)
throws EquandaPersistenceException
- Specified by:
selectPersonByNameEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByName
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByName(String firstName,
String lastName)
throws EquandaPersistenceException
- Specified by:
selectPersonByName in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByLastNameEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByLastNameEJB(String lastName)
throws EquandaPersistenceException
- Specified by:
selectPersonByLastNameEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByLastName
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByLastName(String lastName)
throws EquandaPersistenceException
- Specified by:
selectPersonByLastName in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByBirthdateEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByBirthdateEJB(Date dateOfBirth)
throws EquandaPersistenceException
- Specified by:
selectPersonByBirthdateEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByBirthdate
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByBirthdate(Date dateOfBirth)
throws EquandaPersistenceException
- Specified by:
selectPersonByBirthdate in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByStatusEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByStatusEJB(boolean employed)
throws EquandaPersistenceException
- Specified by:
selectPersonByStatusEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByStatus
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByStatus(boolean employed)
throws EquandaPersistenceException
- Specified by:
selectPersonByStatus in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByHeightEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByHeightEJB(double height)
throws EquandaPersistenceException
- Specified by:
selectPersonByHeightEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByHeight
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByHeight(double height)
throws EquandaPersistenceException
- Specified by:
selectPersonByHeight in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByTimestampEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectPersonByTimestampEJB(Timestamp sometime)
throws EquandaPersistenceException
- Specified by:
selectPersonByTimestampEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectPersonByTimestamp
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectPersonByTimestamp(Timestamp sometime)
throws EquandaPersistenceException
- Specified by:
selectPersonByTimestamp in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectWithLimitEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectSelectWithLimitEJB(boolean employed,
int equandaLimit)
throws EquandaPersistenceException
- Specified by:
selectSelectWithLimitEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectWithLimit
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectSelectWithLimit(boolean employed,
int equandaLimit)
throws EquandaPersistenceException
- Specified by:
selectSelectWithLimit in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectionsWithSuggestsEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectSelectionsWithSuggestsEJB(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
throws EquandaPersistenceException
- Specified by:
selectSelectionsWithSuggestsEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectionsWithSuggests
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectSelectionsWithSuggests(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
throws EquandaPersistenceException
- Specified by:
selectSelectionsWithSuggests in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectionsWithValueListSuggestsEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectSelectionsWithValueListSuggestsEJB(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
throws EquandaPersistenceException
- Specified by:
selectSelectionsWithValueListSuggestsEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectSelectionsWithValueListSuggests
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectSelectionsWithValueListSuggests(String firstName,
String lastName,
boolean employed,
Date dateOfBirth,
double height,
Timestamp sometime,
int noOfChildren)
throws EquandaPersistenceException
- Specified by:
selectSelectionsWithValueListSuggests in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectAllEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectAllEJB()
throws EquandaPersistenceException
- Specified by:
selectAllEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectAll
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectAll()
throws EquandaPersistenceException
- Specified by:
selectAll in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectEquandaAllEJB
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonManEJB> selectEquandaAllEJB()
throws EquandaPersistenceException
- Specified by:
selectEquandaAllEJB in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
selectEquandaAll
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<CocoonMan> selectEquandaAll()
throws EquandaPersistenceException
- Specified by:
selectEquandaAll in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
equandaUpdate
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public CocoonMan equandaUpdate(CocoonMan proxy)
throws EquandaPersistenceException
- Specified by:
equandaUpdate in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
equandaRefresh
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public CocoonMan equandaRefresh(Uoid uoid,
long version)
throws EquandaPersistenceException
- Specified by:
equandaRefresh in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>
- Throws:
EquandaPersistenceException
TestAction
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void TestAction(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
TestAction in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
removeEntityBean
@RolesAllowed(value="LocalUser")
public void removeEntityBean(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
removeEntityBean in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
remove
@PermitAll
public void remove()
- Specified by:
remove in interface EquandaSelector<Uoid,CocoonMan,CocoonManEJB>- Specified by:
remove in interface CocoonManSelectorEJB
getEquandaPreviousJobs
public Collection<String> getEquandaPreviousJobs(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
getEquandaPreviousJobs in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaDatesToRemember
public Collection<Date> getEquandaDatesToRemember(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
getEquandaDatesToRemember in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaCar
public Car getEquandaCar(Uoid uoid)
throws EquandaPersistenceException
- Description copied from interface:
CocoonManSelectorEJB
- an ajax select link
- Specified by:
getEquandaCar in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaHiddenCar
public Car getEquandaHiddenCar(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
getEquandaHiddenCar in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaManyCars
public Collection<Car> getEquandaManyCars(Uoid uoid)
throws EquandaPersistenceException
- Specified by:
getEquandaManyCars in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaPassport
public Passport getEquandaPassport(Uoid uoid)
throws EquandaPersistenceException
- Description copied from interface:
CocoonManSelectorEJB
- a button select link
- Specified by:
getEquandaPassport in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
getEquandaLazyInst
public LazyInst getEquandaLazyInst(Uoid uoid)
throws EquandaPersistenceException
- Description copied from interface:
CocoonManSelectorEJB
- a combobox link
- Specified by:
getEquandaLazyInst in interface CocoonManSelectorEJB
- Throws:
EquandaPersistenceException
Copyright © 2007-2008. All Rights Reserved.