|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.sistematica.isharedoc.service.OrganizationServiceImpl
@Service(value="organizationService") public class OrganizationServiceImpl
| Field Summary | |
|---|---|
(package private) AddressBookService |
addressBookService
|
(package private) net.sf.ehcache.CacheManager |
cacheManager
|
(package private) it.neverworks.util.Configuration |
configuration
|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) it.neverworks.cache.ehcache.EhCache<java.util.Map<java.lang.String,InstanceSecurityServiceImpl.InstanceAclItem>> |
instanceAclCache
|
(package private) it.neverworks.cache.ehcache.EhCache<java.util.Map<java.lang.String,InstanceSecurityServiceImpl.InstanceAclItem>> |
instanceAttachmentAclCache
|
(package private) InstanceSecurityService |
instanceSecurityService
|
(package private) InstanceService |
instanceService
|
(package private) MessageboxService |
messageboxService
|
(package private) PartitionService |
partitionService
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
(package private) WorkTaskManager |
taskManager
|
(package private) it.neverworks.application.service.UserInfo |
userInfo
|
| Constructor Summary | |
|---|---|
OrganizationServiceImpl()
|
|
| Method Summary | |
|---|---|
OrganizationUser |
addOrganizationUser(Organization organization,
it.neverworks.security.User user)
Adds the organization user. |
boolean |
canChangeFileConfidentialityLevel(CloudFile file)
Can change file confidentiality level. |
boolean |
canChangeInstanceConfidentialityLevel(ItemInstance instance)
Can change instance confidentiality level. |
void |
cloneOrganizationVersion(OrganizationVersion sourceVersion,
OrganizationVersion targetVersion)
Clone organization version. |
void |
copyUserProfile(it.neverworks.security.User source,
it.neverworks.security.User target,
Partition targetPartition,
boolean cleanTarget,
boolean copyProfileMbox,
boolean copyProfileOrg,
boolean copyProfileTeam,
boolean copyProfileWf,
boolean copyProfileSubscr,
boolean copyProfileUsr)
Copy user profile. |
it.neverworks.security.User |
findUserById(java.lang.String id)
Find user by id. |
java.util.List<Organization> |
getActiveOrganizations()
Gets the active organizations. |
OrganizationVersion |
getActiveOrganizationVersion()
Gets the active organization version. |
java.util.List<Team> |
getActiveTeams()
Gets the active teams. |
java.util.List<Organization> |
getAllOrganizations()
Gets the all organizations. |
java.util.List<ConfidentialityLevel> |
getConfidentialityLevels()
Gets the confidentiality levels. |
java.util.List<Organization> |
getMyActiveOrganizations()
Gets the my active organizations. |
Organization |
getOrganizationBy(java.lang.String fieldName,
java.lang.Object byValue)
Gets the organization by. |
OrganizationUser |
getOrganizationUser(Organization organization,
it.neverworks.security.User user)
Gets the organization user. |
java.util.List<Organization> |
getUserActiveOrganizations(it.neverworks.security.User user)
Gets the user active organizations. |
it.neverworks.security.User |
getUserByName(java.lang.String name)
Gets the user by name. |
Organization |
getUserFirstOrganization(it.neverworks.security.User user)
Gets the user first organization. |
void |
removeOrganization(Organization organization,
Organization movePendingToOrganization,
it.neverworks.security.User movePendingTasksToUser)
Removes the organization. |
void |
removeOrganizationUser(OrganizationUser organizationUser,
OrganizationUser movePendingToOrganizationUser)
Removes the organization user. |
it.neverworks.security.User |
resolveAssigneeAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey)
Resolve assignee assignment. |
it.neverworks.security.User |
resolveAssigneeAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey,
Organization organization)
Resolve assignee assignment. |
it.neverworks.security.User |
resolveAssigneeAssignmentInLane(ItemInstance instance,
java.lang.String taskDefinitionKey,
java.lang.String laneId)
Resolve assignee assignment in lane. |
Organization |
resolveOrganizationId(java.lang.String organizationId)
Resolve organization id. |
OrganizationUser |
resolveOrganizationUserId(java.lang.String organizationUserId)
Resolve organization user id. |
Organization |
resolveOwnerAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey)
Resolve owner assignment. |
Organization |
resolveOwnerAssignmentFirst(ItemInstance instance,
java.lang.String taskDefinitionKey)
Resolve owner assignment first. |
Organization |
resolveOwnerAssignmentInLane(ItemInstance instance,
java.lang.String taskDefinitionKey,
java.lang.String laneId)
Resolve owner assignment in lane. |
java.util.List<OrganizationUser> |
resolveUsersWithFunction(Organization organization,
java.lang.String function)
Resolve users with function. |
void |
save(Organization organization)
Save. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
it.neverworks.application.service.UserInfo userInfo
it.neverworks.data.EntityManager entities
it.neverworks.util.Configuration configuration
AddressBookService addressBookService
WorkTaskManager taskManager
InstanceService instanceService
PartitionService partitionService
InstanceSecurityService instanceSecurityService
MessageboxService messageboxService
net.sf.ehcache.CacheManager cacheManager
it.neverworks.cache.ehcache.EhCache<java.util.Map<java.lang.String,InstanceSecurityServiceImpl.InstanceAclItem>> instanceAclCache
it.neverworks.cache.ehcache.EhCache<java.util.Map<java.lang.String,InstanceSecurityServiceImpl.InstanceAclItem>> instanceAttachmentAclCache
org.hibernate.SessionFactory sessionFactory
| Constructor Detail |
|---|
public OrganizationServiceImpl()
| Method Detail |
|---|
@Transactional public void save(Organization organization)
OrganizationService
save in interface OrganizationServiceorganization - the organization
@Transactional
public void cloneOrganizationVersion(OrganizationVersion sourceVersion,
OrganizationVersion targetVersion)
OrganizationService
cloneOrganizationVersion in interface OrganizationServicesourceVersion - the source versiontargetVersion - the target version
@Transactional
public void removeOrganization(Organization organization,
Organization movePendingToOrganization,
it.neverworks.security.User movePendingTasksToUser)
OrganizationService
removeOrganization in interface OrganizationServiceorganization - the organizationmovePendingToOrganization - the move pending to organizationmovePendingTasksToUser - the move pending tasks to user
@Transactional
public OrganizationUser addOrganizationUser(Organization organization,
it.neverworks.security.User user)
OrganizationService
addOrganizationUser in interface OrganizationServiceorganization - the organizationuser - the user
@Transactional
public void removeOrganizationUser(OrganizationUser organizationUser,
OrganizationUser movePendingToOrganizationUser)
OrganizationService
removeOrganizationUser in interface OrganizationServiceorganizationUser - the organization usermovePendingToOrganizationUser - the move pending to organization user@Transactional public it.neverworks.security.User findUserById(java.lang.String id)
OrganizationService
findUserById in interface OrganizationServiceid - the id
@Transactional public Organization resolveOrganizationId(java.lang.String organizationId)
OrganizationService
resolveOrganizationId in interface OrganizationServiceorganizationId - the organization id
@Transactional public OrganizationUser resolveOrganizationUserId(java.lang.String organizationUserId)
OrganizationService
resolveOrganizationUserId in interface OrganizationServiceorganizationUserId - the organization user id
@Transactional
public it.neverworks.security.User resolveAssigneeAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey)
OrganizationService
resolveAssigneeAssignment in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition key
@Transactional
public it.neverworks.security.User resolveAssigneeAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey,
Organization organization)
OrganizationService
resolveAssigneeAssignment in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition keyorganization - the organization
@Transactional
public it.neverworks.security.User resolveAssigneeAssignmentInLane(ItemInstance instance,
java.lang.String taskDefinitionKey,
java.lang.String laneId)
OrganizationService
resolveAssigneeAssignmentInLane in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition keylaneId - the lane id
@Transactional
public Organization resolveOwnerAssignment(ItemInstance instance,
java.lang.String taskDefinitionKey)
OrganizationService
resolveOwnerAssignment in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition key
@Transactional
public Organization resolveOwnerAssignmentFirst(ItemInstance instance,
java.lang.String taskDefinitionKey)
OrganizationService
resolveOwnerAssignmentFirst in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition key
@Transactional
public Organization resolveOwnerAssignmentInLane(ItemInstance instance,
java.lang.String taskDefinitionKey,
java.lang.String laneId)
OrganizationService
resolveOwnerAssignmentInLane in interface OrganizationServiceinstance - the instancetaskDefinitionKey - the task definition keylaneId - the lane id
public OrganizationVersion getActiveOrganizationVersion()
OrganizationService
getActiveOrganizationVersion in interface OrganizationService@Transactional public it.neverworks.security.User getUserByName(java.lang.String name)
OrganizationService
getUserByName in interface OrganizationServicename - the name
@Transactional
public OrganizationUser getOrganizationUser(Organization organization,
it.neverworks.security.User user)
OrganizationService
getOrganizationUser in interface OrganizationServiceorganization - the organizationuser - the user
@Transactional
public Organization getOrganizationBy(java.lang.String fieldName,
java.lang.Object byValue)
OrganizationService
getOrganizationBy in interface OrganizationServicefieldName - the field namebyValue - the by value
@Transactional public java.util.List<ConfidentialityLevel> getConfidentialityLevels()
OrganizationService
getConfidentialityLevels in interface OrganizationService@Transactional public boolean canChangeInstanceConfidentialityLevel(ItemInstance instance)
OrganizationService
canChangeInstanceConfidentialityLevel in interface OrganizationServiceinstance - the instance
@Transactional public boolean canChangeFileConfidentialityLevel(CloudFile file)
OrganizationService
canChangeFileConfidentialityLevel in interface OrganizationServicefile - the file
@Transactional public java.util.List<Organization> getMyActiveOrganizations()
OrganizationService
getMyActiveOrganizations in interface OrganizationService@Transactional public java.util.List<Organization> getUserActiveOrganizations(it.neverworks.security.User user)
OrganizationService
getUserActiveOrganizations in interface OrganizationServiceuser - the user
@Transactional public Organization getUserFirstOrganization(it.neverworks.security.User user)
OrganizationService
getUserFirstOrganization in interface OrganizationServiceuser - the user
@Transactional public java.util.List<Organization> getActiveOrganizations()
OrganizationService
getActiveOrganizations in interface OrganizationService@Transactional public java.util.List<Organization> getAllOrganizations()
OrganizationService
getAllOrganizations in interface OrganizationService@Transactional public java.util.List<Team> getActiveTeams()
OrganizationService
getActiveTeams in interface OrganizationService
public java.util.List<OrganizationUser> resolveUsersWithFunction(Organization organization,
java.lang.String function)
OrganizationService
resolveUsersWithFunction in interface OrganizationServiceorganization - the organizationfunction - the function
@Transactional
public void copyUserProfile(it.neverworks.security.User source,
it.neverworks.security.User target,
Partition targetPartition,
boolean cleanTarget,
boolean copyProfileMbox,
boolean copyProfileOrg,
boolean copyProfileTeam,
boolean copyProfileWf,
boolean copyProfileSubscr,
boolean copyProfileUsr)
OrganizationService
copyUserProfile in interface OrganizationServicesource - the sourcetarget - the targettargetPartition - the target partitioncleanTarget - the clean targetcopyProfileMbox - the copy profile mboxcopyProfileOrg - the copy profile orgcopyProfileTeam - the copy profile teamcopyProfileWf - the copy profile wfcopyProfileSubscr - the copy profile subscrcopyProfileUsr - the copy profile usr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||