public abstract class ContentManagerImpl extends Object implements ContentManager
ContentManager
Constructor and Description |
---|
ContentManagerImpl()
Constructor required for web services.
|
ContentManagerImpl(FdkSession session)
Constructor required for in-process clients.
|
Modifier and Type | Method and Description |
---|---|
protected FdkSessionImpl |
getConnectedSession()
Return the web service session.
|
protected boolean |
isWebServiceCall()
Returns
true if the current call was made from a web services
client. |
protected NamedValue[] |
login(FdkCredential c,
NamedValue[] options,
AttributeRequest[] userAttributes)
Internal login method used by web services login managers.
|
void |
referenceTypes(TypeReference ref)
Dummy web service method to create a reference to data types used
in the web services to insure that they are defined in the WSDL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateConsumedQuota, getDefaultMedia, getDefaultStorageGroup, getMediaByName, listMedias, listStorageGroups, requestQuotaUpdate, updateQuota
public ContentManagerImpl()
public ContentManagerImpl(FdkSession session)
session
- session contextprotected final boolean isWebServiceCall()
true
if the current call was made from a web services
client. This check can be made by any subclasses in order to determine
functionality and restrictions based on the originating call. This
feature should be used lightly and only where really necessary as
this is not an idea way of implementing business logic.public void referenceTypes(TypeReference ref)
protected final NamedValue[] login(FdkCredential c, NamedValue[] options, AttributeRequest[] userAttributes) throws FdkException
FdkException
protected final FdkSessionImpl getConnectedSession() throws FdkException
FdkException
Copyright © 2023. All rights reserved.