net.sf.jagzilla.hibernate
Class Profile
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Profile
- All Implemented Interfaces:
- java.io.Serializable, XmlObject
- public class Profile
- extends XmlObjectImpl
- implements java.io.Serializable, XmlObject
represents a record in the table profiles.
In bugzilla 2.16 the following field cannot be null:
In bugzilla 2.17 the following field cannot be null:
- Author:
- mgriffa
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PERMISSION_EDIT_BUG
public static final int PERMISSION_EDIT_BUG
- constant field representing permission for editing a bug.
- See Also:
hasPermission(int),
Constant Field Values
PERMISSION_SUBMIT_BUG
public static final int PERMISSION_SUBMIT_BUG
- constant field representing permission for adding a new bug.
- See Also:
hasPermission(int),
Constant Field Values
Profile
public Profile()
getBlessGroupSet
public int getBlessGroupSet()
- Returns:
- Returns the blessGroupSet.
setBlessGroupSet
public void setBlessGroupSet(int blessGroupSet)
- Parameters:
blessGroupSet - The blessGroupSet to set.
getCryptPassword
public java.lang.String getCryptPassword()
- Returns:
- Returns the cryptPassword.
setCryptPassword
public void setCryptPassword(java.lang.String cryptPassword)
- Parameters:
cryptPassword - The cryptPassword to set.
getDisabledText
public java.lang.String getDisabledText()
- Returns:
- Returns the disabledText.
setDisabledText
public void setDisabledText(java.lang.String disabledText)
- Parameters:
disabledText - The disabledText to set.
getEmailFlags
public java.lang.String getEmailFlags()
- Returns:
- Returns the emailFlags.
setEmailFlags
public void setEmailFlags(java.lang.String emailFlags)
- Parameters:
emailFlags - The emailFlags to set.
getGroupSet
public int getGroupSet()
- Returns:
- Returns the groupSet.
setGroupSet
public void setGroupSet(int groupSet)
- Parameters:
groupSet - The groupSet to set.
getId
public int getId()
- Returns:
- Returns the id.
setId
public void setId(int id)
- Parameters:
id - The id to set.
getLoginName
public java.lang.String getLoginName()
- Returns:
- Returns the loginName.
setLoginName
public void setLoginName(java.lang.String loginName)
- Parameters:
loginName - The loginName to set.
getMyBugsLink
public int getMyBugsLink()
- Returns:
- Returns the myBugsLink.
setMyBugsLink
public void setMyBugsLink(int myBugsLink)
- Parameters:
myBugsLink - The myBugsLink to set.
getRealName
public java.lang.String getRealName()
- Returns:
- Returns the realName.
setRealName
public void setRealName(java.lang.String realName)
- Parameters:
realName - The realName to set.
toString
public java.lang.String toString()
getReportedBugs
public java.util.Set getReportedBugs()
- Returns:
- Returns the bugs.
setReportedBugs
public void setReportedBugs(java.util.Set bugs)
- Parameters:
bugs - The bugs to set.
getAssignedBugs
public java.util.Set getAssignedBugs()
- Returns:
- Returns the assignedBugs.
setAssignedBugs
public void setAssignedBugs(java.util.Set assignedBugs)
- Parameters:
assignedBugs - The assignedBugs to set.
loadFromXml
public void loadFromXml(java.io.Reader reader)
throws java.io.IOException,
MappingException,
MarshalException,
ValidationException
- Description copied from interface:
XmlObject
- load the object data from xml.
This method internally uses castor to unmarshall
the object form XML.
- Specified by:
loadFromXml in interface XmlObject
- Parameters:
reader - a reader containing a parseable xml
- Throws:
java.io.IOException
MappingException
MarshalException
ValidationException
hasPermission
public boolean hasPermission(int actionId)
- Parameters:
actionId -
- Returns:
Distributed under the GPL.
By Miguel Griffa.
See the Jagzilla project page for more info.