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
IfsException
public 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 CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface HandlePublicObjectVersioningContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface HandlePublicObjectVersioningContext
IfsException
public PublicObject getPublicObject() throws IfsException
getPublicObject
in interface HandlePublicObjectVersioningContext
IfsException
public void setPublicObject(PublicObject po) throws IfsException
setPublicObject
in interface HandlePublicObjectVersioningContext
IfsException
public Folder getFolder() throws IfsException
getFolder
in interface HandlePublicObjectVersioningContext
IfsException
public void setFolder(Folder folder) throws IfsException
setFolder
in interface HandlePublicObjectVersioningContext
IfsException
public String getCheckInComment() throws IfsException
getCheckInComment
in interface HandlePublicObjectVersioningContext
IfsException
public void setCheckInComment(String comment) throws IfsException
setCheckInComment
in interface HandlePublicObjectVersioningContext
IfsException
Copyright © 2023. All rights reserved.