com.liferay.portal.service
Class CompanyServiceUtil
java.lang.Object
com.liferay.portal.service.CompanyServiceUtil
public class CompanyServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
CompanyService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
CompanyService
- Generated:
Method Summary |
static Company |
addCompany(java.lang.String webId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String shardName,
boolean system,
int maxUsers)
|
static void |
deleteLogo(long companyId)
|
static Company |
getCompanyById(long companyId)
|
static Company |
getCompanyByLogoId(long logoId)
|
static Company |
getCompanyByMx(java.lang.String mx)
|
static Company |
getCompanyByVirtualHost(java.lang.String virtualHost)
|
static Company |
getCompanyByWebId(java.lang.String webId)
|
static CompanyService |
getService()
|
static void |
removePreferences(long companyId,
java.lang.String[] keys)
|
void |
setService(CompanyService service)
|
static Company |
updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
int maxUsers)
|
static Company |
updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size)
|
static Company |
updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size,
java.lang.String languageId,
java.lang.String timeZoneId,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<Phone> phones,
java.util.List<Website> websites,
UnicodeProperties properties)
|
static void |
updateDisplay(long companyId,
java.lang.String languageId,
java.lang.String timeZoneId)
|
static void |
updateLogo(long companyId,
java.io.File file)
|
static void |
updatePreferences(long companyId,
UnicodeProperties properties)
|
static void |
updateSecurity(long companyId,
java.lang.String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompanyServiceUtil
public CompanyServiceUtil()
addCompany
public static Company addCompany(java.lang.String webId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String shardName,
boolean system,
int maxUsers)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLogo
public static void deleteLogo(long companyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyById
public static Company getCompanyById(long companyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyByLogoId
public static Company getCompanyByLogoId(long logoId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyByMx
public static Company getCompanyByMx(java.lang.String mx)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyByVirtualHost
public static Company getCompanyByVirtualHost(java.lang.String virtualHost)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyByWebId
public static Company getCompanyByWebId(java.lang.String webId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removePreferences
public static void removePreferences(long companyId,
java.lang.String[] keys)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCompany
public static Company updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
int maxUsers)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCompany
public static Company updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCompany
public static Company updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size,
java.lang.String languageId,
java.lang.String timeZoneId,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<Phone> phones,
java.util.List<Website> websites,
UnicodeProperties properties)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateDisplay
public static void updateDisplay(long companyId,
java.lang.String languageId,
java.lang.String timeZoneId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLogo
public static void updateLogo(long companyId,
java.io.File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updatePreferences
public static void updatePreferences(long companyId,
UnicodeProperties properties)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateSecurity
public static void updateSecurity(long companyId,
java.lang.String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static CompanyService getService()
setService
public void setService(CompanyService service)