com.sage.orion.sdata.servlet
Interface SDataResourceKindInfo

All Known Implementing Classes:
ResourceKindInfo

public interface SDataResourceKindInfo

Contains the information for a particular instance of a loaded resource kind.

Author:
cliwa01

Nested Class Summary
static class SDataResourceKindInfo.Status
          The status of the resource kind.
 
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 date)
           
 void setStatus(SDataResourceKindInfo.Status status)
           
 

Method Detail

getResourceKind

ResourceKind getResourceKind()
Returns:
the ResourceKind

getCreationDate

java.util.Date getCreationDate()
Gets the date (and time) the resource kind was created.

Returns:
the date that the resource was created.

getLastUsedDate

java.util.Date getLastUsedDate()
Gets the date (and time) that the resource kind was lasted used.

Returns:
the date the resource was last used.

setLastUsedDate

void setLastUsedDate(java.util.Date date)

getStatus

SDataResourceKindInfo.Status getStatus()
Gets the resource kind's status.

Returns:
the SDataResourceKindInfo.Status of the resource kind

setStatus

void setStatus(SDataResourceKindInfo.Status status)

getResourceInstance

java.lang.String getResourceInstance()
Gets a unique string value representing this particular instance of the resource kind across the system.

Returns:
the resource kind's Instance value.

getUserID

java.lang.String getUserID()

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.

Returns:
a String containing the user ID

getUserInstance

java.lang.String getUserInstance()
Gets the user instance that is running this resource. The user instance is the particular instance of use that is running this resource.

Returns:
a String containing the instance descriptor

getResourceKindName

java.lang.String getResourceKindName()
Gets the name of the resource kind

Returns:
a String containing the name of the resource kind


Copyright © 2011 Sage Software, Inc. All rights reserved.