public class MapFacadeBean extends java.lang.Object implements IMapFacadeImpl, javax.ejb.SessionBean
Constructor and Description |
---|
MapFacadeBean() |
Modifier and Type | Method and Description |
---|---|
void |
addCollectionElement(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.lang.String collectionName,
java.util.Map collectionElementKeyValues) |
void |
commit(UserInfo userInfo) |
java.lang.Object |
create(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values) |
java.lang.Object |
createAggregate(UserInfo userInfo,
java.lang.String modelName,
java.util.Map containerKeyValues,
int counter,
java.util.Map values) |
java.lang.Object |
createAggregate(UserInfo userInfo,
java.lang.String modelName,
java.util.Map containerKeyValues,
java.lang.String collectionName,
java.util.Map values) |
java.lang.Object |
createAggregate(UserInfo userInfo,
java.lang.String modelName,
java.lang.Object container,
int counter,
java.util.Map values) |
java.util.Map |
createAggregateReturningKey(UserInfo userInfo,
java.lang.String modelName,
java.util.Map containerKeyValues,
int counter,
java.util.Map values) |
java.util.Map |
createAggregateReturningKey(UserInfo userInfo,
java.lang.String modelName,
java.util.Map containerKeyValues,
java.lang.String collectionName,
java.util.Map values) |
java.util.Map |
createNotValidatingCollections(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values) |
java.util.Map |
createReturningKey(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values) |
java.util.Map |
createReturningValues(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values) |
void |
delete(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues) |
void |
ejbActivate() |
void |
ejbCreate() |
void |
ejbPassivate() |
void |
ejbRemove() |
java.lang.Object |
findEntity(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues) |
java.lang.Object |
getKey(MetaModel metaModel,
java.util.Map keyValues) |
java.util.Map |
getKeyValues(UserInfo userInfo,
java.lang.String modelName,
java.lang.Object entity) |
javax.ejb.SessionContext |
getSessionContext() |
java.util.Map |
getValues(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.util.Map membersNames) |
java.util.Map |
getValues(UserInfo userInfo,
java.lang.String modelName,
java.lang.Object modelObject,
java.util.Map memberNames) |
java.util.Map |
getValuesByAnyProperty(UserInfo userInfo,
java.lang.String modelName,
java.util.Map searchingValues,
java.util.Map membersNames) |
void |
moveCollectionElement(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.lang.String collectionName,
int from,
int to) |
void |
moveCollectionElementToAnotherCollection(UserInfo userInfo,
java.lang.String sourceModelName,
java.util.Map sourceKeyValues,
java.lang.String sourceCollectionName,
java.lang.String targetModelName,
java.util.Map targetKeyValues,
java.lang.String targetCollectionName,
java.util.Map collectionElementKeyValues) |
void |
reassociate(java.lang.Object entity) |
void |
removeCollectionElement(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.lang.String collectionName,
java.util.Map collectionElementKeyValues) |
void |
setSessionContext(javax.ejb.SessionContext ctx) |
void |
setValues(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.util.Map values) |
void |
setValuesNotTracking(UserInfo userInfo,
java.lang.String modelName,
java.util.Map keyValues,
java.util.Map values) |
Messages |
validate(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values) |
Messages |
validateIncludingMissingRequired(UserInfo userInfo,
java.lang.String modelName,
java.util.Map values,
java.lang.String containerReference) |
public java.lang.Object create(UserInfo userInfo, java.lang.String modelName, java.util.Map values) throws javax.ejb.CreateException, XavaException, ValidationException, java.rmi.RemoteException
create
in interface IMapFacadeImpl
javax.ejb.CreateException
XavaException
ValidationException
java.rmi.RemoteException
public void commit(UserInfo userInfo)
commit
in interface IMapFacadeImpl
public java.util.Map getValues(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.util.Map membersNames) throws javax.ejb.FinderException, XavaException, java.rmi.RemoteException
getValues
in interface IMapFacadeImpl
javax.ejb.FinderException
XavaException
java.rmi.RemoteException
public java.util.Map getValuesByAnyProperty(UserInfo userInfo, java.lang.String modelName, java.util.Map searchingValues, java.util.Map membersNames) throws javax.ejb.FinderException, XavaException, java.rmi.RemoteException
getValuesByAnyProperty
in interface IMapFacadeImpl
javax.ejb.FinderException
XavaException
java.rmi.RemoteException
public void delete(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues) throws javax.ejb.RemoveException, ValidationException, XavaException, java.rmi.RemoteException
delete
in interface IMapFacadeImpl
javax.ejb.RemoveException
ValidationException
XavaException
java.rmi.RemoteException
public void setValues(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.util.Map values) throws javax.ejb.FinderException, ValidationException, XavaException, java.rmi.RemoteException
setValues
in interface IMapFacadeImpl
javax.ejb.FinderException
ValidationException
XavaException
java.rmi.RemoteException
public void setValuesNotTracking(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.util.Map values) throws javax.ejb.FinderException, ValidationException, XavaException, java.rmi.RemoteException
setValuesNotTracking
in interface IMapFacadeImpl
javax.ejb.FinderException
ValidationException
XavaException
java.rmi.RemoteException
public java.lang.Object findEntity(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues) throws javax.ejb.FinderException, java.rmi.RemoteException
findEntity
in interface IMapFacadeImpl
javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Map createReturningValues(UserInfo userInfo, java.lang.String modelName, java.util.Map values) throws javax.ejb.CreateException, XavaException, ValidationException, java.rmi.RemoteException
createReturningValues
in interface IMapFacadeImpl
javax.ejb.CreateException
XavaException
ValidationException
java.rmi.RemoteException
public java.util.Map createReturningKey(UserInfo userInfo, java.lang.String modelName, java.util.Map values) throws javax.ejb.CreateException, XavaException, ValidationException, java.rmi.RemoteException
createReturningKey
in interface IMapFacadeImpl
javax.ejb.CreateException
XavaException
ValidationException
java.rmi.RemoteException
public java.util.Map createNotValidatingCollections(UserInfo userInfo, java.lang.String modelName, java.util.Map values) throws javax.ejb.CreateException, XavaException, ValidationException, java.rmi.RemoteException
createNotValidatingCollections
in interface IMapFacadeImpl
javax.ejb.CreateException
XavaException
ValidationException
java.rmi.RemoteException
public java.lang.Object createAggregate(UserInfo userInfo, java.lang.String modelName, java.util.Map containerKeyValues, java.lang.String collectionName, java.util.Map values) throws javax.ejb.CreateException, ValidationException, XavaException, java.rmi.RemoteException
createAggregate
in interface IMapFacadeImpl
javax.ejb.CreateException
ValidationException
XavaException
java.rmi.RemoteException
public java.lang.Object createAggregate(UserInfo userInfo, java.lang.String modelName, java.util.Map containerKeyValues, int counter, java.util.Map values) throws javax.ejb.CreateException, ValidationException, XavaException, java.rmi.RemoteException
createAggregate
in interface IMapFacadeImpl
javax.ejb.CreateException
ValidationException
XavaException
java.rmi.RemoteException
public java.lang.Object createAggregate(UserInfo userInfo, java.lang.String modelName, java.lang.Object container, int counter, java.util.Map values) throws javax.ejb.CreateException, ValidationException, XavaException, java.rmi.RemoteException
createAggregate
in interface IMapFacadeImpl
javax.ejb.CreateException
ValidationException
XavaException
java.rmi.RemoteException
public java.util.Map createAggregateReturningKey(UserInfo userInfo, java.lang.String modelName, java.util.Map containerKeyValues, int counter, java.util.Map values) throws javax.ejb.CreateException, ValidationException, XavaException, java.rmi.RemoteException
createAggregateReturningKey
in interface IMapFacadeImpl
javax.ejb.CreateException
ValidationException
XavaException
java.rmi.RemoteException
public java.util.Map createAggregateReturningKey(UserInfo userInfo, java.lang.String modelName, java.util.Map containerKeyValues, java.lang.String collectionName, java.util.Map values) throws javax.ejb.CreateException, ValidationException, XavaException, java.rmi.RemoteException
createAggregateReturningKey
in interface IMapFacadeImpl
javax.ejb.CreateException
ValidationException
XavaException
java.rmi.RemoteException
public java.util.Map getValues(UserInfo userInfo, java.lang.String modelName, java.lang.Object modelObject, java.util.Map memberNames) throws XavaException, java.rmi.RemoteException
getValues
in interface IMapFacadeImpl
XavaException
java.rmi.RemoteException
public Messages validate(UserInfo userInfo, java.lang.String modelName, java.util.Map values) throws XavaException, java.rmi.RemoteException
validate
in interface IMapFacadeImpl
XavaException
java.rmi.RemoteException
public Messages validateIncludingMissingRequired(UserInfo userInfo, java.lang.String modelName, java.util.Map values, java.lang.String containerReference) throws XavaException, java.rmi.RemoteException
validateIncludingMissingRequired
in interface IMapFacadeImpl
XavaException
java.rmi.RemoteException
public void removeCollectionElement(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.lang.String collectionName, java.util.Map collectionElementKeyValues) throws javax.ejb.FinderException, ValidationException, XavaException, javax.ejb.RemoveException, java.rmi.RemoteException
removeCollectionElement
in interface IMapFacadeImpl
javax.ejb.FinderException
ValidationException
XavaException
javax.ejb.RemoveException
java.rmi.RemoteException
public void addCollectionElement(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.lang.String collectionName, java.util.Map collectionElementKeyValues) throws javax.ejb.FinderException, ValidationException, XavaException, java.rmi.RemoteException
addCollectionElement
in interface IMapFacadeImpl
javax.ejb.FinderException
ValidationException
XavaException
java.rmi.RemoteException
public void moveCollectionElementToAnotherCollection(UserInfo userInfo, java.lang.String sourceModelName, java.util.Map sourceKeyValues, java.lang.String sourceCollectionName, java.lang.String targetModelName, java.util.Map targetKeyValues, java.lang.String targetCollectionName, java.util.Map collectionElementKeyValues) throws javax.ejb.FinderException, ValidationException, XavaException, java.rmi.RemoteException
moveCollectionElementToAnotherCollection
in interface IMapFacadeImpl
javax.ejb.FinderException
ValidationException
XavaException
java.rmi.RemoteException
public void moveCollectionElement(UserInfo userInfo, java.lang.String modelName, java.util.Map keyValues, java.lang.String collectionName, int from, int to) throws javax.ejb.FinderException, XavaException, java.rmi.RemoteException
moveCollectionElement
in interface IMapFacadeImpl
javax.ejb.FinderException
XavaException
java.rmi.RemoteException
public void ejbActivate() throws java.rmi.RemoteException
ejbActivate
in interface javax.ejb.SessionBean
java.rmi.RemoteException
public void ejbCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
javax.ejb.CreateException
java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
ejbPassivate
in interface javax.ejb.SessionBean
java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException
ejbRemove
in interface javax.ejb.SessionBean
java.rmi.RemoteException
public javax.ejb.SessionContext getSessionContext()
public java.util.Map getKeyValues(UserInfo userInfo, java.lang.String modelName, java.lang.Object entity) throws java.rmi.RemoteException, XavaException
getKeyValues
in interface IMapFacadeImpl
java.rmi.RemoteException
XavaException
public void setSessionContext(javax.ejb.SessionContext ctx) throws java.rmi.RemoteException
setSessionContext
in interface javax.ejb.SessionBean
java.rmi.RemoteException
public java.lang.Object getKey(MetaModel metaModel, java.util.Map keyValues) throws XavaException, java.rmi.RemoteException
getKey
in interface IMapFacadeImpl
XavaException
java.rmi.RemoteException
public void reassociate(java.lang.Object entity) throws java.rmi.RemoteException
reassociate
in interface IMapFacadeImpl
java.rmi.RemoteException