public class IfsIsVersionedContext extends IfsCommandContext implements IsVersionedContext
Constructor and Description |
---|
IfsIsVersionedContext()
Deafult Constructor.
|
IfsIsVersionedContext(LibrarySession session,
PublicObject po)
Constructor to set up all required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
PublicObject |
getPublicObject()
Gets the PublicObject.
|
boolean |
getResults()
Gets the results.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setPublicObject(PublicObject po)
Sets the PublicObject.
|
void |
setResults(boolean isVersioned)
Sets the results.
|
public IfsIsVersionedContext() throws IfsException
IfsException
public IfsIsVersionedContext(LibrarySession session, PublicObject po) throws IfsException
session
- LibrarySession.po
- PublicObject which to find out whether it is versioned
or not.IfsException
- If operation fails.public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface IsVersionedContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface IsVersionedContext
IfsException
public PublicObject getPublicObject() throws IfsException
getPublicObject
in interface IsVersionedContext
IfsException
public void setPublicObject(PublicObject po) throws IfsException
setPublicObject
in interface IsVersionedContext
IfsException
public boolean getResults() throws IfsException
getResults
in interface IsVersionedContext
IfsException
public void setResults(boolean isVersioned) throws IfsException
setResults
in interface IsVersionedContext
IfsException
Copyright © 2023. All rights reserved.