use of entities.User in project tapestry-5 by apache.
the class SSOEntity method onPersistEntity.
void onPersistEntity() {
final User user = new User();
user.setFirstName("name");
userDAO.add(user);
this.user = user;
}
use of entities.User in project tapestry-5 by apache.
the class EncodeEntities method onCreate.
@CommitAfter
@PersistenceContext(unitName = AppConstants.TEST_PERSISTENCE_UNIT)
void onCreate() {
final User user = new User();
user.setFirstName("name");
entityManager.persist(user);
}
use of entities.User in project tapestry-5 by apache.
the class PersistEntity method onCreateEntity.
void onCreateEntity() {
User user = new User();
user.setFirstName("name");
userDAO.add(user);
this.user = user;
}
use of entities.User in project tapestry-5 by apache.
the class SSOEntity method onPersistEntity.
void onPersistEntity() {
User user = new User();
user.setFirstName("name");
userDAO.add(user);
this.user = user;
}
use of entities.User in project tapestry-5 by apache.
the class Start method onActionFromCommitAfter.
Object onActionFromCommitAfter() {
User user = new User();
user.setFirstName("Diane");
userDAO.add(user);
commitAfterDemo.setUser(user);
return commitAfterDemo;
}
Aggregations