Java Doc for OrganizationUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » service » persistence » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portal.service.persistence 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.liferay.portal.service.persistence.OrganizationUtil

OrganizationUtil
public class OrganizationUtil (Code)
View Source
author:
   Brian Wing Shun Chan




Method Summary
public static  voidaddGroup(long pk, long groupPK)
    
public static  voidaddGroup(long pk, com.liferay.portal.model.Group group)
    
public static  voidaddGroups(long pk, long[] groupPKs)
    
public static  voidaddGroups(long pk, java.util.List groups)
    
public static  voidaddUser(long pk, long userPK)
    
public static  voidaddUser(long pk, com.liferay.portal.model.User user)
    
public static  voidaddUsers(long pk, long[] userPKs)
    
public static  voidaddUsers(long pk, java.util.List users)
    
public static  voidclearGroups(long pk)
    
public static  voidclearUsers(long pk)
    
public static  booleancontainsGroup(long pk, long groupPK)
    
public static  booleancontainsGroups(long pk)
    
public static  booleancontainsUser(long pk, long userPK)
    
public static  booleancontainsUsers(long pk)
    
public static  intcountAll()
    
public static  intcountByC_N(long companyId, java.lang.String name)
    
public static  intcountByC_P(long companyId, long parentOrganizationId)
    
public static  intcountByCompanyId(long companyId)
    
public static  intcountByLocations(long companyId)
    
public static  com.liferay.portal.model.Organizationcreate(long organizationId)
    
public static  com.liferay.portal.model.OrganizationfetchByC_N(long companyId, java.lang.String name)
    
public static  com.liferay.portal.model.OrganizationfetchByPrimaryKey(long organizationId)
    
public static  java.util.ListfindAll()
    
public static  java.util.ListfindAll(int begin, int end)
    
public static  java.util.ListfindAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByC_N(long companyId, java.lang.String name)
    
public static  java.util.ListfindByC_P(long companyId, long parentOrganizationId)
    
public static  java.util.ListfindByC_P(long companyId, long parentOrganizationId, int begin, int end)
    
