001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.search.IndexableType;
022    import com.liferay.portal.kernel.transaction.Isolation;
023    import com.liferay.portal.kernel.transaction.Propagation;
024    import com.liferay.portal.kernel.transaction.Transactional;
025    
026    /**
027     * Provides the local service interface for Company. Methods of this
028     * service will not have security checks based on the propagated JAAS
029     * credentials because this service can only be accessed from within the same
030     * VM.
031     *
032     * @author Brian Wing Shun Chan
033     * @see CompanyLocalServiceUtil
034     * @see com.liferay.portal.service.base.CompanyLocalServiceBaseImpl
035     * @see com.liferay.portal.service.impl.CompanyLocalServiceImpl
036     * @generated
037     */
038    @ProviderType
039    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
040            PortalException.class, SystemException.class})
041    public interface CompanyLocalService extends BaseLocalService,
042            PersistedModelLocalService {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. Always use {@link CompanyLocalServiceUtil} to access the company local service. Add custom service methods to {@link com.liferay.portal.service.impl.CompanyLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
047             */
048    
049            /**
050            * Adds the company to the database. Also notifies the appropriate model listeners.
051            *
052            * @param company the company
053            * @return the company that was added
054            */
055            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
056            public com.liferay.portal.model.Company addCompany(
057                    com.liferay.portal.model.Company company);
058    
059            /**
060            * Adds a company.
061            *
062            * @param webId the the company's web domain
063            * @param virtualHostname the company's virtual host name
064            * @param mx the company's mail domain
065            * @param system whether the company is the very first company (i.e., the
066            super company)
067            * @param maxUsers the max number of company users (optionally
068            <code>0</code>)
069            * @param active whether the company is active
070            * @return the company
071            */
072            public com.liferay.portal.model.Company addCompany(java.lang.String webId,
073                    java.lang.String virtualHostname, java.lang.String mx, boolean system,
074                    int maxUsers, boolean active) throws PortalException;
075    
076            /**
077            * Returns the company with the web domain.
078            *
079            * The method sets mail domain to the web domain to the default name set in
080            * portal.properties
081            *
082            * @param webId the company's web domain
083            * @return the company with the web domain
084            */
085            public com.liferay.portal.model.Company checkCompany(java.lang.String webId)
086                    throws PortalException;
087    
088            /**
089            * Returns the company with the web domain and mail domain. If no such
090            * company exits, the method will create a new company.
091            *
092            * The method goes through a series of checks to ensure that the company
093            * contains default users, groups, etc.
094            *
095            * @param webId the company's web domain
096            * @param mx the company's mail domain
097            * @return the company with the web domain and mail domain
098            */
099            @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
100                    com.liferay.portal.kernel.exception.PortalException.class, com.liferay.portal.kernel.exception.SystemException.class}
101            )
102            public com.liferay.portal.model.Company checkCompany(
103                    java.lang.String webId, java.lang.String mx) throws PortalException;
104    
105            /**
106            * Checks if the company has an encryption key. It will create a key if one
107            * does not exist.
108            *
109            * @param companyId the primary key of the company
110            */
111            public void checkCompanyKey(long companyId) throws PortalException;
112    
113            /**
114            * Creates a new company with the primary key. Does not add the company to the database.
115            *
116            * @param companyId the primary key for the new company
117            * @return the new company
118            */
119            public com.liferay.portal.model.Company createCompany(long companyId);
120    
121            /**
122            * Deletes the company from the database. Also notifies the appropriate model listeners.
123            *
124            * @param company the company
125            * @return the company that was removed
126            * @throws PortalException
127            */
128            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
129            public com.liferay.portal.model.Company deleteCompany(
130                    com.liferay.portal.model.Company company) throws PortalException;
131    
132            /**
133            * Deletes the company with the primary key from the database. Also notifies the appropriate model listeners.
134            *
135            * @param companyId the primary key of the company
136            * @return the company that was removed
137            * @throws PortalException if a company with the primary key could not be found
138            */
139            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
140            public com.liferay.portal.model.Company deleteCompany(long companyId)
141                    throws PortalException;
142    
143            /**
144            * Deletes the company's logo.
145            *
146            * @param companyId the primary key of the company
147            * @return the deleted logo's company
148            */
149            public com.liferay.portal.model.Company deleteLogo(long companyId)
150                    throws PortalException;
151    
152            /**
153            * @throws PortalException
154            */
155            @Override
156            public com.liferay.portal.model.PersistedModel deletePersistedModel(
157                    com.liferay.portal.model.PersistedModel persistedModel)
158                    throws PortalException;
159    
160            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
161    
162            /**
163            * Performs a dynamic query on the database and returns the matching rows.
164            *
165            * @param dynamicQuery the dynamic query
166            * @return the matching rows
167            */
168            public <T> java.util.List<T> dynamicQuery(
169                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
170    
171            /**
172            * Performs a dynamic query on the database and returns a range of the matching rows.
173            *
174            * <p>
175            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.CompanyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
176            * </p>
177            *
178            * @param dynamicQuery the dynamic query
179            * @param start the lower bound of the range of model instances
180            * @param end the upper bound of the range of model instances (not inclusive)
181            * @return the range of matching rows
182            */
183            public <T> java.util.List<T> dynamicQuery(
184                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
185                    int end);
186    
187            /**
188            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
189            *
190            * <p>
191            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.CompanyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
192            * </p>
193            *
194            * @param dynamicQuery the dynamic query
195            * @param start the lower bound of the range of model instances
196            * @param end the upper bound of the range of model instances (not inclusive)
197            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
198            * @return the ordered range of matching rows
199            */
200            public <T> java.util.List<T> dynamicQuery(
201                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
202                    int end,
203                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
204    
205            /**
206            * Returns the number of rows matching the dynamic query.
207            *
208            * @param dynamicQuery the dynamic query
209            * @return the number of rows matching the dynamic query
210            */
211            public long dynamicQueryCount(
212                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
213    
214            /**
215            * Returns the number of rows matching the dynamic query.
216            *
217            * @param dynamicQuery the dynamic query
218            * @param projection the projection to apply to the query
219            * @return the number of rows matching the dynamic query
220            */
221            public long dynamicQueryCount(
222                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
223                    com.liferay.portal.kernel.dao.orm.Projection projection);
224    
225            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
226            public com.liferay.portal.model.Company fetchCompany(long companyId);
227    
228            /**
229            * Returns the company with the primary key.
230            *
231            * @param companyId the primary key of the company
232            * @return the company with the primary key, <code>null</code> if a company
233            with the primary key could not be found
234            */
235            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236            public com.liferay.portal.model.Company fetchCompanyById(long companyId);
237    
238            /**
239            * Returns the company with the virtual host name.
240            *
241            * @param virtualHostname the virtual host name
242            * @return the company with the virtual host name, <code>null</code> if a
243            company with the virtual host could not be found
244            */
245            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
246            public com.liferay.portal.model.Company fetchCompanyByVirtualHost(
247                    java.lang.String virtualHostname);
248    
249            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
250            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
251    
252            /**
253            * Returns all the companies.
254            *
255            * @return the companies
256            */
257            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
258            public java.util.List<com.liferay.portal.model.Company> getCompanies();
259    
260            /**
261            * Returns a range of all the companies.
262            *
263            * <p>
264            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.CompanyModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
265            * </p>
266            *
267            * @param start the lower bound of the range of companies
268            * @param end the upper bound of the range of companies (not inclusive)
269            * @return the range of companies
270            */
271            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
272            public java.util.List<com.liferay.portal.model.Company> getCompanies(
273                    int start, int end);
274    
275            /**
276            * Returns all the companies used by WSRP.
277            *
278            * @param system whether the company is the very first company (i.e., the
279            super company)
280            * @return the companies used by WSRP
281            */
282            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283            public java.util.List<com.liferay.portal.model.Company> getCompanies(
284                    boolean system);
285    
286            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287            public java.util.List<com.liferay.portal.model.Company> getCompanies(
288                    boolean system, int start, int end);
289    
290            /**
291            * Returns the number of companies.
292            *
293            * @return the number of companies
294            */
295            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
296            public int getCompaniesCount();
297    
298            /**
299            * Returns the number of companies used by WSRP.
300            *
301            * @param system whether the company is the very first company (i.e., the
302            super company)
303            * @return the number of companies used by WSRP
304            */
305            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306            public int getCompaniesCount(boolean system);
307    
308            /**
309            * Returns the company with the primary key.
310            *
311            * @param companyId the primary key of the company
312            * @return the company
313            * @throws PortalException if a company with the primary key could not be found
314            */
315            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
316            public com.liferay.portal.model.Company getCompany(long companyId)
317                    throws PortalException;
318    
319            /**
320            * Returns the company with the primary key.
321            *
322            * @param companyId the primary key of the company
323            * @return the company with the primary key
324            */
325            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326            public com.liferay.portal.model.Company getCompanyById(long companyId)
327                    throws PortalException;
328    
329            /**
330            * Returns the company with the logo.
331            *
332            * @param logoId the ID of the company's logo
333            * @return the company with the logo
334            */
335            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336            public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
337                    throws PortalException;
338    
339            /**
340            * Returns the company with the mail domain.
341            *
342            * @param mx the company's mail domain
343            * @return the company with the mail domain
344            */
345            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346            public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
347                    throws PortalException;
348    
349            /**
350            * Returns the company with the virtual host name.
351            *
352            * @param virtualHostname the company's virtual host name
353            * @return the company with the virtual host name
354            */
355            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
356            public com.liferay.portal.model.Company getCompanyByVirtualHost(
357                    java.lang.String virtualHostname) throws PortalException;
358    
359            /**
360            * Returns the company with the web domain.
361            *
362            * @param webId the company's web domain
363            * @return the company with the web domain
364            */
365            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
366            public com.liferay.portal.model.Company getCompanyByWebId(
367                    java.lang.String webId) throws PortalException;
368    
369            /**
370            * Returns the user's company.
371            *
372            * @param userId the primary key of the user
373            * @return Returns the first company if there is only one company or the
374            user's company if there are more than one company; <code>0</code>
375            otherwise
376            * @throws Exception if a user with the primary key could not be found
377            */
378            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
379            public long getCompanyIdByUserId(long userId) throws java.lang.Exception;
380    
381            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
382            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
383    
384            /**
385            * Returns the OSGi service identifier.
386            *
387            * @return the OSGi service identifier
388            */
389            public java.lang.String getOSGiServiceIdentifier();
390    
391            @Override
392            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
393            public com.liferay.portal.model.PersistedModel getPersistedModel(
394                    java.io.Serializable primaryKeyObj) throws PortalException;
395    
396            /**
397            * Removes the values that match the keys of the company's preferences.
398            *
399            * This method is called by {@link
400            * com.liferay.portlet.portalsettings.action.EditLDAPServerAction} remotely
401            * through {@link com.liferay.portal.service.CompanyService}.
402            *
403            * @param companyId the primary key of the company
404            * @param keys the company's preferences keys to be remove
405            */
406            public void removePreferences(long companyId, java.lang.String[] keys);
407    
408            /**
409            * Returns an ordered range of all assets that match the keywords in the
410            * company.
411            *
412            * The method is called in {@link
413            * com.liferay.portal.search.PortalOpenSearchImpl} which is not longer used
414            * by the Search portlet.
415            *
416            * @param companyId the primary key of the company
417            * @param userId the primary key of the user
418            * @param keywords the keywords (space separated),which may occur in assets
419            in the company (optionally <code>null</code>)
420            * @param start the lower bound of the range of assets to return
421            * @param end the upper bound of the range of assets to return (not
422            inclusive)
423            * @return the matching assets in the company
424            */
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public com.liferay.portal.kernel.search.Hits search(long companyId,
427                    long userId, java.lang.String keywords, int start, int end);
428    
429            /**
430            * Returns an ordered range of all assets that match the keywords in the
431            * portlet within the company.
432            *
433            * @param companyId the primary key of the company
434            * @param userId the primary key of the user
435            * @param portletId the primary key of the portlet (optionally
436            <code>null</code>)
437            * @param groupId the primary key of the group (optionally <code>0</code>)
438            * @param type the mime type of assets to return(optionally
439            <code>null</code>)
440            * @param keywords the keywords (space separated), which may occur in any
441            assets in the portlet (optionally <code>null</code>)
442            * @param start the lower bound of the range of assets to return
443            * @param end the upper bound of the range of assets to return (not
444            inclusive)
445            * @return the matching assets in the portlet within the company
446            */
447            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
448            public com.liferay.portal.kernel.search.Hits search(long companyId,
449                    long userId, java.lang.String portletId, long groupId,
450                    java.lang.String type, java.lang.String keywords, int start, int end);
451    
452            /**
453            * Updates the company in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
454            *
455            * @param company the company
456            * @return the company that was updated
457            */
458            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
459            public com.liferay.portal.model.Company updateCompany(
460                    com.liferay.portal.model.Company company);
461    
462            /**
463            * Update the company with additional account information.
464            *
465            * @param companyId the primary key of the company
466            * @param virtualHostname the company's virtual host name
467            * @param mx the company's mail domain
468            * @param homeURL the company's home URL (optionally <code>null</code>)
469            * @param logo whether to update the company's logo
470            * @param logoBytes the new logo image data
471            * @param name the company's account name(optionally <code>null</code>)
472            * @param legalName the company's account legal name (optionally
473            <code>null</code>)
474            * @param legalId the company's account legal ID (optionally
475            <code>null</code>)
476            * @param legalType the company's account legal type (optionally
477            <code>null</code>)
478            * @param sicCode the company's account SIC code (optionally
479            <code>null</code>)
480            * @param tickerSymbol the company's account ticker symbol (optionally
481            <code>null</code>)
482            * @param industry the company's account industry (optionally
483            <code>null</code>)
484            * @param type the company's account type (optionally <code>null</code>)
485            * @param size the company's account size (optionally <code>null</code>)
486            * @return the company with the primary key
487            */
488            public com.liferay.portal.model.Company updateCompany(long companyId,
489                    java.lang.String virtualHostname, java.lang.String mx,
490                    java.lang.String homeURL, boolean logo, byte[] logoBytes,
491                    java.lang.String name, java.lang.String legalName,
492                    java.lang.String legalId, java.lang.String legalType,
493                    java.lang.String sicCode, java.lang.String tickerSymbol,
494                    java.lang.String industry, java.lang.String type, java.lang.String size)
495                    throws PortalException;
496    
497            /**
498            * Update the company with additional account information.
499            *
500            * @param companyId the primary key of the company
501            * @param virtualHostname the company's virtual host name
502            * @param mx the company's mail domain
503            * @param homeURL the company's home URL (optionally <code>null</code>)
504            * @param name the company's account name(optionally <code>null</code>)
505            * @param legalName the company's account legal name (optionally
506            <code>null</code>)
507            * @param legalId the company's account legal ID (optionally
508            <code>null</code>)
509            * @param legalType the company's account legal type (optionally
510            <code>null</code>)
511            * @param sicCode the company's account SIC code (optionally
512            <code>null</code>)
513            * @param tickerSymbol the company's account ticker symbol (optionally
514            <code>null</code>)
515            * @param industry the company's account industry (optionally
516            <code>null</code>)
517            * @param type the company's account type (optionally
518            <code>null</code>)
519            * @param size the company's account size (optionally
520            <code>null</code>)
521            * @return the company with the primary key
522            * @deprecated As of 7.0.0, replaced by {@link #updateCompany(long, String,
523            String, String, boolean, byte[], String, String, String,
524            String, String, String, String, String, String)}
525            */
526            @java.lang.Deprecated
527            public com.liferay.portal.model.Company updateCompany(long companyId,
528                    java.lang.String virtualHostname, java.lang.String mx,
529                    java.lang.String homeURL, java.lang.String name,
530                    java.lang.String legalName, java.lang.String legalId,
531                    java.lang.String legalType, java.lang.String sicCode,
532                    java.lang.String tickerSymbol, java.lang.String industry,
533                    java.lang.String type, java.lang.String size) throws PortalException;
534    
535            /**
536            * Updates the company.
537            *
538            * @param companyId the primary key of the company
539            * @param virtualHostname the company's virtual host name
540            * @param mx the company's mail domain
541            * @param maxUsers the max number of company users (optionally
542            <code>0</code>)
543            * @param active whether the company is active
544            * @return the company with the primary key
545            */
546            public com.liferay.portal.model.Company updateCompany(long companyId,
547                    java.lang.String virtualHostname, java.lang.String mx, int maxUsers,
548                    boolean active) throws PortalException;
549    
550            /**
551            * Update the company's display.
552            *
553            * @param companyId the primary key of the company
554            * @param languageId the ID of the company's default user's language
555            * @param timeZoneId the ID of the company's default user's time zone
556            */
557            public void updateDisplay(long companyId, java.lang.String languageId,
558                    java.lang.String timeZoneId) throws PortalException;
559    
560            /**
561            * Updates the company's logo.
562            *
563            * @param companyId the primary key of the company
564            * @param bytes the bytes of the company's logo image
565            * @return the company with the primary key
566            */
567            public com.liferay.portal.model.Company updateLogo(long companyId,
568                    byte[] bytes) throws PortalException;
569    
570            /**
571            * Updates the company's logo.
572            *
573            * @param companyId the primary key of the company
574            * @param file the file of the company's logo image
575            * @return the company with the primary key
576            */
577            public com.liferay.portal.model.Company updateLogo(long companyId,
578                    java.io.File file) throws PortalException;
579    
580            /**
581            * Update the company's logo.
582            *
583            * @param companyId the primary key of the company
584            * @param is the input stream of the company's logo image
585            * @return the company with the primary key
586            */
587            public com.liferay.portal.model.Company updateLogo(long companyId,
588                    java.io.InputStream is) throws PortalException;
589    
590            /**
591            * Updates the company's preferences. The company's default properties are
592            * found in portal.properties.
593            *
594            * @param companyId the primary key of the company
595            * @param properties the company's properties. See {@link UnicodeProperties}
596            */
597            public void updatePreferences(long companyId,
598                    com.liferay.portal.kernel.util.UnicodeProperties properties)
599                    throws PortalException;
600    
601            /**
602            * Updates the company's security properties.
603            *
604            * @param companyId the primary key of the company
605            * @param authType the company's method of authenticating users
606            * @param autoLogin whether to allow users to select the "remember me"
607            feature
608            * @param sendPassword whether to allow users to ask the company to send
609            their password
610            * @param strangers whether to allow strangers to create accounts register
611            themselves in the company
612            * @param strangersWithMx whether to allow strangers to create accounts with
613            email addresses that match the company mail suffix
614            * @param strangersVerify whether to require strangers who create accounts
615            to be verified via email
616            * @param siteLogo whether to allow site administrators to use their own
617            logo instead of the enterprise logo
618            */
619            public void updateSecurity(long companyId, java.lang.String authType,
620                    boolean autoLogin, boolean sendPassword, boolean strangers,
621                    boolean strangersWithMx, boolean strangersVerify, boolean siteLogo);
622    }