|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.sistematica.isharedoc.service.PartitionServiceImpl
@Service(value="partitionService") public class PartitionServiceImpl
| Field Summary | |
|---|---|
(package private) it.neverworks.util.Configuration |
configuration
|
(package private) DocumentManager |
documentManager
|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) IsharedocSystemService |
isharedocSystemService
|
(package private) MessageboxService |
messageboxService
|
(package private) NotificationService |
notificationService
|
protected static java.lang.ThreadLocal<java.util.Stack<Partition>> |
partitionStack
|
(package private) WorkProcessManager |
processManager
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
(package private) it.neverworks.jasper.ConfigurableFileResolver |
setupTemplateFileResolver
|
(package private) StoryboardService |
storyboardService
|
(package private) WorkTaskManager |
taskManager
|
(package private) it.neverworks.application.service.UserInfo |
userInfo
|
| Constructor Summary | |
|---|---|
PartitionServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
broadcastFile(File file,
boolean createLinkInUserHome,
java.lang.String group,
java.lang.String title,
java.lang.String message)
Broadcast file. |
void |
broadcastMessage(java.lang.String group,
java.lang.String title,
java.lang.String message)
Broadcast message. |
Partition |
create(java.lang.String userId,
java.lang.String userPassword,
java.lang.String name,
java.lang.String code,
java.lang.String description)
Creates the partition. |
void |
deleteLicense(License contract)
Delete license. |
void |
deleteLicenseService(LicenseService service)
Delete license service. |
void |
drop(Partition partition,
boolean debug)
Attenzione!!! |
java.util.List<License> |
getAllLicenses(Partition partition)
Gets the all licenses. |
java.util.List<Partition> |
getAllPartitions()
Gets the all partitions. |
java.util.List<Partition> |
getApplicationPartitions()
Gets the application partitions. |
Partition |
getPartition()
Gets the partition. |
java.util.List<it.neverworks.security.User> |
getUsers(Partition... partitions)
Gets the users. |
java.util.List<it.neverworks.security.User> |
getUsers(java.lang.String order,
Partition... partitions)
Gets the users. |
java.util.List<it.neverworks.security.User> |
getUsers(it.neverworks.security.User example,
Partition... partitions)
Gets the users. |
java.util.List<it.neverworks.security.User> |
getUsers(it.neverworks.security.User example,
java.lang.String order,
Partition... partitions)
Gets the users. |
java.util.List<it.neverworks.security.User> |
getUsersCurrentPartition()
Gets the users current partition. |
void |
moveUserData(it.neverworks.security.User from,
it.neverworks.security.User to,
boolean debug)
Attenzione!!! |
Partition |
pop()
Pop. |
void |
push(java.lang.Long partitionId)
Push. |
void |
push(Partition partition)
Push. |
void |
repair()
Repair the partition. |
void |
repair(Partition partition)
Repair. |
void |
repairAllPartitions()
Repair all partitions. |
void |
saveLicense(Server server,
License license)
Save license. |
void |
saveLicenseService(License contract,
LicenseService service)
Save license service. |
it.neverworks.security.User |
sudo(java.lang.Long partitionId)
Sudo. |
| 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
DocumentManager documentManager
MessageboxService messageboxService
StoryboardService storyboardService
WorkProcessManager processManager
WorkTaskManager taskManager
org.hibernate.SessionFactory sessionFactory
it.neverworks.util.Configuration configuration
it.neverworks.jasper.ConfigurableFileResolver setupTemplateFileResolver
IsharedocSystemService isharedocSystemService
NotificationService notificationService
protected static java.lang.ThreadLocal<java.util.Stack<Partition>> partitionStack
| Constructor Detail |
|---|
public PartitionServiceImpl()
| Method Detail |
|---|
public Partition getPartition()
PartitionService
getPartition in interface PartitionService@Transactional public void push(java.lang.Long partitionId)
PartitionService
push in interface PartitionServicepartitionId - the partition idpublic void push(Partition partition)
PartitionService
push in interface PartitionServicepartition - the partitionpublic Partition pop()
PartitionService
pop in interface PartitionService
@Transactional
public it.neverworks.security.User sudo(java.lang.Long partitionId)
throws java.lang.Exception
PartitionService
sudo in interface PartitionServicepartitionId - the partition id
java.lang.Exception - the exception
@Transactional
public Partition create(java.lang.String userId,
java.lang.String userPassword,
java.lang.String name,
java.lang.String code,
java.lang.String description)
PartitionService
create in interface PartitionServiceuserId - the user iduserPassword - the user passwordname - the namecode - the codedescription - the description
@Transactional
public void drop(Partition partition,
boolean debug)
drop in interface PartitionServicepartition - the partitiondebug - the debug
@Transactional
public void moveUserData(it.neverworks.security.User from,
it.neverworks.security.User to,
boolean debug)
moveUserData in interface PartitionServicefrom - the fromto - the todebug - the debug@Transactional public void repair()
PartitionService
repair in interface PartitionService@Transactional public void repair(Partition partition)
PartitionService
repair in interface PartitionServicepartition - the partition@Transactional public void repairAllPartitions()
PartitionService
repairAllPartitions in interface PartitionServicepublic java.util.List<it.neverworks.security.User> getUsers(Partition... partitions)
PartitionService
getUsers in interface PartitionServicepartitions - the partitions
public java.util.List<it.neverworks.security.User> getUsers(it.neverworks.security.User example,
Partition... partitions)
PartitionService
getUsers in interface PartitionServiceexample - the examplepartitions - the partitions
public java.util.List<it.neverworks.security.User> getUsers(java.lang.String order,
Partition... partitions)
PartitionService
getUsers in interface PartitionServiceorder - the orderpartitions - the partitions
public java.util.List<it.neverworks.security.User> getUsers(it.neverworks.security.User example,
java.lang.String order,
Partition... partitions)
PartitionService
getUsers in interface PartitionServiceexample - the exampleorder - the orderpartitions - the partitions
public java.util.List<it.neverworks.security.User> getUsersCurrentPartition()
PartitionService
getUsersCurrentPartition in interface PartitionService
@Transactional(propagation=REQUIRES_NEW,
readOnly=true)
public java.util.List<Partition> getAllPartitions()
PartitionService
getAllPartitions in interface PartitionService
@Transactional(propagation=REQUIRES_NEW,
readOnly=true)
public java.util.List<Partition> getApplicationPartitions()
PartitionService
getApplicationPartitions in interface PartitionService@Transactional public java.util.List<License> getAllLicenses(Partition partition)
PartitionService
getAllLicenses in interface PartitionServicepartition - the partition
@Transactional
public void saveLicense(Server server,
License license)
PartitionService
saveLicense in interface PartitionServiceserver - the serverlicense - the license@Transactional public void deleteLicense(License contract)
PartitionService
deleteLicense in interface PartitionServicecontract - the license
@Transactional
public void saveLicenseService(License contract,
LicenseService service)
PartitionService
saveLicenseService in interface PartitionServicecontract - the licenseservice - the service@Transactional public void deleteLicenseService(LicenseService service)
PartitionService
deleteLicenseService in interface PartitionServiceservice - the service
@Transactional
public void broadcastFile(File file,
boolean createLinkInUserHome,
java.lang.String group,
java.lang.String title,
java.lang.String message)
PartitionService
broadcastFile in interface PartitionServicefile - the filecreateLinkInUserHome - the create link in user homegroup - the grouptitle - the titlemessage - the message
@Transactional
public void broadcastMessage(java.lang.String group,
java.lang.String title,
java.lang.String message)
PartitionService
broadcastMessage in interface PartitionServicegroup - the grouptitle - the titlemessage - the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||