|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.sdk.AbstractSDKService
public class AbstractSDKService
Constructor Summary | |
---|---|
AbstractSDKService()
|
Method Summary | |
---|---|
protected void |
checkUserPermissionForFunctionality(java.lang.String userFunctionality,
java.lang.String errorMessage)
Retrieves user profile and check if he has rights for the functionality in input. |
protected it.eng.spago.security.IEngUserProfile |
getUserProfile()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSDKService()
Method Detail |
---|
protected it.eng.spago.security.IEngUserProfile getUserProfile() throws java.lang.Exception
java.lang.Exception
protected void checkUserPermissionForFunctionality(java.lang.String userFunctionality, java.lang.String errorMessage) throws it.eng.spagobi.sdk.exceptions.NotAllowedOperationException, java.lang.Exception
NotAllowedOperationException
with the error message in input is thrown.
userFunctionality
- The user functionalityerrorMessage
- The error message to be used in case a NotAllowedOperationException
must be thrown
it.eng.spagobi.sdk.exceptions.NotAllowedOperationException
- In case the user has no rights for the specified user functionality
java.lang.Exception
- is case of any other error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |