public static Item load(String siteId, Long itemId, LockModeType lockModeType) throws SecurityException, Exception {
EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();
Item item = (Item) em.find(Item.class, itemId);
if (lockModeType != null) {
em.lock(item, lockModeType);
}
if (item != null) {
if (!item.getSiteId().equals(siteId)) {
throw new SecurityException();
}