com.liferay.portal.service.persistence
Interface OrganizationPersistence
- public interface OrganizationPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addGroup(long pk,
Group group)
|
void |
addGroup(long pk,
long groupPK)
|
void |
addGroups(long pk,
java.util.List groups)
|
void |
addGroups(long pk,
long[] groupPKs)
|
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
User user)
|
void |
addUsers(long pk,
java.util.List users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
clearGroups(long pk)
|
void |
clearUsers(long pk)
|
boolean |
containsGroup(long pk,
long groupPK)
|
boolean |
containsGroups(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByC_N(long companyId,
java.lang.String name)
|
int |
countByC_P(long companyId,
long parentOrganizationId)
|
int |
countByCompanyId(long companyId)
|
int |
countByLocations(long companyId)
|
Organization |
create(long organizationId)
|
Organization |
fetchByC_N(long companyId,
java.lang.String name)
|
Organization |
fetchByPrimaryKey(long organizationId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByC_N(long companyId,
java.lang.String name)
|
Organization |
findByC_P_First(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByC_P_Last(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByC_P_PrevAndNext(long organizationId,
long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByC_P(long companyId,
long parentOrganizationId)
|
java.util.List |
findByC_P(long companyId,
long parentOrganizationId,
int begin,
int end)
|
java.util.List |
findByC_P(long companyId,
long parentOrganizationId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByCompanyId_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByLocations_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByLocations_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByLocations_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByLocations(long companyId)
|
java.util.List |
findByLocations(long companyId,
int begin,
int end)
|
java.util.List |
findByLocations(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByPrimaryKey(long organizationId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getGroups(long pk)
|
java.util.List |
getGroups(long pk,
int begin,
int end)
|
java.util.List |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupsSize(long pk)
|
java.util.List |
getUsers(long pk)
|
java.util.List |
getUsers(long pk,
int begin,
int end)
|
java.util.List |
getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
Organization |
remove(long organizationId)
|
Organization |
remove(Organization organization)
|
void |
removeAll()
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
void |
removeByC_P(long companyId,
long parentOrganizationId)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByLocations(long companyId)
|
void |
removeGroup(long pk,
Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
java.util.List groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
void |
removeUser(long pk,
long userPK)
|
void |
removeUser(long pk,
User user)
|
void |
removeUsers(long pk,
java.util.List users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setGroups(long pk,
java.util.List groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setUsers(long pk,
java.util.List users)
|
void |
setUsers(long pk,
long[] userPKs)
|
Organization |
update(Organization organization)
|
Organization |
update(Organization organization,
boolean merge)
|
Organization |
updateImpl(Organization organization,
boolean merge)
|
create
public Organization create(long organizationId)
remove
public Organization remove(long organizationId)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
remove
public Organization remove(Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Organization update(Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Organization update(Organization organization,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public Organization updateImpl(Organization organization,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public Organization findByPrimaryKey(long organizationId)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
fetchByPrimaryKey
public Organization fetchByPrimaryKey(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public Organization findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByCompanyId_Last
public Organization findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByCompanyId_PrevAndNext
public Organization[] findByCompanyId_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByLocations
public java.util.List findByLocations(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLocations
public java.util.List findByLocations(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLocations
public java.util.List findByLocations(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLocations_First
public Organization findByLocations_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByLocations_Last
public Organization findByLocations_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByLocations_PrevAndNext
public Organization[] findByLocations_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByC_P
public java.util.List findByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
long parentOrganizationId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public 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
- Throws:
com.liferay.portal.SystemException
findByC_P_First
public Organization findByC_P_First(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByC_P_Last
public Organization findByC_P_Last(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByC_P_PrevAndNext
public Organization[] findByC_P_PrevAndNext(long organizationId,
long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
findByC_N
public Organization findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
fetchByC_N
public Organization fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByLocations
public void removeByLocations(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_P
public void removeByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_N
public void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLocations
public int countByLocations(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_P
public int countByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
public int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroups
public java.util.List getGroups(long pk)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getGroups
public java.util.List getGroups(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getGroups
public java.util.List getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getGroupsSize
public int getGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroup
public boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroups
public boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroup
public void addGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addGroup
public void addGroup(long pk,
Group group)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addGroups
public void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addGroups
public void addGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
clearGroups
public void clearGroups(long pk)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
removeGroup
public void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeGroup
public void removeGroup(long pk,
Group group)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeGroups
public void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeGroups
public void removeGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
setGroups
public void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
setGroups
public void setGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
getUsers
public java.util.List getUsers(long pk)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getUsers
public java.util.List getUsers(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getUsers
public java.util.List getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
getUsersSize
public int getUsersSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUser
public boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUsers
public boolean containsUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUser
public void addUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
addUser
public void addUser(long pk,
User user)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
addUsers
public void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
addUsers
public void addUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
clearUsers
public void clearUsers(long pk)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
removeUser
public void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
removeUser
public void removeUser(long pk,
User user)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
removeUsers
public void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
removeUsers
public void removeUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
setUsers
public void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException
setUsers
public void setUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchOrganizationException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchOrganizationException
NoSuchUserException