Java Doc for OrganizationPersistenceImpl.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) 


com.liferay.portal.service.persistence.BasePersistence
   com.liferay.portal.service.persistence.OrganizationPersistenceImpl

OrganizationPersistenceImpl
public class OrganizationPersistenceImpl extends BasePersistence implements OrganizationPersistence(Code)
View Source
author:
   Brian Wing Shun Chan

Inner Class :protected class ContainsGroup extends MappingSqlQuery
Inner Class :protected class AddGroup extends SqlUpdate
Inner Class :protected class ClearGroups extends SqlUpdate
Inner Class :protected class RemoveGroup extends SqlUpdate
Inner Class :protected class ContainsUser extends MappingSqlQuery
Inner Class :protected class AddUser extends SqlUpdate
Inner Class :protected class ClearUsers extends SqlUpdate
Inner Class :protected class RemoveUser extends SqlUpdate

Field Summary
protected  AddGroupaddGroup
    
protected  AddUseraddUser
    
protected  ClearGroupsclearGroups
    
protected  ClearUsersclearUsers
    
protected  ContainsGroupcontainsGroup
    
protected  ContainsUsercontainsUser
    
protected  RemoveGroupremoveGroup
    
protected  RemoveUserremoveUser
    


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

Field Detail
addGroup
protected AddGroup addGroup(Code)



addUser
protected AddUser addUser(Code)



clearGroups
protected ClearGroups clearGroups(Code)



clearUsers
protected ClearUsers clearUsers(Code)



containsGroup
protected ContainsGroup containsGroup(Code)



containsUser
protected ContainsUser containsUser(Code)



removeGroup
protected RemoveGroup removeGroup(Code)



removeUser
protected RemoveUser removeUser(Code)





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



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



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



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



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



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



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



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



clearGroups
public void clearGroups(long pk) throws NoSuchOrganizationException, SystemException(Code)



clearUsers
public void clearUsers(long pk) throws NoSuchOrganizationException, SystemException(Code)



containsGroup
public boolean containsGroup(long pk, long groupPK) throws SystemException(Code)



containsGroups
public boolean containsGroups(long pk) throws SystemException(Code)



containsUser
public boolean containsUser(long pk, long userPK) throws SystemException(Code)



containsUsers
public boolean containsUsers(long pk) throws SystemException(Code)



countAll
public int countAll() throws SystemException(Code)



countByC_N
public int countByC_N(long companyId, String name) throws SystemException(Code)



countByC_P
public int countByC_P(long companyId, long parentOrganizationId) throws SystemException(Code)



countByCompanyId
public int countByCompanyId(long companyId) throws SystemException(Code)



countByLocations
public int countByLocations(long companyId) throws SystemException(Code)



create
public Organization create(long organizationId)(Code)



fetchByC_N
public Organization fetchByC_N(long companyId, String name) throws SystemException(Code)



fetchByPrimaryKey
public Organization fetchByPrimaryKey(long organizationId) throws SystemException(Code)



findAll
public List findAll() throws SystemException(Code)



findAll
public List findAll(int begin, int end) throws SystemException(Code)



findAll
public List findAll(int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByC_N
public Organization findByC_N(long companyId, String name) throws NoSuchOrganizationException, SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentOrganizationId) throws SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentOrganizationId, int begin, int end) throws SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentOrganizationId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByC_P_First
public Organization findByC_P_First(long companyId, long parentOrganizationId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByC_P_Last
public Organization findByC_P_Last(long companyId, long parentOrganizationId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByC_P_PrevAndNext
public Organization[] findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId) throws SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId, int begin, int end) throws SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByCompanyId_First
public Organization findByCompanyId_First(long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByCompanyId_Last
public Organization findByCompanyId_Last(long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByCompanyId_PrevAndNext
public Organization[] findByCompanyId_PrevAndNext(long organizationId, long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByLocations
public List findByLocations(long companyId) throws SystemException(Code)



findByLocations
public List findByLocations(long companyId, int begin, int end) throws SystemException(Code)



findByLocations
public List findByLocations(long companyId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByLocations_First
public Organization findByLocations_First(long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByLocations_Last
public Organization findByLocations_Last(long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByLocations_PrevAndNext
public Organization[] findByLocations_PrevAndNext(long organizationId, long companyId, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



findByPrimaryKey
public Organization findByPrimaryKey(long organizationId) throws NoSuchOrganizationException, SystemException(Code)



findWithDynamicQuery
public List findWithDynamicQuery(DynamicQueryInitializer queryInitializer) throws SystemException(Code)



findWithDynamicQuery
public List findWithDynamicQuery(DynamicQueryInitializer queryInitializer, int begin, int end) throws SystemException(Code)



getGroups
public List getGroups(long pk) throws NoSuchOrganizationException, SystemException(Code)



getGroups
public List getGroups(long pk, int begin, int end) throws NoSuchOrganizationException, SystemException(Code)



getGroups
public List getGroups(long pk, int begin, int end, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



getGroupsSize
public int getGroupsSize(long pk) throws SystemException(Code)



getUsers
public List getUsers(long pk) throws NoSuchOrganizationException, SystemException(Code)



getUsers
public List getUsers(long pk, int begin, int end) throws NoSuchOrganizationException, SystemException(Code)



getUsers
public List getUsers(long pk, int begin, int end, OrderByComparator obc) throws NoSuchOrganizationException, SystemException(Code)



getUsersSize
public int getUsersSize(long pk) throws SystemException(Code)



initDao
protected void initDao()(Code)



remove
public Organization remove(long organizationId) throws NoSuchOrganizationException, SystemException(Code)



remove
public Organization remove(Organization organization) throws SystemException(Code)



removeAll
public void removeAll() throws SystemException(Code)



removeByC_N
public void removeByC_N(long companyId, String name) throws NoSuchOrganizationException, SystemException(Code)



removeByC_P
public void removeByC_P(long companyId, long parentOrganizationId) throws SystemException(Code)



removeByCompanyId
public void removeByCompanyId(long companyId) throws SystemException(Code)



removeByLocations
public void removeByLocations(long companyId) throws SystemException(Code)



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



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



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



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



removeImpl
protected Organization removeImpl(Organization organization) throws SystemException(Code)



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



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



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



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



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



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



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



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



update
public Organization update(Organization organization) throws SystemException(Code)



update
public Organization update(Organization organization, boolean merge) throws SystemException(Code)



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



Methods inherited from com.liferay.portal.service.persistence.BasePersistence
public void closeSession(Session session)(Code)(Java Doc)
protected Dialect getDialect()(Code)(Java Doc)
public SessionFactory getSessionFactory()(Code)(Java Doc)
protected Session openSession() throws HibernateException(Code)(Java Doc)
protected Session openSession(SessionFactory sessionFactory) throws HibernateException(Code)(Java Doc)
public void setSessionFactory(SessionFactory sessionFactory)(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.