Package com.appiancorp.services
Class WebServiceContext
java.lang.Object
com.appiancorp.services.AbstractServiceContext
com.appiancorp.services.WebServiceContext
- All Implemented Interfaces:
com.appiancorp.asl3.servicefw.connect.ServiceContext,com.appiancorp.security.auth.SecurityContext,com.appiancorp.services.AuthorizationInterceptorProvider,KougarServiceContext,ServiceContext,Principal
Represents a service context that was obtained from the
WebServiceContextFactory by sending it a session
or request.-
Field Summary
Fields inherited from class com.appiancorp.services.AbstractServiceContext
PER_EVAL_K_CALL_CACHING_CANARIES_ENABLED, PER_EVAL_K_CALL_CACHING_ENABLED -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Gets the attribute at the specified key.com.appiancorp.asl3.servicefw.connect.ASLIdentityGets the identity.javax.servlet.http.HttpSessionGets the session.booleanWhether this service context has been designated for migration of objects in the system.voidsetAttribute(String key, Object o) Sets the attribute at the specified key to the specified value.Methods inherited from class com.appiancorp.services.AbstractServiceContext
addService, applyCaching, clearCallCache, getAppianLoginContext, getAppianSession, getAuthorizationInterceptor, getAuthorizationProvider, getCalendarID, getCallCacheEstimatedMicrosSaved, getCallCacheHits, getCallCacheMisses, getCallDurationMicros, getEngineCredentials, getGrantorName, getGrantorRoles, getLocale, getMemberGroupRefs, getMemberGroupUuids, getName, getOverrideLocale, getReadCallCount, getRoles, getService, getTimeZone, getTotalCallCount, getUserRef, getUserUuid, getWriteCallCount, isAdsSuperUser, isAllowOverrideForDisabledLocale, isAuthenticatedByAppianInternalProvider, isCallCachingEnabled, isLoggedInThroughSaml, isRtl, isSysAdmin, isUserRefNull, removeAttribute, removeService, requestCallCaching, setAuthorizationProvider, setCalendarID, setLocale, setTimeZone, toString, updateMetrics
-
Method Details
-
getSession
public javax.servlet.http.HttpSession getSession()Gets the session.- Returns:
- the session
-
getIdentity
public com.appiancorp.asl3.servicefw.connect.ASLIdentity getIdentity()Gets the identity.- Returns:
- the
ASLIdentityused to create theServiceContext
-
isDesignatedForMigration
public boolean isDesignatedForMigration()Description copied from interface:ServiceContextWhether this service context has been designated for migration of objects in the system.- Returns:
- whether the service context is designated for migration
-
getAttribute
Description copied from interface:ServiceContextGets the attribute at the specified key.- Specified by:
getAttributein interfacecom.appiancorp.asl3.servicefw.connect.ServiceContext- Specified by:
getAttributein interfaceServiceContext- Overrides:
getAttributein classAbstractServiceContext- Parameters:
key- the key- Returns:
- the attribute value
- See Also:
-
setAttribute
Description copied from interface:ServiceContextSets the attribute at the specified key to the specified value.- Specified by:
setAttributein interfacecom.appiancorp.asl3.servicefw.connect.ServiceContext- Specified by:
setAttributein interfaceServiceContext- Overrides:
setAttributein classAbstractServiceContext- Parameters:
key- the keyo- the value- See Also:
-