|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartitionService
The Interface PartitionService.
| 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 license)
Delete license. |
void |
deleteLicenseService(LicenseService service)
Delete license service. |
void |
drop(Partition partition,
boolean debug)
Drop the partition and all data. |
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)
Warning!!! |
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 license,
LicenseService service)
Save license service. |
it.neverworks.security.User |
sudo(java.lang.Long partitionId)
Sudo. |
| Method Detail |
|---|
Partition getPartition()
void push(java.lang.Long partitionId)
partitionId - the partition idvoid push(Partition partition)
partition - the partitionPartition pop()
it.neverworks.security.User sudo(java.lang.Long partitionId)
throws java.lang.Exception
partitionId - the partition id
java.lang.Exception - the exception
Partition create(java.lang.String userId,
java.lang.String userPassword,
java.lang.String name,
java.lang.String code,
java.lang.String description)
userId - the user iduserPassword - the user passwordname - the namecode - the codedescription - the description
void drop(Partition partition,
boolean debug)
partition - the partitiondebug - the debug
void moveUserData(it.neverworks.security.User from,
it.neverworks.security.User to,
boolean debug)
from - the fromto - the todebug - the debugvoid repair()
void repair(Partition partition)
partition - the partitionvoid repairAllPartitions()
java.util.List<it.neverworks.security.User> getUsers(Partition... partitions)
partitions - the partitions
java.util.List<it.neverworks.security.User> getUsers(it.neverworks.security.User example,
Partition... partitions)
example - the examplepartitions - the partitions
java.util.List<it.neverworks.security.User> getUsers(java.lang.String order,
Partition... partitions)
order - the orderpartitions - the partitions
java.util.List<it.neverworks.security.User> getUsers(it.neverworks.security.User example,
java.lang.String order,
Partition... partitions)
example - the exampleorder - the orderpartitions - the partitions
java.util.List<it.neverworks.security.User> getUsersCurrentPartition()
java.util.List<Partition> getAllPartitions()
java.util.List<Partition> getApplicationPartitions()
java.util.List<License> getAllLicenses(Partition partition)
partition - the partition
void saveLicense(Server server,
License license)
server - the serverlicense - the licensevoid deleteLicense(License license)
license - the license
void saveLicenseService(License license,
LicenseService service)
license - the licenseservice - the servicevoid deleteLicenseService(LicenseService service)
service - the service
void broadcastFile(File file,
boolean createLinkInUserHome,
java.lang.String group,
java.lang.String title,
java.lang.String message)
file - the filecreateLinkInUserHome - the create link in user homegroup - the grouptitle - the titlemessage - the message
void broadcastMessage(java.lang.String group,
java.lang.String title,
java.lang.String message)
group - the grouptitle - the titlemessage - the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||