public interface EntityReferenceLocator extends Remote
getEntityReference(String) has not parameters to identify
the user to avoid that all application components need to know this values.SecureEntityReferenceLocator| Modifier and Type | Method and Description |
|---|---|
void |
endSession(int id)
This method finishes a client session.
|
Entity |
getEntityReference(String entityName)
This method gets an entity reference.
|
int |
getSessionId()
Method to know the client session identifier.
|
int |
startSession(String user,
String password,
ClientWatch client)
Method to start a client session.
|
int startSession(String user, String password, ClientWatch client) throws Exception
user - User namepassword - User passwordclient - Object to checks if this session is openExceptionEntity getEntityReference(String entityName) throws Exception
entityName - Entity nameExceptionint getSessionId()
throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.