|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.vo.dto.SpineBean
public abstract class SpineBean
SpineBean contains the base properties of all classes that can be managed by Spine.
A SpineBean contains base properties which can be used by client programmers to define subclasses and provides features which are needed by spine to identify objects which it can manipulate.
Copyright ©Zphinx Software Solutions
| Nested Class Summary | |
|---|---|
class |
SpineBean.PermissionFactory
A permission Factory to create a permission for use by this object, called by implementations of SpineBean to retrieve a suitable SpinePrmission |
| Constructor Summary | |
|---|---|
SpineBean()
Public Constructor |
|
| Method Summary | |
|---|---|
long |
getCreationDate()
Gets this objects creation date, normally created in the constructor of this object |
String |
getDescription()
Gets the description of this object |
long |
getId()
Gets the id of this object |
Locale |
getLocale()
Gets the Locale where the creator of this DTO is using the system |
Date |
getModifiedDate()
Gets this objects last modified date |
String |
getName()
Gets the name of this object |
SpinePermission |
getPermission()
Gets a clone of the SpinePermission for this object.The SpinePermission can be reset if necessary but a clone is always returned so that external operations does not affect the security state of this object. |
String |
getSessionId()
Gets a unique ID for this transaction which is used to identify this object across multiple tiers |
void |
setCreationDate(long longDate)
Sets this objects creation date |
void |
setDescription(String description)
Sets the description of this object |
void |
setId(long id)
Sets the id of this object |
void |
setLocale(Locale locale)
|
void |
setModifiedDate(Date modifiedDate)
Sets this objects last modified date |
void |
setName(String name)
Sets the name of this object |
void |
setPermission(SpinePermission permission)
Set the permission object associated with this user |
void |
setSessionId(String sessionId)
Sets this beans sessionId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpineBean()
| Method Detail |
|---|
public long getId()
public void setId(long id)
id - The id to set.public String getDescription()
public void setDescription(String description)
description - The description to set.public String getName()
public void setName(String name)
name - The name to set.public SpinePermission getPermission()
SpinePermissionpublic void setPermission(SpinePermission permission)
permission - The permission object associated with this userpublic long getCreationDate()
public void setCreationDate(long longDate)
longDate - The creationDate to set.public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate - The modifiedDate to set.public String getSessionId()
DataTransferObject
getSessionId in interface DataTransferObjectpublic void setSessionId(String sessionId)
sessionId - the sessionId to setpublic Locale getLocale()
DataTransferObject
getLocale in interface DataTransferObjectpublic void setLocale(Locale locale)
locale - the locale to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||