Liferay 6.0.5

com.liferay.portlet.enterpriseadmin.util
Class EnterpriseAdminImpl

java.lang.Object
  extended by com.liferay.portlet.enterpriseadmin.util.EnterpriseAdminImpl
All Implemented Interfaces:
EnterpriseAdmin

public class EnterpriseAdminImpl
extends Object
implements EnterpriseAdmin


Field Summary
 
Fields inherited from interface com.liferay.portlet.enterpriseadmin.util.EnterpriseAdmin
CUSTOM_QUESTION
 
Constructor Summary
EnterpriseAdminImpl()
           
 
Method Summary
 void addPortletBreadcrumbEntries(Organization organization, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
 long[] addRequiredRoles(long userId, long[] roleIds)
           
 long[] addRequiredRoles(User user, long[] roleIds)
           
 List<Role> filterGroupRoles(PermissionChecker permissionChecker, long groupId, List<Role> roles)
           
 List<Group> filterGroups(PermissionChecker permissionChecker, List<Group> groups)
           
 List<Organization> filterOrganizations(PermissionChecker permissionChecker, List<Organization> organizations)
           
 List<Role> filterRoles(PermissionChecker permissionChecker, List<Role> roles)
           
 List<UserGroupRole> filterUserGroupRoles(PermissionChecker permissionChecker, List<UserGroupRole> userGroupRoles)
           
 List<UserGroup> filterUserGroups(PermissionChecker permissionChecker, List<UserGroup> userGroups)
           
 List<Address> getAddresses(ActionRequest actionRequest)
           
 String getCssClassName(Role role)
           
 List<EmailAddress> getEmailAddresses(ActionRequest actionRequest)
           
 OrderByComparator getGroupOrderByComparator(String orderByCol, String orderByType)
           
 Long[][] getLeftAndRightOrganizationIds(List<Organization> organizations)
           
 Long[][] getLeftAndRightOrganizationIds(long organizationId)
           
 Long[][] getLeftAndRightOrganizationIds(Organization organization)
           
 Long[] getOrganizationIds(List<Organization> organizations)
           
 OrderByComparator getOrganizationOrderByComparator(String orderByCol, String orderByType)
           
 List<OrgLabor> getOrgLabors(ActionRequest actionRequest)
           
 OrderByComparator getPasswordPolicyOrderByComparator(String orderByCol, String orderByType)
           
 List<Phone> getPhones(ActionRequest actionRequest)
           
 OrderByComparator getRoleOrderByComparator(String orderByCol, String orderByType)
           
 OrderByComparator getUserGroupOrderByComparator(String orderByCol, String orderByType)
           
 List<UserGroupRole> getUserGroupRoles(PortletRequest portletRequest)
           
 OrderByComparator getUserOrderByComparator(String orderByCol, String orderByType)
           
 List<Website> getWebsites(ActionRequest actionRequest)
           
 boolean hasUpdateEmailAddress(PermissionChecker permissionChecker, User user)
           
 boolean hasUpdateScreenName(PermissionChecker permissionChecker, User user)
           
 long[] removeRequiredRoles(long userId, long[] roleIds)
           
 long[] removeRequiredRoles(User user, long[] roleIds)
           
 void updateAddresses(String className, long classPK, List<Address> addresses)
           
 void updateEmailAddresses(String className, long classPK, List<EmailAddress> emailAddresses)
           
 void updateOrgLabors(long classPK, List<OrgLabor> orgLabors)
           
 void updatePhones(String className, long classPK, List<Phone> phones)
           
 void updateWebsites(String className, long classPK, List<Website> websites)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterpriseAdminImpl

public EnterpriseAdminImpl()
Method Detail

addPortletBreadcrumbEntries

public void addPortletBreadcrumbEntries(Organization organization,
                                        javax.servlet.http.HttpServletRequest request,
                                        RenderResponse renderResponse)
                                 throws Exception
Specified by:
addPortletBreadcrumbEntries in interface EnterpriseAdmin
Throws:
Exception

getCssClassName

public String getCssClassName(Role role)
Specified by:
getCssClassName in interface EnterpriseAdmin

addRequiredRoles

public long[] addRequiredRoles(long userId,
                               long[] roleIds)
                        throws PortalException,
                               SystemException
Specified by:
addRequiredRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

addRequiredRoles

public long[] addRequiredRoles(User user,
                               long[] roleIds)
                        throws PortalException,
                               SystemException
Specified by:
addRequiredRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

filterGroupRoles

public List<Role> filterGroupRoles(PermissionChecker permissionChecker,
                                   long groupId,
                                   List<Role> roles)
                            throws PortalException,
                                   SystemException
Specified by:
filterGroupRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

filterGroups

public List<Group> filterGroups(PermissionChecker permissionChecker,
                                List<Group> groups)
                         throws PortalException,
                                SystemException
Specified by:
filterGroups in interface EnterpriseAdmin
Throws:
PortalException
SystemException

filterOrganizations

public List<Organization> filterOrganizations(PermissionChecker permissionChecker,
                                              List<Organization> organizations)
                                       throws PortalException,
                                              SystemException
Specified by:
filterOrganizations in interface EnterpriseAdmin
Throws:
PortalException
SystemException

filterRoles

public List<Role> filterRoles(PermissionChecker permissionChecker,
                              List<Role> roles)
Specified by:
filterRoles in interface EnterpriseAdmin

filterUserGroupRoles

public List<UserGroupRole> filterUserGroupRoles(PermissionChecker permissionChecker,
                                                List<UserGroupRole> userGroupRoles)
                                         throws PortalException,
                                                SystemException
Specified by:
filterUserGroupRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

filterUserGroups

public List<UserGroup> filterUserGroups(PermissionChecker permissionChecker,
                                        List<UserGroup> userGroups)
Specified by:
filterUserGroups in interface EnterpriseAdmin

getAddresses

public List<Address> getAddresses(ActionRequest actionRequest)
Specified by:
getAddresses in interface EnterpriseAdmin

getEmailAddresses

public List<EmailAddress> getEmailAddresses(ActionRequest actionRequest)
Specified by:
getEmailAddresses in interface EnterpriseAdmin

getGroupOrderByComparator

public OrderByComparator getGroupOrderByComparator(String orderByCol,
                                                   String orderByType)
Specified by:
getGroupOrderByComparator in interface EnterpriseAdmin

getLeftAndRightOrganizationIds

public Long[][] getLeftAndRightOrganizationIds(long organizationId)
                                        throws PortalException,
                                               SystemException
Specified by:
getLeftAndRightOrganizationIds in interface EnterpriseAdmin
Throws:
PortalException
SystemException

getLeftAndRightOrganizationIds

public Long[][] getLeftAndRightOrganizationIds(Organization organization)
Specified by:
getLeftAndRightOrganizationIds in interface EnterpriseAdmin

getLeftAndRightOrganizationIds

public Long[][] getLeftAndRightOrganizationIds(List<Organization> organizations)
Specified by:
getLeftAndRightOrganizationIds in interface EnterpriseAdmin

getOrganizationIds

public Long[] getOrganizationIds(List<Organization> organizations)
Specified by:
getOrganizationIds in interface EnterpriseAdmin

getOrganizationOrderByComparator

public OrderByComparator getOrganizationOrderByComparator(String orderByCol,
                                                          String orderByType)
Specified by:
getOrganizationOrderByComparator in interface EnterpriseAdmin

getOrgLabors

public List<OrgLabor> getOrgLabors(ActionRequest actionRequest)
Specified by:
getOrgLabors in interface EnterpriseAdmin

getPasswordPolicyOrderByComparator

public OrderByComparator getPasswordPolicyOrderByComparator(String orderByCol,
                                                            String orderByType)
Specified by:
getPasswordPolicyOrderByComparator in interface EnterpriseAdmin

getPhones

public List<Phone> getPhones(ActionRequest actionRequest)
Specified by:
getPhones in interface EnterpriseAdmin

getRoleOrderByComparator

public OrderByComparator getRoleOrderByComparator(String orderByCol,
                                                  String orderByType)
Specified by:
getRoleOrderByComparator in interface EnterpriseAdmin

getUserGroupOrderByComparator

public OrderByComparator getUserGroupOrderByComparator(String orderByCol,
                                                       String orderByType)
Specified by:
getUserGroupOrderByComparator in interface EnterpriseAdmin

getUserGroupRoles

public List<UserGroupRole> getUserGroupRoles(PortletRequest portletRequest)
                                      throws SystemException,
                                             PortalException
Specified by:
getUserGroupRoles in interface EnterpriseAdmin
Throws:
SystemException
PortalException

getUserOrderByComparator

public OrderByComparator getUserOrderByComparator(String orderByCol,
                                                  String orderByType)
Specified by:
getUserOrderByComparator in interface EnterpriseAdmin

getWebsites

public List<Website> getWebsites(ActionRequest actionRequest)
Specified by:
getWebsites in interface EnterpriseAdmin

hasUpdateEmailAddress

public boolean hasUpdateEmailAddress(PermissionChecker permissionChecker,
                                     User user)
                              throws PortalException,
                                     SystemException
Specified by:
hasUpdateEmailAddress in interface EnterpriseAdmin
Throws:
PortalException
SystemException

hasUpdateScreenName

public boolean hasUpdateScreenName(PermissionChecker permissionChecker,
                                   User user)
                            throws PortalException,
                                   SystemException
Specified by:
hasUpdateScreenName in interface EnterpriseAdmin
Throws:
PortalException
SystemException

removeRequiredRoles

public long[] removeRequiredRoles(long userId,
                                  long[] roleIds)
                           throws PortalException,
                                  SystemException
Specified by:
removeRequiredRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

removeRequiredRoles

public long[] removeRequiredRoles(User user,
                                  long[] roleIds)
                           throws PortalException,
                                  SystemException
Specified by:
removeRequiredRoles in interface EnterpriseAdmin
Throws:
PortalException
SystemException

updateAddresses

public void updateAddresses(String className,
                            long classPK,
                            List<Address> addresses)
                     throws PortalException,
                            SystemException
Specified by:
updateAddresses in interface EnterpriseAdmin
Throws:
PortalException
SystemException

updateEmailAddresses

public void updateEmailAddresses(String className,
                                 long classPK,
                                 List<EmailAddress> emailAddresses)
                          throws PortalException,
                                 SystemException
Specified by:
updateEmailAddresses in interface EnterpriseAdmin
Throws:
PortalException
SystemException

updateOrgLabors

public void updateOrgLabors(long classPK,
                            List<OrgLabor> orgLabors)
                     throws PortalException,
                            SystemException
Specified by:
updateOrgLabors in interface EnterpriseAdmin
Throws:
PortalException
SystemException

updatePhones

public void updatePhones(String className,
                         long classPK,
                         List<Phone> phones)
                  throws PortalException,
                         SystemException
Specified by:
updatePhones in interface EnterpriseAdmin
Throws:
PortalException
SystemException

updateWebsites

public void updateWebsites(String className,
                           long classPK,
                           List<Website> websites)
                    throws PortalException,
                           SystemException
Specified by:
updateWebsites in interface EnterpriseAdmin
Throws:
PortalException
SystemException

Liferay 6.0.5