public int getFlags() {

        int flags = 0;
        if (isNologin()) {
            flags += CmsOrganizationalUnit.FLAG_HIDE_LOGIN;
        }
        if (isWebusers()) {
            flags += CmsOrganizationalUnit.FLAG_WEBUSERS;
        }
        return flags;
    }
public int getFlags ( ) { int flags = 0 ; if ( isNologin ( ) ) { flags += CmsOrganizationalUnit . FLAG_HIDE_LOGIN ; } if ( isWebusers ( ) ) { flags += CmsOrganizationalUnit . FLAG_WEBUSERS ; } return flags ; }
Returns the flag value depending on the boolean flag set.<p>

@return  the flag value