it.eng.spagobi.commons.bo
Class Role

java.lang.Object
  extended by it.eng.spagobi.commons.bo.Role
All Implemented Interfaces:
java.io.Serializable

public class Role
extends java.lang.Object
implements java.io.Serializable

Defines a Role object.

Author:
sulis
See Also:
Serialized Form

Constructor Summary
Role()
          Class constructor.
Role(java.lang.String name, java.lang.String description)
          Constructor.
 
Method Summary
 java.lang.String getCode()
          Gets the code.
 java.lang.String getDescription()
          Gets the description.
 java.lang.Integer getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.lang.String getRoleTypeCD()
          Gets the role type cd.
 java.lang.Integer getRoleTypeID()
          Gets the role type id.
 boolean isAbleToSaveIntoPersonalFolder()
          Checks if is able to save into personal folder.
 boolean isAbleToSaveRememberMe()
          Checks if is able to save remember me.
 boolean isAbleToSaveSubobjects()
          Checks if is able to save subobjects.
 boolean isAbleToSeeMetadata()
          Checks if is able to see metadata.
 boolean isAbleToSeeNotes()
          Checks if is able to see notes.
 boolean isAbleToSeeSnapshots()
          Checks if is able to see snapshots.
 boolean isAbleToSeeSubobjects()
          Checks if is able to see subobjects.
 boolean isAbleToSeeViewpoints()
          Checks if is able to see viewpoints.
 boolean isAbleToSendMail()
          Checks if is able to send mail.
 void setCode(java.lang.String code)
          Sets the code.
 void setDescription(java.lang.String description)
          Sets the description.
 void setId(java.lang.Integer id)
          Sets the id.
 void setIsAbleToSaveIntoPersonalFolder(boolean isAbleToSaveIntoPersonalFolder)
          Sets the checks if is able to save into personal folder.
 void setIsAbleToSaveRememberMe(boolean isAbleToSaveRememberMe)
          Sets the checks if is able to save remember me.
 void setIsAbleToSaveSubobjects(boolean isAbleToSaveSubobjects)
          Sets the checks if is able to save subobjects.
 void setIsAbleToSeeMetadata(boolean isAbleToSeeMetadata)
          Sets the checks if is able to see metadata.
 void setIsAbleToSeeNotes(boolean isAbleToSeeNotes)
          Sets the checks if is able to see notes.
 void setIsAbleToSeeSnapshots(boolean isAbleToSeeSnapshots)
          Sets the checks if is able to see snapshots.
 void setIsAbleToSeeSubobjects(boolean isAbleToSeeSubobjects)
          Sets the checks if is able to see subobjects.
 void setIsAbleToSeeViewpoints(boolean isAbleToSeeViewpoints)
          Sets the checks if is able to see viewpoints.
 void setIsAbleToSendMail(boolean isAbleToSendMail)
          Sets the checks if is able to send mail.
 void setName(java.lang.String name)
          Sets the name.
 void setRoleTypeCD(java.lang.String roleTypeCD)
          Sets the role type cd.
 void setRoleTypeID(java.lang.Integer roleTypeID)
          Sets the role type id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()
Class constructor.


Role

public Role(java.lang.String name,
            java.lang.String description)
Constructor.

Parameters:
name - the name
description - the description
Method Detail

isAbleToSaveSubobjects

public boolean isAbleToSaveSubobjects()
Checks if is able to save subobjects.

Returns:
true, if is able to save subobjects

setIsAbleToSaveSubobjects

public void setIsAbleToSaveSubobjects(boolean isAbleToSaveSubobjects)
Sets the checks if is able to save subobjects.

Parameters:
isAbleToSaveSubobjects - the new checks if is able to save subobjects

isAbleToSeeSubobjects

public boolean isAbleToSeeSubobjects()
Checks if is able to see subobjects.

Returns:
true, if is able to see subobjects

setIsAbleToSeeSubobjects

public void setIsAbleToSeeSubobjects(boolean isAbleToSeeSubobjects)
Sets the checks if is able to see subobjects.

Parameters:
isAbleToSeeSubobjects - the new checks if is able to see subobjects

isAbleToSeeViewpoints

public boolean isAbleToSeeViewpoints()
Checks if is able to see viewpoints.

Returns:
true, if is able to see viewpoints

setIsAbleToSeeViewpoints

public void setIsAbleToSeeViewpoints(boolean isAbleToSeeViewpoints)
Sets the checks if is able to see viewpoints.

Parameters:
isAbleToSeeViewpoints - the new checks if is able to see viewpoints

isAbleToSeeSnapshots

public boolean isAbleToSeeSnapshots()
Checks if is able to see snapshots.

Returns:
true, if is able to see snapshots

setIsAbleToSeeSnapshots

public void setIsAbleToSeeSnapshots(boolean isAbleToSeeSnapshots)
Sets the checks if is able to see snapshots.

Parameters:
isAbleToSeeSnapshots - the new checks if is able to see snapshots

isAbleToSeeNotes

public boolean isAbleToSeeNotes()
Checks if is able to see notes.

Returns:
true, if is able to see notes

setIsAbleToSeeNotes

public void setIsAbleToSeeNotes(boolean isAbleToSeeNotes)
Sets the checks if is able to see notes.

Parameters:
isAbleToSeeNotes - the new checks if is able to see notes

isAbleToSendMail

public boolean isAbleToSendMail()
Checks if is able to send mail.

Returns:
true, if is able to send mail

setIsAbleToSendMail

public void setIsAbleToSendMail(boolean isAbleToSendMail)
Sets the checks if is able to send mail.

Parameters:
isAbleToSendMail - the new checks if is able to send mail

isAbleToSaveIntoPersonalFolder

public boolean isAbleToSaveIntoPersonalFolder()
Checks if is able to save into personal folder.

Returns:
true, if is able to save into personal folder

setIsAbleToSaveIntoPersonalFolder

public void setIsAbleToSaveIntoPersonalFolder(boolean isAbleToSaveIntoPersonalFolder)
Sets the checks if is able to save into personal folder.

Parameters:
isAbleToSaveIntoPersonalFolder - the new checks if is able to save into personal folder

isAbleToSaveRememberMe

public boolean isAbleToSaveRememberMe()
Checks if is able to save remember me.

Returns:
true, if is able to save remember me

setIsAbleToSaveRememberMe

public void setIsAbleToSaveRememberMe(boolean isAbleToSaveRememberMe)
Sets the checks if is able to save remember me.

Parameters:
isAbleToSaveRememberMe - the new checks if is able to save remember me

isAbleToSeeMetadata

public boolean isAbleToSeeMetadata()
Checks if is able to see metadata.

Returns:
true, if is able to see metadata

setIsAbleToSeeMetadata

public void setIsAbleToSeeMetadata(boolean isAbleToSeeMetadata)
Sets the checks if is able to see metadata.

Parameters:
isAbleToSeeMetadata - the new checks if is able to see metadata

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
role description

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the description to set

getId

public java.lang.Integer getId()
Gets the id.

Returns:
role id

setId

public void setId(java.lang.Integer id)
Sets the id.

Parameters:
id - the role id to set

getName

public java.lang.String getName()
Gets the name.

Returns:
the role name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the name to set

getRoleTypeCD

public java.lang.String getRoleTypeCD()
Gets the role type cd.

Returns:
Returns the roleTypeCD.

setRoleTypeCD

public void setRoleTypeCD(java.lang.String roleTypeCD)
Sets the role type cd.

Parameters:
roleTypeCD - The roleTypeCD to set.

getRoleTypeID

public java.lang.Integer getRoleTypeID()
Gets the role type id.

Returns:
Returns the roleTypeID.

setRoleTypeID

public void setRoleTypeID(java.lang.Integer roleTypeID)
Sets the role type id.

Parameters:
roleTypeID - The roleTypeID to set.

getCode

public java.lang.String getCode()
Gets the code.

Returns:
Returns the code.

setCode

public void setCode(java.lang.String code)
Sets the code.

Parameters:
code - The code to set.