public class IfsHandlePublicObjectVersioningContext extends IfsCommandContext implements HandlePublicObjectVersioningContext
| Constructor and Description |
|---|
IfsHandlePublicObjectVersioningContext()
Deafult Constructor.
|
IfsHandlePublicObjectVersioningContext(LibrarySession session,
PublicObject po,
Folder folder,
String comment)
Constructor which sets up all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the Context.
|
String |
getCheckInComment()
Gets the check-in comment.
|
Folder |
getFolder()
Gets the folder.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
PublicObject |
getPublicObject()
Gets the object.
|
void |
setCheckInComment(String comment)
Sets the check-in comment.
|
void |
setFolder(Folder folder)
Sets the folder.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setPublicObject(PublicObject po)
Sets the object.
|
public IfsHandlePublicObjectVersioningContext()
throws IfsException
IfsExceptionpublic IfsHandlePublicObjectVersioningContext(LibrarySession session, PublicObject po, Folder folder, String comment) throws IfsException
session - LibrarySession.po - PublicObject to add to the folder.folder - Folder into which to add the PublicObject.comment - Check-in comment to be applied to the new version.IfsException - - If operation fails.public void clear()
clear in interface CommandContextclear in class IfsCommandContextpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface HandlePublicObjectVersioningContextIfsExceptionpublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface HandlePublicObjectVersioningContextIfsExceptionpublic PublicObject getPublicObject() throws IfsException
getPublicObject in interface HandlePublicObjectVersioningContextIfsExceptionpublic void setPublicObject(PublicObject po) throws IfsException
setPublicObject in interface HandlePublicObjectVersioningContextIfsExceptionpublic Folder getFolder() throws IfsException
getFolder in interface HandlePublicObjectVersioningContextIfsExceptionpublic void setFolder(Folder folder) throws IfsException
setFolder in interface HandlePublicObjectVersioningContextIfsExceptionpublic String getCheckInComment() throws IfsException
getCheckInComment in interface HandlePublicObjectVersioningContextIfsExceptionpublic void setCheckInComment(String comment) throws IfsException
setCheckInComment in interface HandlePublicObjectVersioningContextIfsExceptionCopyright © 2025. All rights reserved.