Class MEAttachmentHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MEAttachmentHelper
This is a utility class for MEAttachment that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MEAttachmentcreate(SrvContext srvCtx, MMAttachmentAble ohElement, ARG_File valFile) Attaches a file to an element.
-
Method Details
-
create
public static MEAttachment create(SrvContext srvCtx, MMAttachmentAble ohElement, ARG_File valFile) throws InoNetException, SrvErrorException Attaches a file to an element.- Parameters:
srvCtx- The context of the related innovator server.ohElement- the element the file is or will be attached tovalFile- the attached file- Throws:
InoNetExceptionSrvErrorException
-