|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.logic.impl.StatelessControllerImpl
org.opensubsystems.inventory.logic.impl.IdentificationControllerImpl
public class IdentificationControllerImpl
Implementation of IdentificationController interface to manage identifications.
| Field Summary | |
|---|---|
protected org.opensubsystems.security.logic.AuthorizationController |
m_authorityControl
Authorization controller used to check access rights. |
protected IdentificationFactory |
m_identificationFactory
Factory to use to execute persistence operations. |
| Constructor Summary | |
|---|---|
IdentificationControllerImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
protected int |
checkAccess(int iId,
int iAction)
Check access for given data object based on categories on which rights can be enforces. |
void |
constructor()
|
org.opensubsystems.core.data.DataObject |
create(org.opensubsystems.core.data.DataObject data)
|
void |
delete(int iId)
|
org.opensubsystems.core.data.DataObject |
get(int iId)
|
org.opensubsystems.security.data.SecurityDefinition[] |
getSecurityDefinitions()
|
org.opensubsystems.core.data.ModifiableDataObject |
save(org.opensubsystems.core.data.ModifiableDataObject data)
|
| Methods inherited from class org.opensubsystems.core.logic.impl.StatelessControllerImpl |
|---|
ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IdentificationFactory m_identificationFactory
protected org.opensubsystems.security.logic.AuthorizationController m_authorityControl
| Constructor Detail |
|---|
public IdentificationControllerImpl()
| Method Detail |
|---|
public org.opensubsystems.core.data.DataObject get(int iId)
throws org.opensubsystems.core.error.OSSException
get in interface org.opensubsystems.core.logic.DataControllerorg.opensubsystems.core.error.OSSException
public org.opensubsystems.core.data.DataObject create(org.opensubsystems.core.data.DataObject data)
throws org.opensubsystems.core.error.OSSException
create in interface org.opensubsystems.core.logic.BasicDataControllerorg.opensubsystems.core.error.OSSException
public void delete(int iId)
throws org.opensubsystems.core.error.OSSException
delete in interface org.opensubsystems.core.logic.BasicDataControllerorg.opensubsystems.core.error.OSSException
public org.opensubsystems.core.data.ModifiableDataObject save(org.opensubsystems.core.data.ModifiableDataObject data)
throws org.opensubsystems.core.error.OSSException
save in interface org.opensubsystems.core.logic.ModifiableDataControllerorg.opensubsystems.core.error.OSSExceptionpublic org.opensubsystems.security.data.SecurityDefinition[] getSecurityDefinitions()
getSecurityDefinitions in interface org.opensubsystems.security.logic.SecureController
public void constructor()
throws org.opensubsystems.core.error.OSSException
constructor in interface org.opensubsystems.core.logic.StatelessControllerconstructor in class org.opensubsystems.core.logic.impl.StatelessControllerImplorg.opensubsystems.core.error.OSSException
protected int checkAccess(int iId,
int iAction)
throws org.opensubsystems.core.error.OSSException
iId - - id of data object to checkiAction - - action to check for, one of the ActionConstants.RIGHT_XXX
constants
org.opensubsystems.core.error.OSSException - - an error has occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||