com.solidstategroup.user
Class CMSUser

java.lang.Object
  extended by com.solidstategroup.user.User
      extended by com.solidstategroup.user.WebUser
          extended by com.solidstategroup.user.CMSUser
All Implemented Interfaces:
com.solidstategroup.handles.Identifiable, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

public class CMSUser
extends WebUser


Field Summary
 
Fields inherited from class com.solidstategroup.user.WebUser
REGISTRATION_TYPE_ANONYMOUS_FORUM, REGISTRATION_TYPE_FULL
 
Fields inherited from class com.solidstategroup.user.User
dateOfLogin, firstInvalidLogin, isLoggedIn, lockedOut, LOGIN_ATTEMPT_ALREADYLOGGEDIN, LOGIN_ATTEMPT_INVALIDUSERNAMEORPASSWORD, LOGIN_ATTEMPT_SUCCESSFUL, LOGIN_ATTEMPT_USER_EXPIRED, LOGIN_ATTEMPT_USER_IP_RESTRICTED, LOGIN_ATTEMPT_USER_SESSION_EXPIRED, LOGIN_ATTEMPT_USERLOCKEDOUT, LOGIN_ATTEMPT_USERNAMEORPASSWORDNOTSUPPLIED, LOGIN_FAILED_ATTEMPTS, LOGIN_LOCKOUT_PERIOD, numberOfInvalidAttempts, RESET_PASSWORD_NEW_PASSWORD_GRACE_PERIOD
 
Constructor Summary
CMSUser()
           
 
Method Summary
 User copyUser()
           
 CMSUser execute()
           
 int getCmsUserId()
           
 java.util.Vector getUserArticlePriveledges()
           
 boolean getUserFromCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 CMSUserType getUserType()
           
 boolean isAllowedToEditThisArticle(int thisRootArticleTypeId)
           
 boolean isAllowedToEditThisImage(ImageAsset thisAsset)
           
 boolean isNotifyOnCheckInArticle()
           
 boolean isNotifyOnEditArticle()
           
 boolean isNotifyOnNewArticle()
           
 boolean isNotifyOnPublishArticle()
           
 boolean isUseXStandardControl()
           
 int login()
           
 boolean sendAccountDetailsEmail()
           
 void setCmsUserId(int cmsUserId)
           
 void setNotifyOnCheckInArticle(boolean notifyOnCheckInArticle)
           
 void setNotifyOnEditArticle(boolean notifyOnEditArticle)
           
 void setNotifyOnNewArticle(boolean notifyOnNewArticle)
           
 void setNotifyOnPublishArticle(boolean notifyOnPublishArticle)
           
 void setUserType(CMSUserType userType)
           
 void setUserTypeId(int thisUserTypeId)
           
 void setUseXStandardControl(boolean useXStandardControl)
           
 boolean store()
           
 
Methods inherited from class com.solidstategroup.user.WebUser
addEmailCampaign, addSMSCampaign, addWebUserType, addWebUserType, alertLockedOut, alertLockedOut, clear, delete, getBestSecurityLevel, getBestSecurityLevelDescription, getBestSecurityLevelId, getBillingAddress, getChildWebUserTypes, getCreatingWebUserId, getDateOfRegistration, getDeliveryAddress, getEmailCampaigns, getExpiresOn, getExternalUserId, getFailedLogins, getForgottenPasswordAt, getForumPosts, getIpAddress, getIpAutoLogin, getIpRestrictions, getLockedOutAt, getMemorableAnswer, getMemorableDate, getMemorableQuestion, getMemorableQuestionId, getMemorableQuestionIdEncrypted, getProperty, getRegistrationTypeId, getSMSCampaigns, getUserFromCookie, getUserFromEmailAddress, getUserFromExternalID, getUserFromID, getUserFromUsername, getUserIDFromCookie, getUserTypes, getUserTypes, getWebUserArticles, hasWebUserArticle, incrementPostCount, incrementPostCount, isAcceptedTsandCs, isAuthByIP, isBannedFromForumPosting, isDeleted, isEmailUnsubscribe, isForumAdministrator, isIsRegistered, isLockedOut, isUserAMemberOfUserType, isUserAMemberOfUserType, isValidatedRegistration, isWithinLockoutPasswordGracePeriod, login, registerEmailOnly, registerEmailOnly, removeWebUser, resetPassword, resetPassword, sendRegistrationConfirmationEmail, setAcceptedTsandCs, setAuthByIP, setBannedFromForumPosting, setBillingAddress, setCreatingWebUserId, setDateOfRegistration, setDeliveryAddress, setEmailCampaigns, setEmailUnsubscribe, setExpiresOn, setExpiresOnWithString, setExternalUserId, setExternalUserIdWithString, setFailedLogins, setForgottenPasswordAt, setForumPosts, setIpAddress, setIpAutoLogin, setIpRestrictions, setIsDeleted, setIsLoggedIn, setIsRegistered, setLockedOutAt, setMemorableAnswer, setMemorableDate, setMemorableDateWithString, setMemorableQuestion, setMemorableQuestionId, setMemorableQuestionIdEncrypted, setRegistrationTypeId, setUserTypes, setValidatedRegistration, setWebUserArticles, store, storeWebUserTypes, unsubscribeUser, unsubscribeUser, updateCookie, updateCookie, updateCookie, valueBound, valueUnbound
 
