Class RelationshipController

  • All Implemented Interfaces:
    de.uplanet.lucy.server.relationship.IRelationshipController

    @Scriptable
    public final class RelationshipController
    extends Object
    implements de.uplanet.lucy.server.relationship.IRelationshipController
    • Constructor Detail

      • RelationshipController

        public RelationshipController()
      • RelationshipController

        public RelationshipController​(de.uplanet.lucy.server.relationship.IRelationshipEngine p_engine,
                                      de.uplanet.lucy.server.relationship.IRelationshipBusinessLogicFacade p_facade,
                                      de.uplanet.lucy.server.relationship.view.IRelationshipIconFactory p_iconFactory,
                                      de.uplanet.lucy.server.relationship.view.IRelationshipLinkFactory p_linkFactory,
                                      de.uplanet.lucy.server.relationship.view.IRelationshipButtonFactory p_buttonFactory)
    • Method Detail

      • getRelationshipNodeItem

        public de.uplanet.lucy.server.relationship.view.IRelationshipNodeItem getRelationshipNodeItem​(IBusinessLogicProcessingContext p_ctx,
                                                                                                      String p_strModelGuid,
                                                                                                      String p_strNodeGuid,
                                                                                                      String p_strRecId)
                                                                                               throws de.uplanet.lucy.server.relationship.RelationshipException
        Specified by:
        getRelationshipNodeItem in interface de.uplanet.lucy.server.relationship.IRelationshipController
        Throws:
        de.uplanet.lucy.server.relationship.RelationshipException
      • getRelationshipNodeItem

        public de.uplanet.lucy.server.relationship.view.IRelationshipNodeItem getRelationshipNodeItem​(IBusinessLogicProcessingContext p_ctx,
                                                                                                      String p_strModelGuid,
                                                                                                      String p_strNodeGuid,
                                                                                                      String p_strRecId,
                                                                                                      boolean p_bPrefetchRecords)
                                                                                               throws de.uplanet.lucy.server.relationship.RelationshipException
        Specified by:
        getRelationshipNodeItem in interface de.uplanet.lucy.server.relationship.IRelationshipController
        Throws:
        de.uplanet.lucy.server.relationship.RelationshipException
      • getParentRelationshipNodeItem

        public de.uplanet.lucy.server.relationship.view.IRelationshipNodeItem getParentRelationshipNodeItem​(IBusinessLogicProcessingContext p_ctx,
                                                                                                            String p_strModelGuid,
                                                                                                            String p_strNodeGuid,
                                                                                                            String p_strRecId)
                                                                                                     throws de.uplanet.lucy.server.relationship.RelationshipException
        Specified by:
        getParentRelationshipNodeItem in interface de.uplanet.lucy.server.relationship.IRelationshipController
        Throws:
        de.uplanet.lucy.server.relationship.RelationshipException
      • getRelationshipRecords

        public List<de.uplanet.lucy.server.relationship.view.IRelationshipRecordItem> getRelationshipRecords​(IBusinessLogicProcessingContext p_ctx,
                                                                                                             String p_strModelGuid,
                                                                                                             String p_strSourceNodeGuid,
                                                                                                             String p_strSourceRecId,
                                                                                                             String p_strTargetNodeGuid)
                                                                                                      throws de.uplanet.lucy.server.relationship.RelationshipException
        Specified by:
        getRelationshipRecords in interface de.uplanet.lucy.server.relationship.IRelationshipController
        Throws:
        de.uplanet.lucy.server.relationship.RelationshipException
      • getRelationshipRecords

        public List<de.uplanet.lucy.server.relationship.view.IRelationshipRecordItem> getRelationshipRecords​(IBusinessLogicProcessingContext p_ctx,
                                                                                                             String p_strModelGuid,
                                                                                                             String p_strSourceNodeGuid,
                                                                                                             String p_strSourceRecId,
                                                                                                             String p_strTargetNodeGuid,
                                                                                                             int p_iMaxRecordCount)
                                                                                                      throws de.uplanet.lucy.server.relationship.RelationshipException
        Specified by:
        getRelationshipRecords in interface de.uplanet.lucy.server.relationship.IRelationshipController
        Throws:
        de.uplanet.lucy.server.relationship.RelationshipException