|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.swtservice.UserInfo
public final class UserInfo
A struct-like class that contains immutable user information for a user signed on to SWT services.
Constructor Summary | |
---|---|
UserInfo(java.lang.String id,
java.lang.String language,
boolean isAdmin,
com.sage.accpac.sm.SharedDataSet sharedDataSet)
Constructs an object containing information for a user signed on to SWT services. |
Method Summary | |
---|---|
java.lang.String |
getID()
Gets the (non-empty) signed-on user's ID. |
java.lang.String |
getLanguage()
Gets the (non-empty) lower-cased language code (for example, "eng") representing the signed-on user's language. |
com.sage.accpac.sm.SharedDataSet |
getSharedDataSet()
Returns the SharedDataSet in which the user is defined. |
boolean |
isAdmin()
Tells whether the user is an administrator or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserInfo(java.lang.String id, java.lang.String language, boolean isAdmin, com.sage.accpac.sm.SharedDataSet sharedDataSet)
id
- The signed-on user's ID (must be non-empty).language
- The signed-on user's language code (must be non-empty).isAdmin
- Boolean set to TRUE for ADMIN user, FALSE otherwise.sharedDataSet
- The shared data set in which the user is definedMethod Detail |
---|
public java.lang.String getID()
public java.lang.String getLanguage()
public boolean isAdmin()
public com.sage.accpac.sm.SharedDataSet getSharedDataSet()
SharedDataSet
in which the user is defined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |