|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILowFunctionalityDAO
Defines the interfaces for all methods needed to insert, modify and deleting a low functionality.
Method Summary | |
---|---|
boolean |
checkUserRootExists(java.lang.String username)
Check user root exists. |
void |
deleteInconsistentRoles(java.util.Set set)
Delete inconsistent roles. |
void |
eraseLowFunctionality(LowFunctionality aLowFunctionality,
it.eng.spago.security.IEngUserProfile profile)
Implements the query to erase a low functionality. |
java.lang.Integer |
existByCode(java.lang.String code)
Control if exist a functionality with the given code. |
boolean |
hasChild(java.lang.Integer id)
Control if the functionality with the given id has childs. |
void |
insertLowFunctionality(LowFunctionality aLowFunctionality,
it.eng.spago.security.IEngUserProfile profile)
Implements the query to insert a low functionality. |
void |
insertUserFunctionality(UserFunctionality userfunct)
Insert user functionality. |
java.util.List |
loadAllLowFunctionalities(boolean recoverBIObjects)
Loads all the functionalities. |
java.util.List |
loadChildFunctionalities(java.lang.Integer parentId,
boolean recoverBIObjects)
Loads all the child functionalities of the given parent functionality. |
LowFunctionality |
loadLowFunctionalityByCode(java.lang.String code,
boolean recoverBIObjects)
Loads all information for a low functionality identified by its code . |
LowFunctionality |
loadLowFunctionalityByID(java.lang.Integer functionalityID,
boolean recoverBIObjects)
Loads all information for a low functionality identified by its functionalityID . |
LowFunctionality |
loadLowFunctionalityByPath(java.lang.String functionalityPath,
boolean recoverBIObjects)
Loads all information for a low functionality identified by its functionalityPath . |
java.util.List |
loadLowFunctionalityList(java.util.List functionalityIDs)
Load low functionality list by id List |
java.util.List |
loadParentFunctionalities(java.lang.Integer functId,
java.lang.Integer rootFolderID)
Load all fathers functionalities to root level. |
LowFunctionality |
loadRootLowFunctionality(boolean recoverBIObjects)
Loads the root functionality. |
java.util.List |
loadSubLowFunctionalities(java.lang.String initialPath,
boolean recoverBIObjects)
Loads all the sub functionalities of the given initial path. |
java.util.List |
loadUserFunctionalities(java.lang.Integer parentId,
boolean recoverBIObjects,
it.eng.spago.security.IEngUserProfile profile)
Loads the user's functionalities. |
void |
modifyLowFunctionality(LowFunctionality aLowFunctionality)
Implements the query to modify a low functionality. |
void |
moveDownLowFunctionality(java.lang.Integer functionalityID)
Moves down the functionality specified by the id at input in the functionalities tree. |
void |
moveUpLowFunctionality(java.lang.Integer functionalityID)
Moves up the functionality specified by the id at input in the functionalities tree. |
Method Detail |
---|
boolean checkUserRootExists(java.lang.String username) throws it.eng.spago.error.EMFUserError
username
- the username
it.eng.spago.error.EMFUserError
- the EMF user errorvoid insertUserFunctionality(UserFunctionality userfunct) throws it.eng.spago.error.EMFUserError
userfunct
- the userfunct
it.eng.spago.error.EMFUserError
- the EMF user errorLowFunctionality loadLowFunctionalityByID(java.lang.Integer functionalityID, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
functionalityID
. All these information, are stored into a
LowFunctionality
object, which is
returned.
functionalityID
- The id for the low functionality to loadrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredLowFunctionality loadLowFunctionalityByCode(java.lang.String code, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
code
. All these information, are stored into a
LowFunctionality
object, which is
returned.
code
- The code for the low functionality to loadrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadLowFunctionalityList(java.util.List functionalityIDs) throws it.eng.spago.error.EMFUserError
functionalityIDs
- the functionality id List
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.analiticalmodel.functionalitytree.dao.ILowFunctionalityDAO#loadLowFunctionalityByID(java.lang.Integer)
LowFunctionality loadLowFunctionalityByPath(java.lang.String functionalityPath, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
functionalityPath
. All these information, are stored into a
LowFunctionality
object, which is
returned.
functionalityPath
- The path for the low functionality to loadrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyLowFunctionality(LowFunctionality aLowFunctionality) throws it.eng.spago.error.EMFUserError
LowFunctionality
object.
aLowFunctionality
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
LowFunctionality
object.
aLowFunctionality
- The object containing all insert informationprofile
- the profile
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
LowFunctionality
object.
aLowFunctionality
- The object containing all erase informationprofile
- the profile
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.lang.Integer existByCode(java.lang.String code) throws it.eng.spago.error.EMFUserError
code
- The code of the functionality
it.eng.spago.error.EMFUserError
- the EMF user errorboolean hasChild(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
- Integer id of the functionality
it.eng.spago.error.EMFUserError
- the EMF user errorvoid deleteInconsistentRoles(java.util.Set set) throws it.eng.spago.error.EMFUserError
set
- the set
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadAllLowFunctionalities(boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
recoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadSubLowFunctionalities(java.lang.String initialPath, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
initialPath
- The String representing the initial pathrecoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadChildFunctionalities(java.lang.Integer parentId, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
parentId
- The Integer representing the parent idrecoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
- the EMF user errorLowFunctionality loadRootLowFunctionality(boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
recoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
- the EMF user errorvoid moveUpLowFunctionality(java.lang.Integer functionalityID) throws it.eng.spago.error.EMFUserError
functionalityID
- the functionality id
it.eng.spago.error.EMFUserError
- the EMF user errorvoid moveDownLowFunctionality(java.lang.Integer functionalityID) throws it.eng.spago.error.EMFUserError
functionalityID
- the functionality id
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadUserFunctionalities(java.lang.Integer parentId, boolean recoverBIObjects, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
onlyFirstLevel
- If true returns only first level functionalities, if else allrecoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objectsprofile
- the user profile
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadParentFunctionalities(java.lang.Integer functId, java.lang.Integer rootFolderID) throws it.eng.spago.error.EMFUserError
functId
- the identifier of functionality child
it.eng.spago.error.EMFUserError
- the EMF user error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |