Uses of Class
com.nurelm.nucontent.model.DataAccessException

Packages that use DataAccessException
com.nurelm.nc3to4   
com.nurelm.nc41to42   
com.nurelm.nucontent.model This package provides an object oriented interface to NuContent's data model from which any piece of content in an entire NuContent-powered site can be accessed or modified. 
com.nurelm.nucontent.model.test   
com.nurelm.util   
 

Uses of DataAccessException in com.nurelm.nc3to4
 

Methods in com.nurelm.nc3to4 that throw DataAccessException
 void NCMigration.assignGroupsToUsers()
          assigns the groups to the users
 void NCMigration.getGroupsAssigned(Page page)
          assigns the groups to the page
 

Uses of DataAccessException in com.nurelm.nc41to42
 

Methods in com.nurelm.nc41to42 that throw DataAccessException
 void NCMigration.assignGroupsToUsers()
          assigns the groups to the users This function is not yet called!!!
 void NCMigration.getGroupsAssigned(Page page)
          assigns the groups to the page
 

Uses of DataAccessException in com.nurelm.nucontent.model
 

Methods in com.nurelm.nucontent.model that throw DataAccessException
 Site User.getSite()
          Gets the Site to which this User belongs.
 Page Site.getRootPage(java.lang.String contentGroupId)
          Returns the root Page for the specified contentGroupId.
 java.util.Collection Site.getRootPages()
          Returns all of this Site's root Pages.
 Page Site.getRootPageCreateIfNeeded(java.lang.String contentGroupId)
          Returns the specified root Page, but creates it if it does not exist.
 Page Site.getPageCreateRootIfNeeded(java.lang.String contentGroupId, java.lang.String pageId)
          First attempts to find the page based on the pageId.
 Page Site.addRootPage(java.lang.String contentGroupId)
          Creates a new root page containing a default name and short description.
 Page Site.addRootPage(java.lang.String contentGroupId, java.lang.String id)
          Use the other addRootPage method in preference over this one.
 void Site.removeRootPage(java.lang.String contentGroupId)
          Removes the root page with the specified template ID from the data store.
 java.util.Collection Site.getNoReviewerAssinedWorkingPages()
          Return a collection of all the Pages that are workign versions of pages that are being reviewed and assigned no reviewer group user to review
 User Site.getUser(java.lang.String username)
           
 User Site.createUser(java.lang.String username)
           
 void Site.removeUser(java.lang.String username)
           
 Group Site.getGroup(java.lang.String groupname)
           
 Group[] Site.getGroups(java.lang.String[] groupnames)
           
 Group Site.createGroup(java.lang.String groupname)
           
 void Site.removeGroup(java.lang.String groupname)
           
 int Site.getNumberOfUsers(java.lang.String GroupName)
          Returns Existing number of users in the Group.
 java.util.List RepeatList.getRepeatItemList(java.lang.String restrictIds, java.lang.String restrictValues, java.lang.String sortByIds, java.lang.String sortByDirections)
          Returns this RepeatList's collection of RepeatItems.
 java.util.List RepeatList.getRepeatItemList(java.lang.String searchIds, java.lang.String searchValues, java.lang.String sortByIds, java.lang.String sortByDirections, boolean isCaseSensitive)
          Returns this RepeatList's collection of RepeatItems.
 void RepeatItem.addContent(java.lang.String contentId, java.lang.String text)
          Adds a newContent object to this RepeatItem.
 void RepeatItem.updateContent(java.lang.String contentId, java.lang.String text)
          Updates an existingContent object in this RepeatItem.
 void RepeatItem.updateContent(java.lang.String contentId, java.lang.String text, java.lang.String type)
          Updates an existingContent object in this RepeatItem.
 void RepeatItem.removeContent(java.lang.String contentId)
          Removes a Content object from this RepeatItem.
 Content RepeatItem.getContentCreateIfNeeded(java.lang.String contentId, java.lang.String defaultContent)
          Gets a specified Content object, but creates a new one if it does not exist.
 void RepeatItem.addImage(Image image)
          Adds a new Image object to this RepeatItem.
 void RepeatItem.removeImage(java.lang.String imageId)
          Removes Image object from this RepeatItem.
 void RepeatItem.addFile(StandAloneFile file)
          Adds a new File object to this RepeatItem.
 void RepeatItem.removeFile(java.lang.String fileId)
          Removes File object from this RepeatItem.
 User Page.getLockingUser()
          Returns the User who has this page locked.
 Page Page.lock(java.util.Date requestedCompletionDate, User assignedTo, User assignedBy, java.lang.String pageURI, java.lang.String comment)
          Checks out, or "locks" a page.
 void Page.unlockAndSave(javax.servlet.ServletContext sc, java.lang.String comment, java.lang.String reviewType, User user)
          If this page does not require a review, unlocks the current page if it's locked, makes the working copy page the live page, and puts the old page into the version list; if the page does require review, redirects to assignReviewer.
 void Page.unlockAndSave(javax.servlet.ServletContext sc, java.lang.String comment, java.lang.String reviewType, User user, boolean reviewTypeExt, boolean doreview)
          If this page does not require a review, unlocks the current page if it's locked, makes the working copy page the live page, and puts the old page into the version list; if the page does require review and review-exten turn on then redirects to assignReviewers.
 void Page.sendBackToEditor(java.lang.String comment)
          Sends the page being reviewed back to the originating editor for further updates.
 void Page.unlockAndCancel(javax.servlet.ServletContext sc, java.lang.String comment, User user)
          Unlocks the current Page and discards all edits that have been made to its working copy.
 Page Page.getCurrentVersion()
          Gets the current page with this id.
 Page Page.getLockingPage()
          Gets the Page which has this Page locked.
 void Page.removeChildNode(Node node)
          Remove the specified child object.
 void Page.addContent(java.lang.String contentId, java.lang.String text)
          Adds the supplied content to the db.
 void Page.updateContent(java.lang.String contentId, java.lang.String text)
           
 void Page.updateContent(java.lang.String contentId, java.lang.String text, java.lang.String type)
           
 void Page.removeContent(java.lang.String contentId)
           
 Content Page.getContentCreateIfNeeded(java.lang.String contentId, java.lang.String defaultContent)
           
 void Page.addImage(Image image)
          Adds the supplied image to the db.
 void Page.removeImage(java.lang.String imageId)
          Removes an image, but does not remove corresponding file.
 Image Page.getImage(java.lang.String imageId)
          Returns the image associated with the supplied imageId.
 void Page.addNuFile(StandAloneFile file)
          Adds the supplied image to the db.
 void Page.removeNuFile(java.lang.String fileId)
          Removes an image, but does not remove corresponding file.
 StandAloneFile Page.getNuFile(java.lang.String fileId)
          Returns the image associated with the supplied imageId.
 RepeatList Page.getRepeatListCreateIfNeeded(java.lang.String repeatListId)
          Returns the RepeatList associated with the supplied repeatId, and creates it if it does not already exist.
 RepeatList Page.getRepeatListCreateIfNeeded(java.lang.String repeatListId, java.lang.String linkedTemplateId)
          Returns the RepeatList associated with the supplied repeatId and linked to the page indicated, and creates it if it does not already exist.
 RepeatList Page.addRepeatList(java.lang.String repeatListId)
          Adds a new RepeatList that is associated with the supplied repeatListId.
 RepeatList Page.addRepeatList(java.lang.String repeatListId, java.lang.String linkedTemplateId)
          Adds a new RepeatList that is associated with the supplied repeatListId and linked to linkedTemplateId.
 RepeatList Page.getRepeatListCollectionCreateIfNeeded(java.lang.String repeatListId, java.util.ArrayList repeatItemList)
           
 RepeatList Page.addRepeatListCollection(java.lang.String repeatListId, java.util.ArrayList repeatItemList)
          Adds a new RepeatListCollection that is associated with the supplied repeatListId.
 void Page.removeRepeatList(java.lang.String repeatListId)
          Removes the specified RepeatList.
 void Page.removePageVersion(int version)
          Removes a version of this object.
 

