JBoss

JMX MBean View

Back to Agent View Refresh MBean View

MBean description:

The Study Permission Service grants/revokes study access permissions to particular roles on receive of HL7 messages, MPPS N-CREATE messages, Series Stored events or by direct user interaction.

List of MBean attributes:

Name Type Access Value Description
UpdateOnHl7Received boolean RW True False Activates grant/revoke of study permissions on receive of HL7 messages according specified Hl7ReceivedStylesheet.
Hl7ReceivedStylesheet java.lang.String RW Stylesheet defining study permissions to grant/revoke on receive of HL7 messages. A relative path name is resolved relative to archive-install-directory/server/default/.
UpdateOnMppsCreate boolean RW True False Activates grant/revoke of study permissions on receive of MPPS N-CREATE requests according specified MppsCreateStylesheet.
MppsCreateStylesheet java.lang.String RW Stylesheet defining study permissions to grant/revoke on receive of MPPS N-CREATE requests. A relative path name is resolved relative to archive-install-directory/server/default/.
UpdateOnSeriesStored boolean RW True False Activates grant/revoke of study permissions on Series Stored events according specified SeriesStoredStylesheet.
SeriesStoredStylesheet java.lang.String RW Stylesheet defining study permissions to grant/revoke on Series Stored events. A relative path name is resolved relative to archive-install-directory/server/default/.
UpdateOnNewStudy boolean RW True False Activates grant/revoke of study permissions on NewStudy events according specified SeriesStoredStylesheet.
HL7ServerName javax.management.ObjectName RW View MBean Used internally - do NOT modify.
StoreScpServiceName javax.management.ObjectName RW View MBean Used internally. Do not modify.
MppsScpServiceName javax.management.ObjectName RW View MBean Used internally. Do not modify.
ContentEditServiceName javax.management.ObjectName RW View MBean Used internally. Do not modify.
TemplatesServiceName javax.management.ObjectName RW View MBean Used internally. Do NOT modify.
Name java.lang.String R StudyPermissionService The class name of the MBean
State int R 3 The status of the MBean
StateString java.lang.String R Started The status of the MBean in text form

List of MBean operations:


void create()

Standard MBean lifecycle method


void start()

The start lifecycle operation


void stop()

The stop lifecycle operation


void destroy()

The destroy lifecycle operation


void jbossInternalLifecycle()

The detyped lifecycle operation (for internal use only)

Param ParamType ParamValue ParamDescription
method java.lang.String The lifecycle operation

boolean hasPermission()

Returns true if role has permission for action on Study with given Study Instance UID, otherwise returns false.

Param ParamType ParamValue ParamDescription
suid java.lang.String Study Instance UID
action java.lang.String Action
role java.lang.String Role

java.util.Collection findByPatientPk()

Returns Study Permissions currently granted on all existing Studies of Patient with given primary key.

Param ParamType ParamValue ParamDescription
pk long Patient Primary Key

java.util.Collection findByStudyIuid()

Returns Study Permissions currently granted on Study with given Study Instance UID.

Param ParamType ParamValue ParamDescription
suid java.lang.String Study Instance UID

java.util.Collection findByStudyIuidAndAction()

Returns Study Permissions for action currently granted on Study with given Study Instance UID.

Param ParamType ParamValue ParamDescription
suid java.lang.String Study Instance UID
action java.lang.String Action

int grant()

Grant permission for actions on Study with given Study Instance UID to role. Returns number of new granted Study Permissions.

Param ParamType ParamValue ParamDescription
suid java.lang.String Study Instance UID
actions java.lang.String Comma separated list of actions
role java.lang.String Role

int revoke()

Revoke permission for actions on Study with given Study Instance UID from role. Returns number of revoked Study Permissions..

Param ParamType ParamValue ParamDescription
suid java.lang.String Study Instance UID
actions java.lang.String Comma separated list of actions
role java.lang.String Role

boolean revoke()

Revoke given Study Permission. Returns true, if an existing Study Permission was revoked, or false, if there was no such Study Permission.

Param ParamType ParamValue ParamDescription
permission org.dcm4chex.archive.ejb.interfaces.StudyPermissionDTO Study Permission

java.util.Collection grantForPatient()

Grant permission for actions on all existing Studies of Patient with given primary key to role. Returns number of new granted Study Permissions.

Param ParamType ParamValue ParamDescription
pk long Patient Primary Key
actions java.lang.String Comma separated list of actions
role java.lang.String Role

java.util.Collection grantForPatient()

Grant permission for actions on all existing Studies of Patient with given Patient ID and Issuer of Patient ID to role. Returns number of new granted Study Permissions.

Param ParamType ParamValue ParamDescription
pid java.lang.String Patient ID
issuer java.lang.String Issuer of Patient ID
actions java.lang.String Comma separated list of actions
role java.lang.String Role

java.util.Collection revokeForPatient()

Revoke permission for actions on all existing Studies of Patient with given primary key to role. Returns number of revoked Study Permissions.

Param ParamType ParamValue ParamDescription
pk long Patient Primary Key
actions java.lang.String Comma separated list of actions
role java.lang.String Role

java.util.Collection revokeForPatient()

Revoke permission for actions on all existing Studies of Patient with given Patient ID and Issuer of Patient ID to role. Returns number of revoked Study Permissions.

Param ParamType ParamValue ParamDescription
pid java.lang.String Patient ID
issuer java.lang.String Issuer of Patient ID
actions [Ljava.lang.String; Actions
role java.lang.String Role

int countStudiesOfPatient()

Return total number of studies for given patient.

Param ParamType ParamValue ParamDescription
patPk java.lang.Long Patient Pk