public class IfsFindPublicObjectByIdContext extends IfsCommandContext implements FindPublicObjectByIdContext
Constructor and Description |
---|
IfsFindPublicObjectByIdContext()
Deafult Constructor.
|
IfsFindPublicObjectByIdContext(LibrarySession session,
Long id)
Constructor to set up all required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
Long |
getId()
Gets the id.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
PublicObject |
getPublicObject()
Gets the returning PublicObject.
|
void |
setId(Long id)
Sets the id.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setPublicObject(PublicObject po)
Sets the returning PublicObject.
|
public IfsFindPublicObjectByIdContext() throws IfsException
IfsException
public IfsFindPublicObjectByIdContext(LibrarySession session, Long id) throws IfsException
session
- LibrarySession.id
- Id of PublicObject to retrieve.IfsException
- If operation fails.public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface FindPublicObjectByIdContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface FindPublicObjectByIdContext
IfsException
public Long getId() throws IfsException
getId
in interface FindPublicObjectByIdContext
IfsException
public void setId(Long id) throws IfsException
setId
in interface FindPublicObjectByIdContext
IfsException
public PublicObject getPublicObject() throws IfsException
getPublicObject
in interface FindPublicObjectByIdContext
IfsException
public void setPublicObject(PublicObject po) throws IfsException
setPublicObject
in interface FindPublicObjectByIdContext
IfsException
Copyright © 2023. All rights reserved.