Interface ISocialManager
- All Superinterfaces:
IDisposable, IEntity
Contains methods to decode the data of socials.
-
Method Summary
Modifier and TypeMethodDescriptionintcreateSocialDocument(String contentType, byte[] data) Create a social document and returns the identifier.voiddeleteSocialDocument(int socialDocumentId) Deletes a social document.The instance.getSocialDocument(int socialDocumentId) Gets the social document.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
createSocialDocument
int createSocialDocument(String contentType, byte[] data) throws Exception, altitude.integrationServer.exceptions.ISException Create a social document and returns the identifier.- Parameters:
contentType- Content type.data- The social document data.- Returns:
- The identifier of the social document.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
deleteSocialDocument
-
getInstance
-
getSocialDocument
SocialDocumentData getSocialDocument(int socialDocumentId) throws Exception, altitude.integrationServer.exceptions.ISException Gets the social document.- Parameters:
socialDocumentId- The identifier of the social document.- Returns:
- The social document.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-