public void setInsertBeforeListener(
            final InsertBeforeListener insertBeforeListener,
            final Object accessObject) {

        if (accessObject == null || !(SecurityClassConstants.BROWSER_PAGE
                .equals(accessObject.getClass().getName()))) {
            throw new WffSecurityException(
                    "Not allowed to consume this method. This method is for internal use.");
        }

        this.insertBeforeListener = insertBeforeListener;
    }
public void setInsertBeforeListener(
            final InsertBeforeListener insertBeforeListener,
            final Object accessObject) {

        if (accessObject == null || !(SecurityClassConstants.BROWSER_PAGE
                .equals(accessObject.getClass().getName()))) {
            throw new WffSecurityException(
                    "Not allowed to consume this method. This method is for internal use.");
        }

        this.insertBeforeListener = insertBeforeListener;
    }
public void setInsertBeforeListener ( final InsertBeforeListener insertBeforeListener , final Object accessObject ) { if ( accessObject == null || ! ( SecurityClassConstants . BROWSER_PAGE . equals ( accessObject . getClass ( ) . getName ( ) ) ) ) { throw new WffSecurityException ( "Not allowed to consume this method. This method is for internal use." ) ; } this . insertBeforeListener = insertBeforeListener ; }
NB:- This method is for only for internal use

@param insertBeforeListener
the insertBeforeListener to set
@since 2.1.1
NB : - This method is for only for internal use