Uses of DataAccessException in com.nurelm.nucontent.model.test
 

Methods in com.nurelm.nucontent.model.test that throw DataAccessException
 void UserTest.setUp()
          DOCUMENT ME!
 void UserTest.testGetValueObject()
          DOCUMENT ME!
 void UserTest.testReplaceGroups()
          DOCUMENT ME!
 void UserManagerTest.setUp()
          DOCUMENT ME!
 void UserManagerTest.testGetUser()
          DOCUMENT ME!
 void UserManagerTest.testRemoveUser()
          DOCUMENT ME!
 void UserManagerTest.testRemoveGroup()
          DOCUMENT ME!
 void UserManagerTest.testGetGroups()
          DOCUMENT ME!
 void RepeatListTest.testGetRepeatItemList()
          Robust Good Enough Fail-safe yes
 void RepeatItemTest.testAddGetModifyRemoveContent()
          DOCUMENT ME!
 void RepeatItemTest.testAddGetRemoveImage()
          DOCUMENT ME!
 void PageTest.testIsViewable()
          DOCUMENT ME!
 void PageTest.testIsEditable()
          DOCUMENT ME!
 void PageTest.testAddImage()
          Fail-safe no - could leave Image in db
 void PageTest.testAddGetRepeatList()
          Robust OK, when you implement RepeatItems, consider more thorough tests Fail-safe no - could leave RepeatList in db
 

Uses of DataAccessException in com.nurelm.util
 

Methods in com.nurelm.util that throw DataAccessException
static void NuPlatformUtil.logAndThrowException(java.util.logging.Logger LOG, java.lang.String error)
          Logs an error message to a logger, then throws a DataAccessException with the same error.
static java.lang.String[] NuPlatformUtil.getUsersHavingReviewAccess(javax.servlet.http.HttpServletRequest request)
          Gets Users who has Review Permisson as String Array.
static void NuPlatformUtil.logAndThrowDataAccessException(org.apache.log4j.Logger LOG, org.apache.log4j.Level logLevel, java.lang.String errorMsg)
          Logs Data Access Exception And throw is with more ingformation like site ID
static void NuPlatformUtil.logAndThrowDataAccessException(org.apache.log4j.Logger LOG, org.apache.log4j.Level logLevel, javax.servlet.http.HttpServletRequest request, java.lang.String errorMsg)
          Logs Data Access Exception And throw is with more ingformation like site ID
static boolean NuPlatformUtil.IsPageHasReviewersfromReviewGroup(Site site, Page page)
          Checks the page in this site has reviewers from reviewer group return true if page has.
static boolean NuPlatformUtil.isUserHasReviewPermissionOnPage(Page page, java.lang.String userName)
          Checks the page in this site has reviewers from reviewer group return true if page has.
static boolean NuPlatformUtil.isUserExistsInGroup(Site site, java.lang.String username, java.lang.String groupName)
          Checks the user exisats in the group in the site return true if page has.
static boolean NuPlatformUtil.isUserExistsInGroup(javax.servlet.http.HttpServletRequest request, java.lang.String username, java.lang.String groupName)
          Checks the user exisats in the group in the site return true if page has.