Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: mozilla ::

interface XProfileDiscover
Description
is the interface used to list and get information for Mozilla/Thunderbird profiles
See also
XProfileManager, MozillaBootstrap

Methods' Summary
getProfileCount attempts to get the profiles count.  
getProfileList attempts to get the profile list for the given product.  
getDefaultProfile attempts to get the default profile name for the given product.  
getProfilePath attempts to get the full path for the given profile.  
isProfileLocked attempts to get whether profile is locked by other applications.  
getProfileExists return true if the given profile exists  
Methods' Details
getProfileCount
long
getProfileCount( [in] MozillaProductType  product );

Description
attempts to get the profiles count.
Parameter product
is the product name to get profiles count.Currently support "Mozilla" and "Thunderbird".
Returns
the profiles count of selected product.
getProfileList
long
getProfileList( [in] MozillaProductType  product,
[out] sequence< string >  list );

Description
attempts to get the profile list for the given product.
Parameter product
is the product name to get profile list.Currently support "Mozilla" and "Thunderbird".
Parameter list
is a list of all profile of the given product.
Returns
the profile count for the given product.
getDefaultProfile
string
getDefaultProfile( [in] MozillaProductType  product );

Description
attempts to get the default profile name for the given product.
Parameter product
is the product name to get default profile.Currently support "Mozilla" and "Thunderbird".
Returns
the default profile name for the given product.
getProfilePath
string
getProfilePath( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to get the full path for the given profile.
Parameter product
is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
Parameter profileName
the profile name to get full path.
Returns
the full path of the given profile.
isProfileLocked
boolean
isProfileLocked( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to get whether profile is locked by other applications.
Parameter product
is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
Parameter profileName
the profile name to check.
Returns
true is the given profile is locked.
getProfileExists
boolean
getProfileExists( [in] MozillaProductType  product,
[in] string  profileName );

Description
return true if the given profile exists
Parameter product
is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
Parameter profileName
the profile name to check.
Returns
whether given profile exists
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.