Methods inherited from class com.solidstategroup.user.User
checkEmailAddressIsAvailable, checkEmailAddressIsAvailable, checkUsernameIsAvailable, checkUsernameIsAvailable, countNumberOfNonAlphabetChars, generateRandomPassword, getEmailAddress, getForename, getFullname, getFullname, getId, getIsLoggedIn, getMinimumNonAlphabetPasswordChars, getMinimumPasswordChars, getMobilePhoneNumber, getPassword, getPasswordMD5, getRequiresPassword, getSurname, getUserId, getUserIdEncrypted, getUsername, logout, setEmailAddress, setEmailAddressWithValidation, setForename, setMinimumNonAlphabetPasswordChars, setMinimumPasswordChars, setMobilePhoneNumber, setPassword, setRequiresPassword, setSurname, setUserId, setUserIdEncrypted, setUsername, storePassword, storePassword, validatePassword, validatePassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSUser

public CMSUser()
Method Detail

copyUser

public User copyUser()
Overrides:
copyUser in class WebUser

store

public boolean store()
Overrides:
store in class WebUser

execute

public CMSUser execute()

login

public int login()
Overrides:
login in class WebUser

getUserFromCookie

public boolean getUserFromCookie(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
Overrides:
getUserFromCookie in class WebUser

getUserArticlePriveledges

public java.util.Vector getUserArticlePriveledges()

sendAccountDetailsEmail

public boolean sendAccountDetailsEmail()
Overrides:
sendAccountDetailsEmail in class WebUser

isAllowedToEditThisArticle

public boolean isAllowedToEditThisArticle(int thisRootArticleTypeId)

isAllowedToEditThisImage

public boolean isAllowedToEditThisImage(ImageAsset thisAsset)

getUserType

public CMSUserType getUserType()

setUserType

public void setUserType(CMSUserType userType)

setUserTypeId

public void setUserTypeId(int thisUserTypeId)

getCmsUserId

public int getCmsUserId()

setCmsUserId

public void setCmsUserId(int cmsUserId)

isNotifyOnNewArticle

public boolean isNotifyOnNewArticle()

setNotifyOnNewArticle

public void setNotifyOnNewArticle(boolean notifyOnNewArticle)

isNotifyOnEditArticle

public boolean isNotifyOnEditArticle()

setNotifyOnEditArticle

public void setNotifyOnEditArticle(boolean notifyOnEditArticle)

isNotifyOnCheckInArticle

public boolean isNotifyOnCheckInArticle()

setNotifyOnCheckInArticle

public void setNotifyOnCheckInArticle(boolean notifyOnCheckInArticle)

isNotifyOnPublishArticle

public boolean isNotifyOnPublishArticle()

setNotifyOnPublishArticle

public void setNotifyOnPublishArticle(boolean notifyOnPublishArticle)

isUseXStandardControl

public boolean isUseXStandardControl()

setUseXStandardControl

public void setUseXStandardControl(boolean useXStandardControl)