public static  java.util.ListfindByC_P(long companyId, long parentOrganizationId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.Organization[]findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  java.util.ListfindByCompanyId(long companyId)
    
public static  java.util.ListfindByCompanyId(long companyId, int begin, int end)
    
public static  java.util.ListfindByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.Organization[]findByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  java.util.ListfindByLocations(long companyId)
    
public static  java.util.ListfindByLocations(long companyId, int begin, int end)
    
public static  java.util.ListfindByLocations(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.Organization[]findByLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.OrganizationfindByPrimaryKey(long organizationId)
    
public static  java.util.ListfindWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
    
public static  java.util.ListfindWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
    
public static  java.util.ListgetGroups(long pk)
    
public static  java.util.ListgetGroups(long pk, int begin, int end)
    
public static  java.util.ListgetGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  intgetGroupsSize(long pk)
    
public static  OrganizationPersistencegetPersistence()
    
public static  java.util.ListgetUsers(long pk)
    
public static  java.util.ListgetUsers(long pk, int begin, int end)
    
public static  java.util.ListgetUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  intgetUsersSize(long pk)
    
public static  com.liferay.portal.model.Organizationremove(long organizationId)
    
public static  com.liferay.portal.model.Organizationremove(com.liferay.portal.model.Organization organization)
    
public static  voidremoveAll()
    
public static  voidremoveByC_N(long companyId, java.lang.String name)
    
public static  voidremoveByC_P(long companyId, long parentOrganizationId)
    
public static  voidremoveByCompanyId(long companyId)
    
public static  voidremoveByLocations(long companyId)
    
public static  voidremoveGroup(long pk, long groupPK)
    
public static  voidremoveGroup(long pk, com.liferay.portal.model.Group group)
    
public static  voidremoveGroups(long pk, long[] groupPKs)
    
public static  voidremoveGroups(long pk, java.util.List groups)
    
public static  voidremoveUser(long pk, long userPK)
    
public static  voidremoveUser(long pk, com.liferay.portal.model.User user)
    
public static  voidremoveUsers(long pk, long[] userPKs)
    
public static  voidremoveUsers(long pk, java.util.List users)
    
public static  voidsetGroups(long pk, long[] groupPKs)
    
public static  voidsetGroups(long pk, java.util.List groups)
    
public  voidsetPersistence(OrganizationPersistence persistence)
    
public static  voidsetUsers(long pk, long[] userPKs)
    
public static  voidsetUsers(long pk, java.util.List users)
    
public static  com.liferay.portal.model.Organizationupdate(com.liferay.portal.model.Organization organization)
    
public static  com.liferay.portal.model.Organizationupdate(com.liferay.portal.model.Organization organization, boolean merge)
    
public static  com.liferay.portal.model.OrganizationupdateImpl(com.liferay.portal.model.Organization organization, boolean merge)
    



Method Detail
addGroup
public static void addGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



addGroup
public static void addGroup(long pk, com.liferay.portal.model.Group group) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



addGroups
public static void addGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



addGroups
public static void addGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



addUser
public static void addUser(long pk, long userPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



addUser
public static void addUser(long pk, com.liferay.portal.model.User user) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



addUsers
public static void addUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



addUsers
public static void addUsers(long pk, java.util.List users) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



clearGroups
public static void clearGroups(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



clearUsers
public static void clearUsers(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



containsGroup
public static boolean containsGroup(long pk, long groupPK) throws com.liferay.portal.SystemException(Code)



containsGroups
public static boolean containsGroups(long pk) throws com.liferay.portal.SystemException(Code)



containsUser
public static boolean containsUser(long pk, long userPK) throws com.liferay.portal.SystemException(Code)



containsUsers
public static boolean containsUsers(long pk) throws com.liferay.portal.SystemException(Code)



countAll
public static int countAll() throws com.liferay.portal.SystemException(Code)



countByC_N
public static int countByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException(Code)



countByC_P
public static int countByC_P(long companyId, long parentOrganizationId) throws com.liferay.portal.SystemException(Code)



countByCompanyId
public static int countByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



countByLocations
public static int countByLocations(long companyId) throws com.liferay.portal.SystemException(Code)



create
public static com.liferay.portal.model.Organization create(long organizationId)(Code)



fetchByC_N
public static com.liferay.portal.model.Organization fetchByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException(Code)



fetchByPrimaryKey
public static com.liferay.portal.model.Organization fetchByPrimaryKey(long organizationId) throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll() throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll(int begin, int end) throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByC_N
public static com.liferay.portal.model.Organization findByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentOrganizationId) throws com.liferay.portal.SystemException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentOrganizationId, int begin, int end) throws com.liferay.portal.SystemException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentOrganizationId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByC_P_First
public static com.liferay.portal.model.Organization findByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByC_P_Last
public static com.liferay.portal.model.Organization findByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByC_P_PrevAndNext
public static com.liferay.portal.model.Organization[] findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId, int begin, int end) throws com.liferay.portal.SystemException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByCompanyId_First
public static com.liferay.portal.model.Organization findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByCompanyId_Last
public static com.liferay.portal.model.Organization findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByCompanyId_PrevAndNext
public static com.liferay.portal.model.Organization[] findByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByLocations
public static java.util.List findByLocations(long companyId) throws com.liferay.portal.SystemException(Code)



findByLocations
public static java.util.List findByLocations(long companyId, int begin, int end) throws com.liferay.portal.SystemException(Code)



findByLocations
public static java.util.List findByLocations(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByLocations_First
public static com.liferay.portal.model.Organization findByLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByLocations_Last
public static com.liferay.portal.model.Organization findByLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByLocations_PrevAndNext
public static com.liferay.portal.model.Organization[] findByLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findByPrimaryKey
public static com.liferay.portal.model.Organization findByPrimaryKey(long organizationId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException(Code)



findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException(Code)



getGroups
public static java.util.List getGroups(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getGroups
public static java.util.List getGroups(long pk, int begin, int end) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getGroups
public static java.util.List getGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getGroupsSize
public static int getGroupsSize(long pk) throws com.liferay.portal.SystemException(Code)



getPersistence
public static OrganizationPersistence getPersistence()(Code)



getUsers
public static java.util.List getUsers(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getUsers
public static java.util.List getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getUsers
public static java.util.List getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



getUsersSize
public static int getUsersSize(long pk) throws com.liferay.portal.SystemException(Code)



remove
public static com.liferay.portal.model.Organization remove(long organizationId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



remove
public static com.liferay.portal.model.Organization remove(com.liferay.portal.model.Organization organization) throws com.liferay.portal.SystemException(Code)



removeAll
public static void removeAll() throws com.liferay.portal.SystemException(Code)



removeByC_N
public static void removeByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException(Code)



removeByC_P
public static void removeByC_P(long companyId, long parentOrganizationId) throws com.liferay.portal.SystemException(Code)



removeByCompanyId
public static void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



removeByLocations
public static void removeByLocations(long companyId) throws com.liferay.portal.SystemException(Code)



removeGroup
public static void removeGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



removeGroup
public static void removeGroup(long pk, com.liferay.portal.model.Group group) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



removeGroups
public static void removeGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



removeGroups
public static void removeGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



removeUser
public static void removeUser(long pk, long userPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



removeUser
public static void removeUser(long pk, com.liferay.portal.model.User user) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



removeUsers
public static void removeUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



removeUsers
public static void removeUsers(long pk, java.util.List users) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



setGroups
public static void setGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



setGroups
public static void setGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchOrganizationException(Code)



setPersistence
public void setPersistence(OrganizationPersistence persistence)(Code)



setUsers
public static void setUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



setUsers
public static void setUsers(long pk, java.util.List users) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchOrganizationException, com.liferay.portal.NoSuchUserException(Code)



update
public static com.liferay.portal.model.Organization update(com.liferay.portal.model.Organization organization) throws com.liferay.portal.SystemException(Code)



update
public static com.liferay.portal.model.Organization update(com.liferay.portal.model.Organization organization, boolean merge) throws com.liferay.portal.SystemException(Code)



updateImpl
public static com.liferay.portal.model.Organization updateImpl(com.liferay.portal.model.Organization organization, boolean merge) throws com.liferay.portal.SystemException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.