Methods Summary |
---|
public int | checked(int i)
System.out.println("stateless checked");
return i;
|
public void | deleteAllEntity(org.jboss.tutorial.entity.security.bean.AllEntity e)
em.remove(e);
|
public void | deleteSomeEntity(org.jboss.tutorial.entity.security.bean.SomeEntity e)
em.remove(e);
|
public void | deleteStarEntity(org.jboss.tutorial.entity.security.bean.StarEntity e)
em.remove(e);
|
public org.jboss.tutorial.entity.security.bean.AllEntity | insertAllEntity()
AllEntity e = new AllEntity();
e.val = "x";
em.persist(e);
return e;
|
public org.jboss.tutorial.entity.security.bean.SomeEntity | insertSomeEntity()
SomeEntity e = new SomeEntity();
e.val = "x";
em.persist(e);
return e;
|
public org.jboss.tutorial.entity.security.bean.StarEntity | insertStarEntity()
StarEntity e = new StarEntity();
e.val = "x";
em.persist(e);
return e;
|
public org.jboss.tutorial.entity.security.bean.AllEntity | readAllEntity(int key)
AllEntity e = em.find(AllEntity.class, key);
return e;
|
public org.jboss.tutorial.entity.security.bean.SomeEntity | readSomeEntity(int key)
SomeEntity e = em.find(SomeEntity.class, key);
return e;
|
public org.jboss.tutorial.entity.security.bean.StarEntity | readStarEntity(int key)
StarEntity e = em.find(StarEntity.class, key);
return e;
|
public int | unchecked(int i)
System.out.println("stateless unchecked");
return i;
|
public void | updateAllEntity(org.jboss.tutorial.entity.security.bean.AllEntity e)
em.merge(e);
|
public void | updateSomeEntity(org.jboss.tutorial.entity.security.bean.SomeEntity e)
em.merge(e);
|
public void | updateStarEntity(org.jboss.tutorial.entity.security.bean.StarEntity e)
em.merge(e);
|