| info.jtrac.hibernate.HibernateJtracDao
HibernateJtracDao | public class HibernateJtracDao extends HibernateDaoSupport implements JtracDao(Code) | | DAO Implementation using Spring Hibernate template
note usage of the Spring "init-method" and "destroy-method" options
|
Method Summary | |
public int | bulkUpdateDeleteItemsForSpace(Space space) | public int | bulkUpdateDeleteSpaceRole(Space space, String roleKey) | public int | bulkUpdateFieldToNull(Space space, Field field) | public int | bulkUpdateFieldToNullForValue(Space space, Field field, int optionKey) | public int | bulkUpdateRenameSpaceRole(Space space, String oldRoleKey, String newRoleKey) | public int | bulkUpdateStatusToOpen(Space space, int status) | public void | createSchema() | public List<Config> | findAllConfig() | public List<AbstractItem> | findAllItems() | public List<Space> | findAllSpaces() | public List<User> | findAllUsers() | public List<Item> | findItems(long sequenceNum, String prefixCode) | public List<Item> | findItems(ItemSearch itemSearch) | public List<Space> | findSpacesByPrefixCode(String prefixCode) | public List<Space> | findSpacesWhereGuestAllowed() | public List<UserSpaceRole> | findUserRolesForSpace(long spaceId) | public List<User> | findUsersByEmail(String email) | public List<User> | findUsersByLoginName(String loginName) | public List<User> | findUsersForSpace(long spaceId) | public List<User> | findUsersForSpaceSet(Collection<Space> spaces) | public List<User> | findUsersMatching(String searchText, String searchOn) | public List<User> | findUsersWithRoleForSpace(long spaceId, String roleKey) | public Config | loadConfig(String param) | public int | loadCountOfHistoryInvolvingUser(User user) | public int | loadCountOfRecordsHavingFieldNotNull(Space space, Field field) | public int | loadCountOfRecordsHavingFieldWithValue(Space space, Field field, int optionKey) | public int | loadCountOfRecordsHavingStatus(Space space, int status) | public CountsHolder | loadCountsForUser(User user) | public Counts | loadCountsForUserSpace(User user, Space space) | public History | loadHistory(long id) | public Item | loadItem(long id) | public Metadata | loadMetadata(long id) | public Space | loadSpace(long id) | public SpaceSequence | loadSpaceSequence(long id) | public User | loadUser(long id) | public UserSpaceRole | loadUserSpaceRole(long id) | public void | removeItem(Item item) | public void | removeItemItem(ItemItem itemItem) | public void | removeSpace(Space space) | public void | removeUser(User user) | public void | removeUserSpaceRole(UserSpaceRole userSpaceRole) | public void | setSchemaHelper(SchemaHelper schemaHelper) | public void | storeAttachment(Attachment attachment) | public void | storeConfig(Config config) | public void | storeHistory(History history) | public void | storeItem(Item item) | public void | storeMetadata(Metadata metadata) | public void | storeSpace(Space space) | public void | storeSpaceSequence(SpaceSequence spaceSequence) | public void | storeUser(User user) |
bulkUpdateDeleteItemsForSpace | public int bulkUpdateDeleteItemsForSpace(Space space)(Code) | | |
bulkUpdateDeleteSpaceRole | public int bulkUpdateDeleteSpaceRole(Space space, String roleKey)(Code) | | |
bulkUpdateFieldToNull | public int bulkUpdateFieldToNull(Space space, Field field)(Code) | | |
bulkUpdateFieldToNullForValue | public int bulkUpdateFieldToNullForValue(Space space, Field field, int optionKey)(Code) | | |
bulkUpdateRenameSpaceRole | public int bulkUpdateRenameSpaceRole(Space space, String oldRoleKey, String newRoleKey)(Code) | | |
bulkUpdateStatusToOpen | public int bulkUpdateStatusToOpen(Space space, int status)(Code) | | |
createSchema | public void createSchema()(Code) | | note that this is automatically configured to run on startup
as a spring bean "init-method"
|
findSpacesWhereGuestAllowed | public List<Space> findSpacesWhereGuestAllowed()(Code) | | |
findUsersForSpace | public List<User> findUsersForSpace(long spaceId)(Code) | | |
findUsersWithRoleForSpace | public List<User> findUsersWithRoleForSpace(long spaceId, String roleKey)(Code) | | |
loadCountOfHistoryInvolvingUser | public int loadCountOfHistoryInvolvingUser(User user)(Code) | | |
loadCountOfRecordsHavingFieldNotNull | public int loadCountOfRecordsHavingFieldNotNull(Space space, Field field)(Code) | | |
loadCountOfRecordsHavingFieldWithValue | public int loadCountOfRecordsHavingFieldWithValue(Space space, Field field, int optionKey)(Code) | | |
loadCountOfRecordsHavingStatus | public int loadCountOfRecordsHavingStatus(Space space, int status)(Code) | | |
|
|