|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrganizationService
The Interface OrganizationService.
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. |
Method Detail |
---|
void save(Organization organization)
organization
- the organizationvoid cloneOrganizationVersion(OrganizationVersion sourceVersion, OrganizationVersion targetVersion)
sourceVersion
- the source versiontargetVersion
- the target versionvoid removeOrganization(Organization organization, Organization movePendingToOrganization, it.neverworks.security.User movePendingTasksToUser)
organization
- the organizationmovePendingToOrganization
- the move pending to organizationmovePendingTasksToUser
- the move pending tasks to userOrganizationUser addOrganizationUser(Organization organization, it.neverworks.security.User user)
organization
- the organizationuser
- the user
void removeOrganizationUser(OrganizationUser organizationUser, OrganizationUser movePendingToOrganizationUser)
organizationUser
- the organization usermovePendingToOrganizationUser
- the move pending to organization userit.neverworks.security.User findUserById(java.lang.String id)
id
- the id
it.neverworks.security.User getUserByName(java.lang.String name)
name
- the name
OrganizationVersion getActiveOrganizationVersion()
Organization resolveOrganizationId(java.lang.String organizationId)
organizationId
- the organization id
Organization getOrganizationBy(java.lang.String fieldName, java.lang.Object byValue)
fieldName
- the field namebyValue
- the by value
java.util.List<Organization> getMyActiveOrganizations()
java.util.List<Organization> getUserActiveOrganizations(it.neverworks.security.User user)
user
- the user
Organization getUserFirstOrganization(it.neverworks.security.User user)
user
- the user
java.util.List<Organization> getActiveOrganizations()
java.util.List<Organization> getAllOrganizations()
java.util.List<Team> getActiveTeams()
it.neverworks.security.User resolveAssigneeAssignment(ItemInstance instance, java.lang.String taskDefinitionKey)
instance
- the instancetaskDefinitionKey
- the task definition key
it.neverworks.security.User resolveAssigneeAssignment(ItemInstance instance, java.lang.String taskDefinitionKey, Organization organization)
instance
- the instancetaskDefinitionKey
- the task definition keyorganization
- the organization
it.neverworks.security.User resolveAssigneeAssignmentInLane(ItemInstance instance, java.lang.String taskDefinitionKey, java.lang.String laneId)
instance
- the instancetaskDefinitionKey
- the task definition keylaneId
- the lane id
Organization resolveOwnerAssignment(ItemInstance instance, java.lang.String taskDefinitionKey)
instance
- the instancetaskDefinitionKey
- the task definition key
Organization resolveOwnerAssignmentFirst(ItemInstance instance, java.lang.String taskDefinitionKey)
instance
- the instancetaskDefinitionKey
- the task definition key
Organization resolveOwnerAssignmentInLane(ItemInstance instance, java.lang.String taskDefinitionKey, java.lang.String laneId)
instance
- the instancetaskDefinitionKey
- the task definition keylaneId
- the lane id
OrganizationUser resolveOrganizationUserId(java.lang.String organizationUserId)
organizationUserId
- the organization user id
OrganizationUser getOrganizationUser(Organization organization, it.neverworks.security.User user)
organization
- the organizationuser
- the user
java.util.List<ConfidentialityLevel> getConfidentialityLevels()
boolean canChangeInstanceConfidentialityLevel(ItemInstance instance)
instance
- the instance
boolean canChangeFileConfidentialityLevel(CloudFile file)
file
- the file
java.util.List<OrganizationUser> resolveUsersWithFunction(Organization organization, java.lang.String function)
organization
- the organizationfunction
- the function
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)
source
- 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 |