public class ServiceContext extends ModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_CHANNEL_ID
Constant for the channelId.
|
static java.lang.String | PROP_LANGUAGE_ID
Constant for the language ID property name.
|
static java.lang.String | PROP_LOCALE
Constant for the locale property name.
|
static java.lang.String | PROP_MEMBER_ID
Constant for the member ID property name.
|
static java.lang.String | PROP_NEW_PASSWORD
Constant for the new password property name.
|
static java.lang.String | PROP_NEW_PASSWORD_VERIFY
Constant for the verified new password property name.
|
static java.lang.String | PROP_PASSWORD
Constant for the password property name.
|
static java.lang.String | PROP_RUN_AS_ID
Constant for the run as ID property name.
|
static java.lang.String | PROP_SERVER
Constant for the server property name.
|
static java.lang.String | PROP_SERVICE_TYPE
Constant for the web service type property name.
|
static java.lang.String | PROP_STORE_ID
Constant for the store ID property name.
|
static java.lang.String | PROP_USER_ID
Constant for the user ID property name.
|
static java.lang.String | SERVICE_TYPE_OTHER
Service Type constant (bit mask value 4) which identifies Other.
|
static java.lang.String | SERVICE_TYPE_SSO
Service Type constant which identifies Single Sign-On.
|
static java.lang.String | SERVICE_TYPE_START
Service Type constant (bit mask value 1) which identifies Logon.
|
static java.lang.String | SERVICE_TYPE_STOP
Service Type constant (bit mask value 2) which identifies Logoff.
|
Constructor and Description |
---|
ServiceContext()
Constructor for ServiceContext.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getChannelId()
This method is a convenience method for retrieving the current setting of the "channelId" property.
|
java.lang.String | getLanguageId()
This method is a convenience method for retrieving the current setting of the "languageId" property.
|
java.lang.String | getLocale()
This method is a convenience method for retrieving the current setting of the "locale" property.
|
java.lang.String | getMemberId()
This method is a convenience method for retrieving the current setting of the "memberId" property.
|
java.lang.String | getNewPassword()
This method is a convenience method for retrieving the current setting of the "newPassword" property.
|
java.lang.String | getNewPasswordVerify()
This method is a convenience method for retrieving the current setting of the "newPasswordVerify" property.
|
java.lang.String | getPassword()
This method is a convenience method for retrieving the current setting of the "password" property.
|
java.lang.String | getRunAsId()
This method is a convenience method for retrieving the current setting of the "runAsId" property.
|
Server | getServer()
This method is a convenience method for retrieving the current setting of the "server" property.
|
java.lang.String | getServiceType()
This method is a convenience method for retrieving the current setting of the "serviceType" property.
|
java.lang.String | getStoreId()
This method is a convenience method for retrieving the current setting of the "storeId" property.
|
java.lang.String | getUserId()
This method is a convenience method for retrieving the current setting of the "userId" property.
|
void | setChannelId(java.lang.String channelId)
This method is a convenience method for setting the "channelId" property.
|
void | setLanguageId(java.lang.String languageId)
This method is a convenience method for setting the "languageId" property.
|
void | setLocale(java.lang.String locale)
This method is a convenience method for setting the "locale" property.
|
void | setMemberId(java.lang.String memberId)
This method is a convenience method for setting the "memberId" property.
|
void | setNewPassword(java.lang.String newPassword)
This method is a convenience method for setting the "newPassword" property.
|
void | setNewPasswordVerify(java.lang.String newPasswordVerify)
This method is a convenience method for setting the "newPasswordVerify" property.
|
void | setPassword(java.lang.String password)
This method is a convenience method for setting the "password" property.
|
void | setRunAsId(java.lang.String runAsId)
This method is a convenience method for setting the "runAsId" property.
|
void | setServer(Server server)
This method is a convenience method for setting the "server" property.
|
void | setServiceType(java.lang.String serviceType)
This method is a convenience method for setting the "serviceType" property.
|
void | setStoreId(java.lang.String storeId)
This method is a convenience method for setting the "storeId" property.
|
void | setUserId(java.lang.String userId)
This method is a convenience method for setting the "userId" property.
|
java.lang.String | toString()
Returns a string representation of this service.
|
public static final java.lang.String SERVICE_TYPE_START
public static final java.lang.String SERVICE_TYPE_STOP
public static final java.lang.String SERVICE_TYPE_OTHER
public static final java.lang.String SERVICE_TYPE_SSO
public static final java.lang.String PROP_SERVER
The value is "server".
The data stored under the "server" property is a Server that contains information about the target server.
public static final java.lang.String PROP_USER_ID
The value is "userId".
The data stored under the "userId" property is a String that contains the user ID of the operator.
public static final java.lang.String PROP_PASSWORD
The value is "password".
The data stored under the "password" property is a String that contains the password of the operator. The password is only used for the start service.
public static final java.lang.String PROP_MEMBER_ID
The value is "memberId".
The data stored under the "memberId" property is a String that contains the member ID of the operator. Member Id is only used for non-start service.
public static final java.lang.String PROP_RUN_AS_ID
The value is "runAsId".
The data stored under the "runAsId" property is a String that contains the ID of the user to run the command under.
public static final java.lang.String PROP_STORE_ID
The value is "storeId".
The data stored under the "storeId" property is a String that contains the ID of the store.
public static final java.lang.String PROP_SERVICE_TYPE
The value is "serviceType".
The data stored under the "serviceType" property is an Integer representing the service type. The following values are valid:
public static final java.lang.String PROP_LANGUAGE_ID
The value is "langId".
The data stored under the "langId" property is an Integer representing the language ID. The default value is -1.
public static final java.lang.String PROP_LOCALE
The value is "locale".
The data stored under the "locale" property is a String representing the locale.
public static final java.lang.String PROP_NEW_PASSWORD
The value is "newPassword".
The data stored under the "newPassword" property is a String representing the new password.
public static final java.lang.String PROP_NEW_PASSWORD_VERIFY
The value is "newPasswordVerify".
The data stored under the "newPasswordVerify" property is a String representing the verified new password.
public static final java.lang.String PROP_CHANNEL_ID
The value is "channelId".
The data stored under the "channelId" property is a String representing the channel ID.
public ServiceContext()
This will set the following default values:
public java.lang.String getChannelId()
public java.lang.String getLanguageId()
public java.lang.String getLocale()
public java.lang.String getMemberId()
public java.lang.String getPassword()
public java.lang.String getNewPassword()
public java.lang.String getNewPasswordVerify()
public java.lang.String getRunAsId()
public Server getServer()
public java.lang.String getServiceType()
public java.lang.String getStoreId()
public java.lang.String getUserId()
public void setChannelId(java.lang.String channelId)
public void setLanguageId(java.lang.String languageId)
public void setLocale(java.lang.String locale)
public void setMemberId(java.lang.String memberId)
public void setPassword(java.lang.String password)
public void setNewPassword(java.lang.String newPassword)
public void setNewPasswordVerify(java.lang.String newPasswordVerify)
public void setRunAsId(java.lang.String runAsId)
public void setServer(Server server)
public void setServiceType(java.lang.String serviceType)
public void setStoreId(java.lang.String storeId)
public void setUserId(java.lang.String userId)
public java.lang.String toString()