|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.ResourceKindInfo
public class ResourceKindInfo
Class to hold the detailed information on a resource in the pool.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sage.orion.sdata.servlet.SDataResourceKindInfo |
---|
SDataResourceKindInfo.Status |
Constructor Summary | |
---|---|
ResourceKindInfo(java.lang.String userID,
java.lang.String userInstance,
ResourceKind resourceKind)
Constructor. |
Method Summary | |
---|---|
java.util.Date |
getCreationDate()
Gets the date (and time) the resource kind was created. |
java.util.Date |
getLastUsedDate()
Gets the date (and time) that the resource kind was lasted used. |
java.lang.String |
getResourceInstance()
Gets a unique string value representing this particular instance of the resource kind across the system. |
ResourceKind |
getResourceKind()
|
java.lang.String |
getResourceKindName()
Gets the name of the resource kind |
SDataResourceKindInfo.Status |
getStatus()
Gets the resource kind's status. |
java.lang.String |
getUserID()
Gets the ID of the user that is running this resource. |
java.lang.String |
getUserInstance()
Gets the user instance that is running this resource. |
void |
setLastUsedDate(java.util.Date lastUsedDate)
|
void |
setStatus(SDataResourceKindInfo.Status status)
Sets the status of the resource kind. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceKindInfo(java.lang.String userID, java.lang.String userInstance, ResourceKind resourceKind)
resourceKind
- Method Detail |
---|
public ResourceKind getResourceKind()
getResourceKind
in interface SDataResourceKindInfo
public SDataResourceKindInfo.Status getStatus()
SDataResourceKindInfo
getStatus
in interface SDataResourceKindInfo
public void setStatus(SDataResourceKindInfo.Status status)
setStatus
in interface SDataResourceKindInfo
status
- public java.util.Date getLastUsedDate()
SDataResourceKindInfo
getLastUsedDate
in interface SDataResourceKindInfo
public void setLastUsedDate(java.util.Date lastUsedDate)
setLastUsedDate
in interface SDataResourceKindInfo
lastUsedDate
- public java.util.Date getCreationDate()
SDataResourceKindInfo
getCreationDate
in interface SDataResourceKindInfo
public java.lang.String getResourceInstance()
SDataResourceKindInfo
getResourceInstance
in interface SDataResourceKindInfo
public java.lang.String getUserID()
SDataResourceKindInfo
Gets the ID of the user that is running this resource.
TODO - This is currently the Sage 300 ERP User - but once Single Signon is implemented this should be changed to the Single Sign On ID.
getUserID
in interface SDataResourceKindInfo
String
containing the user IDpublic java.lang.String getUserInstance()
SDataResourceKindInfo
getUserInstance
in interface SDataResourceKindInfo
String
containing the instance descriptorpublic java.lang.String getResourceKindName()
SDataResourceKindInfo
getResourceKindName
in interface SDataResourceKindInfo
String
containing the name of the resource kind
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |