org.equanda.test.dm.server
Class RemoveSelectorBean

java.lang.Object
  extended by org.equanda.test.dm.server.RemoveSelectorBean
All Implemented Interfaces:
Serializable, EquandaSelector<Uoid,Remove,RemoveEJB>, ExceptionCodes, RemoveConstants, RemoveSelectorEJB

public class RemoveSelectorBean
extends Object
implements RemoveSelectorEJB, ExceptionCodes, Serializable, RemoveConstants

RemoveSelector

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.RemoveConstants
TYPE_Remove
 
Constructor Summary
RemoveSelectorBean()
           
 
Method Summary
 Remove equandaCreate(String type)
           
 Remove equandaRefresh(Uoid uoid, long version)
           
 long equandaRunCountQuery(EquandaQuery query)
           
 List<Remove> equandaRunQuery(EquandaQuery query)
           
 List<RemoveEJB> equandaRunQueryEJB(EquandaQuery query)
           
 List<Uoid> equandaRunQueryId(EquandaQuery query)
           
 long equandaRunUpdateQuery(EquandaQuery query)
           
 Remove equandaUpdate(Remove proxy)
           
 Linkable getEquandaField1LinkCascadeDelete(Uoid uoid)
           
 Linkable getEquandaField2BiLinkCascadeDelete(Uoid uoid)
           
 Linkable getEquandaField3BiLinkCascadeKeep(Uoid uoid)
           
 Collection<Linkable> getEquandaField4BiMultipleLinkCascadeKeep(Uoid uoid)
           
 Linkable getEquandaField5LinkCascadeKeep(Uoid uoid)
           
 Collection<Linkable> getEquandaField6MultipleLinkCascadeKeep(Uoid uoid)
           
 Collection<Linkable> getEquandaField7MultipleLinkCascadeRemove(Uoid uoid)
           
 Collection<Linkable> getEquandaField8BiMultipleLinkCascadeRemove(Uoid uoid)
           
 String getEquandaName()
           
 void remove()
           
 void removeEntityBean(Uoid uoid)
           
 List<Remove> selectEquanda(EquandaQuery query)
           
 List<Remove> selectEquandaAll()
           
 List<RemoveEJB> selectEquandaAllEJB()
           
 List<RemoveEJB> selectEquandaEJB(EquandaQuery query)
           
 Remove selectEquandaSingle(EquandaQuery query)
           
 RemoveEJB selectEquandaSingleEJB(EquandaQuery query)
           
 Remove selectId(Uoid uoid)
           
 RemoveEJB selectIdEJB(Uoid uoid)
           
 Remove[] selectMultipleId(Uoid[] arr)
           
 List<Remove> selectTestInt(int testInt)
           
 List<RemoveEJB> selectTestIntEJB(int testInt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveSelectorBean

public RemoveSelectorBean()
Method Detail

getEquandaName

public String getEquandaName()
Specified by:
getEquandaName in interface EquandaSelector<Uoid,Remove,RemoveEJB>

equandaCreate

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

selectId

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

selectIdEJB

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

selectMultipleId

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

selectEquanda

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

selectEquandaEJB

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

equandaRunQueryId

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

equandaRunQueryEJB

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

equandaRunQuery

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

equandaRunCountQuery

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

equandaRunUpdateQuery

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

selectEquandaSingle

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

selectEquandaSingleEJB

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

selectTestIntEJB

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<RemoveEJB> selectTestIntEJB(int testInt)
                                 throws EquandaPersistenceException
Specified by:
selectTestIntEJB in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

selectTestInt

@RolesAllowed(value={"LocalUser","LocalAdmin"})
public List<Remove> selectTestInt(int testInt)
                           throws EquandaPersistenceException
Specified by:
selectTestInt in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

selectEquandaAllEJB

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

selectEquandaAll

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

equandaUpdate

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

equandaRefresh

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

removeEntityBean

@RolesAllowed(value="LocalUser")
public void removeEntityBean(Uoid uoid)
                      throws EquandaPersistenceException
Specified by:
removeEntityBean in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

remove

@PermitAll
public void remove()
Specified by:
remove in interface EquandaSelector<Uoid,Remove,RemoveEJB>
Specified by:
remove in interface RemoveSelectorEJB

getEquandaField1LinkCascadeDelete

public Linkable getEquandaField1LinkCascadeDelete(Uoid uoid)
                                           throws EquandaPersistenceException
Specified by:
getEquandaField1LinkCascadeDelete in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField2BiLinkCascadeDelete

public Linkable getEquandaField2BiLinkCascadeDelete(Uoid uoid)
                                             throws EquandaPersistenceException
Specified by:
getEquandaField2BiLinkCascadeDelete in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField3BiLinkCascadeKeep

public Linkable getEquandaField3BiLinkCascadeKeep(Uoid uoid)
                                           throws EquandaPersistenceException
Specified by:
getEquandaField3BiLinkCascadeKeep in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField4BiMultipleLinkCascadeKeep

public Collection<Linkable> getEquandaField4BiMultipleLinkCascadeKeep(Uoid uoid)
                                                               throws EquandaPersistenceException
Specified by:
getEquandaField4BiMultipleLinkCascadeKeep in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField5LinkCascadeKeep

public Linkable getEquandaField5LinkCascadeKeep(Uoid uoid)
                                         throws EquandaPersistenceException
Specified by:
getEquandaField5LinkCascadeKeep in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField6MultipleLinkCascadeKeep

public Collection<Linkable> getEquandaField6MultipleLinkCascadeKeep(Uoid uoid)
                                                             throws EquandaPersistenceException
Specified by:
getEquandaField6MultipleLinkCascadeKeep in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField7MultipleLinkCascadeRemove

public Collection<Linkable> getEquandaField7MultipleLinkCascadeRemove(Uoid uoid)
                                                               throws EquandaPersistenceException
Specified by:
getEquandaField7MultipleLinkCascadeRemove in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException

getEquandaField8BiMultipleLinkCascadeRemove

public Collection<Linkable> getEquandaField8BiMultipleLinkCascadeRemove(Uoid uoid)
                                                                 throws EquandaPersistenceException
Specified by:
getEquandaField8BiMultipleLinkCascadeRemove in interface RemoveSelectorEJB
Throws:
EquandaPersistenceException


Copyright © 2007-2008. All Rights Reserved.