| Modifier and Type | Field and Description |
|---|---|
protected LibrarySession |
m_session |
| Constructor and Description |
|---|
IfsObjectResolver(LibrarySession session)
Constructs a LookupHandler object - standard variant.
|
| Modifier and Type | Method and Description |
|---|---|
Parser |
constructParser(String parserPath)
constructs a parser based on a parserpath.
|
Folder |
getAnonymousHomeFolder()
Finds the folder that is the home folder for the anonymous user
|
String[] |
getAttributeNameList(LibraryObject lo)
Returns a list of available attribute names associated with a LO.
|
AttributeValue[] |
getAttributes(LibraryObject obj,
String[] attrs) |
AttributeValue[][] |
getAttributesArray(LibraryObject[] objs,
String[] attrs)
Gets a set of Attributes for an array of LibraryObjects.
|
AttributeValue |
getAttributeValue(String type,
String value)
Makes the AttributeValue associated with this type and value
|
int |
getDesiredBufferSize()
detrmines the size of the byte buffer.
|
DirectoryUser |
getDirectoryUser(String username)
Gets the DirectoryUser associated with username.
|
static Format |
getFormatByFilename(LibrarySession session,
String filename)
Derives a format based on the extension of the given filename.
|
Folder |
getHomeFolder()
Gets the home folder for the current user
|
Folder |
getHomeFolder(DirectoryUser user)
Gets the home folder for the user
|
Folder |
getHomeFolder(String username)
Gets the home folder for the username
|
LibraryObject |
getLibraryObjectById(Long id)
Gets either the PublicObject, SystemObject, or SchemaObject
associated with id.
|
LibraryObject |
getLibraryObjectByValueDefault(String valDefName)
Gets a LibraryObject from a ValueDefault name.
|
String |
getMeaningfulString(AttributeValue attr) |
Parser |
getParserByFilename(String filename)
Finds and constructs a parser based on its filename extension.
|
AccessControlList |
getSystemAcl(String aclname)
Finds the System Acl associated with aclname
|
protected LibrarySession m_session
public IfsObjectResolver(LibrarySession session)
session - current LibrarySessionpublic static Format getFormatByFilename(LibrarySession session, String filename) throws IfsException
session - the LibrarySession contextfilename - the filename to map to a FormatIfsException - if an error occurspublic String[] getAttributeNameList(LibraryObject lo) throws IfsException
lo - LibraryObject to retrieve attribute names from, will npe if nullIfsException - if an error occurspublic AttributeValue getAttributeValue(String type, String value) throws IfsException
type - value - IfsException - if an error occurspublic AccessControlList getSystemAcl(String aclname) throws IfsException
aclname - IfsException - if an error occurspublic Folder getAnonymousHomeFolder() throws IfsException
IfsException - if an error occurspublic Folder getHomeFolder() throws IfsException
IfsException - if an error occurspublic Folder getHomeFolder(String username) throws IfsException
username - IfsException - if an error occurspublic Folder getHomeFolder(DirectoryUser user) throws IfsException
user - IfsException - if an error occurspublic DirectoryUser getDirectoryUser(String username) throws IfsException
username - IfsException - if an error occurspublic int getDesiredBufferSize()
public Parser getParserByFilename(String filename) throws IfsException
filename - the filename used to lookup parser can be entire pathIfsException - if parser found, but dynamic instantiation failspublic Parser constructParser(String parserPath) throws IfsException
parserPath - parserPath - the path used to dynamically construct the parserIfsException - if an error occurspublic LibraryObject getLibraryObjectById(Long id) throws IfsException
id - IfsException - if an error occurspublic LibraryObject getLibraryObjectByValueDefault(String valDefName) throws IfsException
valDefName - IfsException - if an error occurspublic AttributeValue[] getAttributes(LibraryObject obj, String[] attrs) throws IfsException
obj - attrs - IfsException - if an error occurspublic AttributeValue[][] getAttributesArray(LibraryObject[] objs, String[] attrs) throws IfsException
objs - attrs - IfsException - if an error occurspublic String getMeaningfulString(AttributeValue attr) throws IfsException
attr - IfsException - if an error occursCopyright © 2025. All rights reserved.